Commit Graph

9779 Commits

Author SHA1 Message Date
sobolevn
04ed1db155 Bump braintree to 4.31.* (#12934) 2024-11-01 22:19:38 -07:00
github-actions[bot]
80b9bcfb43 [stubsabot] Bump flake8-bugbear to 24.10.31 (#12938)
Release: https://pypi.org/pypi/flake8-bugbear/24.10.31
Homepage: https://github.com/PyCQA/flake8-bugbear
Repository: https://github.com/PyCQA/flake8-bugbear
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/24.8.19...24.10.31

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/b041.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 103.
 - Total lines of Python code deleted: 9.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-11-01 21:44:16 -07:00
Danny Yang
7786587c88 Fix type annotations for google-cloud-ndb (#12943) 2024-11-01 21:43:18 -07:00
Vincent Meurisse
898cb55af3 Update type for psutil.cpu_count (#12941)
The function can return None:
567438cd3e/psutil/__init__.py (L1665-L1667)
2024-11-01 07:50:03 -07:00
Brian Schubert
d262beb075 Fix callback parameter type in ssl.SSLContext.set_psk_server_callback (#12932) 2024-10-31 08:04:55 -07:00
renovate[bot]
355abb197e Update dependency pyright to v1.1.387 (#12929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 08:15:38 +00:00
Stephen Morton
6029bf1819 inheritance for zipimporter (#12920) 2024-10-29 19:47:56 +01:00
Alex Waygood
01e7e80bc7 Add types.ModuleType.__doc__ (#12918) 2024-10-29 07:09:47 -07:00
Sebastian Rittau
7838ab5f98 [waitress] Update to 3.0.1 (#12917) 2024-10-29 10:15:01 +00:00
Stephen Morton
0301510114 Naming and inheritance for importlib (#12775)
This MR breaks out _frozen_importlib_external (which is the same
thing as importlib._bootstrap_external) and _frozen_importlib
(which is the same thing as importlib._bootstrap).
2024-10-29 11:09:00 +01:00
github-actions[bot]
53ee9191c2 [stubsabot] Bump croniter to 4.0.0 (#12914) 2024-10-29 09:01:47 +01:00
Avasam
335cc91b70 Bump tensorflow to ~=2.18.0 (#12916)
* Tensorflow proto script update

* Manual stubtest changes

* Use Path for arg type
2024-10-28 20:32:31 -07:00
Avasam
e92f98ccda Add win32com.gen_py (#12901) 2024-10-28 11:50:31 +01:00
Avasam
bff5547abc Use lib/ts_utils for scripts/sync_protobuf (#12913)
- Simplified `download_file` error handling (400+ return codes already raised errors!)
- Moved `update_metadata` from `scripts/sync_protobuf/_utils.py` to `lib/ts_utils/metadata.py`
- Improved `update_metadata` to support any key (values unvalidated atm) and return the modified dictionary
- Updated `scripts/stubsabot.py` to use `update_metadata`
- Updated `scripts/sync_protobuf/*` to use  `lib/ts_utils`
- Updated `scripts/sync_protobuf/tensorflow.py` and `scripts/sync_protobuf/google_protobuf.py` to use the version directly from the `METADATA.toml` file
2024-10-28 11:47:52 +01:00
Avasam
c225ac7587 Bump pyinstaller to 6.11.* (#12911) 2024-10-27 22:03:17 +01:00
Sam Bull
601ce5a4b0 OSError.errno can be None (#12910) 2024-10-27 20:51:23 +00:00
Ekin Dursun
61ba4de28f Change return type of as_completed in Python 3.13 (#12912) 2024-10-27 16:33:35 +00:00
Sebastian Rittau
ec1c327679 [croniter] Update to 3.0.4 (#12909) 2024-10-26 23:10:35 +02:00
Brian Schubert
efccd7455a hashlib: fix sha3 and shake hash constructors, remove hash object __init__s (#12906) 2024-10-25 07:14:40 -07:00
Tamir Duberstein
fc8bff1b26 Add os.process_cpu_count() for 3.13 (#12905) 2024-10-25 06:51:38 -07:00
renovate[bot]
b954cd705c Update most test/lint dependencies (#12903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-25 10:51:41 +01:00
Sebastian Rittau
701cd065b8 [CI] Switch to macos-latest (#12897)
macos-12 is deprecated and will be removed:
https://github.com/actions/runner-images/issues/10721
2024-10-24 11:00:11 -07:00
Randolf Scholz
10183237c7 Make all params positional-only in slice.__new__ (#12900)
positional only __new__
2024-10-24 18:02:33 +01:00
Thanos
65405e9ef2 Make slice generic (#11637) 2024-10-24 17:40:29 +02:00
Alex Waygood
9ed47fa8ec Fix linting issues (#12898)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-24 14:26:37 +01:00
AlbertXingZhang
783171b9f7 correct memoryview __setitem__ method signature (#12876) 2024-10-24 12:09:38 +02:00
David Salvisberg
f27d40fee7 WTForms: Form errors no longer use None as a special key (#12877)
This also fixes incorrect `error` attributes on `FieldList`/`FormField`
2024-10-24 11:46:59 +02:00
Avasam
df499768cb setuptools & distutils: Add more recent MSVCCompiler from _msvccompiler (#12887) 2024-10-24 11:44:55 +02:00
Avasam
fc1e51f76b Allow pywin32 to use pywin.mfc.DocTemplate in lieu of PyCDocTemplate (#12888) 2024-10-24 11:40:24 +02:00
Avasam
78e4e036c4 Add install_data in distutils-stubs from setuptools (#12889) 2024-10-24 11:39:08 +02:00
Brian Schubert
27a8967896 Add missing parameter to email.policy.EmailPolicy.__init__ (#12890) 2024-10-24 11:35:26 +02:00
renovate[bot]
c417573eb6 Update dependency pyright to v1.1.386 (#12891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 05:48:09 +01:00
Brian Schubert
27325a255e Add email.policy.EmailPolicy.clone (#12879) 2024-10-23 07:17:13 -07:00
Stephen Morton
494e832a74 fix up blake2b/blake2s classes (#12878) 2024-10-23 07:14:37 -07:00
Stephen Morton
c64f9d065b unnecessary inheritance from ad-hoc protocol (#12882) 2024-10-23 07:11:51 -07:00
Stephen Morton
d5fff13c9b add contextlib._GeneratorContextManagerBase (#12885)
Actually putting methods on it may be currently infeasible, but
I don't see why it shouldn't exist at all.
2024-10-23 07:11:06 -07:00
Stephen Morton
4c38695dfd fix inheritance for _interpreters.NotShareableError (#12880)
related to https://github.com/python/typeshed/issues/3968
2024-10-23 06:58:46 -07:00
Stephen Morton
d7aa851552 correct inheritance of io.BufferedRandom (#12883) 2024-10-23 06:52:22 -07:00
Stephen Morton
0d95bad46a correct inheritance for io.StringIO (#12884) 2024-10-23 06:48:30 -07:00
David Salvisberg
ca65e087f1 WTForms: Fix incorrect Form constructor return type for pyright (#12875) 2024-10-22 14:38:30 +01:00
Jelle Zijlstra
17794ccb5d netifaces: apply stright pyright settings (#12874)
Fixes AlexWaygood/typeshed-stats#274.
2024-10-22 06:09:30 -07:00
Stephen Morton
7417c373ab Remove false inheritance from io.IncrementalNewlineDecoder (#12871) 2024-10-22 11:07:44 +02:00
Stephen Morton
e74d9cf9c7 remove unneeded use of AbstractContextManager from multiprocessing.synchronize (#12872) 2024-10-22 10:20:15 +02:00
Stephen Morton
e8c2e5bb20 remove redundant inheritance from Iterator for typing.IO (#12870) 2024-10-22 01:29:03 +01:00
Stephen Morton
b62579b0d2 swap inheritance order for typing.Sequence (#12869)
This matches the order at runtime.
2024-10-21 22:37:02 +01:00
sobolevn
8b32739f13 Bump psutil to 6.1.* (#12868) 2024-10-21 17:22:44 +01:00
Delgan
0d7c6dab40 Add stubs for "netifaces" package (#12854) 2024-10-21 14:47:23 +02:00
David Salvisberg
841a037c3f Bump WTForms to ~= 3.2.1 (#12867) 2024-10-21 14:43:22 +02:00
Stephen Morton
925b3a3713 Remove redundant inheritances from Iterator in builtins (#12851) 2024-10-21 14:40:07 +02:00
Aaron Z.
3a48a1298f Fix warnings.filters type (#12866)
Fixes #12828
2024-10-21 05:11:22 -07:00