Commit Graph

9920 Commits

Author SHA1 Message Date
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
Christoph Tyralla
8d02c2a6df Use @deprecated for those visit methods of class NodeVisitor that deal with classes that have already been marked with @deprecated and add type: ignore[deprecated] comments. (#12864) 2024-10-21 13:44:57 +02:00
Sebastian Rittau
b0ac25e7bd Use compatible version marker for icalendar (#12831) 2024-10-21 04:36:05 -07:00
Sebastian Rittau
c020ccc821 Print gdb version to ease debugging (#12836) 2024-10-21 04:35:55 -07:00
Sebastian Rittau
a6fb689ff1 Update third-party removal policy (#12858) 2024-10-21 13:10:27 +02:00
David Salvisberg
38fbbe71d4 Bump WTForms to 3.2.* (#12865)
Add missing `__all__` declarations
2024-10-21 12:50:41 +02:00
Peter Bierma
b208235219 Add deprecation annotation for zipimport.zipimporter.load_module (#12862) 2024-10-20 18:59:00 -07:00
Sebastian Rittau
b0d57cc03c Remove boto stubs (#12856)
Closes: #12848
2024-10-19 18:07:28 +02:00
Sebastian Rittau
a22e35814e [boto] Set the no_longer_updated flag (#12860) 2024-10-19 17:56:05 +02:00
Sebastian Rittau
d1c1675b20 Remove playsound stubs (#12857)
Closes: #12856
2024-10-19 17:52:54 +02:00