Skip to content

Add SetProxy and support for set operations in multiprocessing.managers for Python 3.14 #14076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 388 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
388 commits
Select commit Hold shift + click to select a range
6507c71
Improve `cffi` (#13710)
donBarbos Mar 25, 2025
93e9674
Improve `passlib.win32` (#13711)
donBarbos Mar 25, 2025
1b5eff2
Add stubs for `xlrd` (#13676)
donBarbos Mar 25, 2025
1eac334
Improve `ujson` (#13700)
donBarbos Mar 25, 2025
cb5d095
Improve stubs for `commonmark` (#13681)
donBarbos Mar 25, 2025
d29ccf9
[stubsabot] Bump pytz to 2025.2 (#13720)
github-actions[bot] Mar 26, 2025
2d3d1c8
Update pip install calls in scripts to use uv. And messages to refere…
Avasam Mar 27, 2025
20d4d4a
Restore JACK-Client macOS stubtest (#13721)
Avasam Mar 27, 2025
2e9900d
[setuptools] Update to 77.0.2 (#13685)
srittau Mar 27, 2025
01849f1
Complete stubs for `commonmark` (#13724)
donBarbos Mar 27, 2025
677c385
Sample text for closing future stdlib PRs (#13697)
srittau Mar 27, 2025
a891602
[requests] Remove Session.redirect_cache (#13723)
srittau Mar 27, 2025
0cf57a4
Update dependency pyright to v1.1.398 (#13722)
renovate[bot] Mar 27, 2025
134e49c
Make importlib context manager not swallow exceptions (#13733)
ndmitchell Mar 28, 2025
f68d0ca
Mark commonmark as no_longer_updated (#13726)
Avasam Mar 28, 2025
367133e
Enable Ruff flake8-builtins (A) (#13729)
Avasam Mar 28, 2025
f19314b
Update setuptools to 78.1.0 (#13734)
srittau Mar 28, 2025
18049a3
icalendar: update (#13737)
hauntsaninja Mar 29, 2025
007b84d
Remove stub commonmark (#13736)
Avasam Mar 29, 2025
6b64b0d
[stubsabot] Bump flake8 to 7.2.* (#13743)
github-actions[bot] Mar 30, 2025
7b32b3c
[pyflakes] Update to 3.3.* (#13745)
srittau Mar 31, 2025
68c7405
Complete stubs for `pep8-naming` (#13741)
donBarbos Mar 31, 2025
c37dc16
Improve `pika` (#13739)
donBarbos Mar 31, 2025
be40ca6
Improve `oauthlib.common` (#13744)
donBarbos Mar 31, 2025
626ba97
Add `__all__` part 2 (#13719)
donBarbos Mar 31, 2025
bbdc744
[JACK-Client] All METADATA_ constants are sometimes available on Linu…
srittau Apr 1, 2025
d0bf66b
[pyflakes] Update to 3.3.2 (#13756)
brianschubert Apr 1, 2025
2866019
Removed stubs: influxdb-client (April 2025) (#13718)
Daksh2000 Apr 1, 2025
50eee67
Disable Python version updates for `actions/setup-python` from Renova…
AlexWaygood Apr 1, 2025
60a9cdf
Enable Ruff flake8-use-pathlib (PTH) (autofix only) (#13750)
Avasam Apr 1, 2025
0724d8d
Enable Ruff PLW (Pylint Warning) (#13749)
Avasam Apr 1, 2025
529ea23
Bump ruff to 0.11.2 (#13757)
Avasam Apr 1, 2025
bb7999c
Update most test/lint dependencies (#13754)
renovate[bot] Apr 1, 2025
7e1ba83
Update dependency aiohttp to v3.11.15 (#13759)
renovate[bot] Apr 1, 2025
a517079
Enable Ruff flake8-pie (PIE) (#13747)
Avasam Apr 2, 2025
6968a8d
Enable Ruff groups we already pass (#13751)
Avasam Apr 2, 2025
e40cab5
Drop Python 3.8 support in `ast` (#13766)
jorenham Apr 2, 2025
7a0516c
Drop Python 3.8 support in `os` and `sys` (#13764)
jorenham Apr 2, 2025
bd661bf
Drop Python 3.8 support in `typing[_extensions]` and `types` (#13763)
jorenham Apr 2, 2025
57c3966
Drop Python 3.8 support in `builtins` (#13762)
jorenham Apr 2, 2025
f0cd73f
Remove dummy threading modules (#13771)
srittau Apr 2, 2025
595b113
Remove Python 3.8 exclusive branches (#13772)
srittau Apr 2, 2025
731dd8a
`property.__get__`: overload to model class-access behavior (#13769)
sharkdp Apr 2, 2025
7026564
Remove Python 3.8 exclusive branches from _asyncio, _blake2, _codecs,…
brianschubert Apr 2, 2025
a7f425e
Drop Python 3.8 support in typeshed utilities (#13774)
brianschubert Apr 2, 2025
6b61b61
Make `code.InteractiveInterpreter#locals` a dict not a mapping (#13775)
A5rocks Apr 2, 2025
b5fe0f1
Improve stubs for `oauthlib.oauth2.rfc6749` (#13752)
donBarbos Apr 2, 2025
7d9e900
Add stub for `sys._is_interned` (#13778)
ZeroIntensity Apr 2, 2025
87d7e2c
[auth0-python] Add auth0-python stubs (#13716)
David-Gilman Apr 3, 2025
89379b1
Enable Ruff flake8-todos (TD) (#13748)
Avasam Apr 3, 2025
f68b950
[stubsabot] Bump qrcode to 8.1.* (#13779)
github-actions[bot] Apr 3, 2025
8f6ad3c
[stubsabot] Bump zstd to 1.5.6.7 (#13780)
github-actions[bot] Apr 3, 2025
2018175
Exact return types instead of shutil._PathReturn (#13767)
Avasam Apr 3, 2025
1b0dd6d
Drop Python 3.8 branches (#13776)
srittau Apr 3, 2025
df443ae
Migrate renovate config (#13784)
srittau Apr 3, 2025
78ce8fd
Remove more Python 3.8 cruft (#13787)
AlexWaygood Apr 3, 2025
9db363d
remove outdated comment from `types.pyi` (#13788)
AlexWaygood Apr 3, 2025
acbef35
Try to disable Python in github-actions (#13789)
srittau Apr 3, 2025
c4f2951
renovate: Try disabling Python updates (try #3) (#13790)
srittau Apr 3, 2025
ead803a
Mark internal stuff in allowlist for `assertpy` (#13802)
donBarbos Apr 6, 2025
3f90fd6
Use `GitIgnoreSpec` in `ts_utils.get_gitignore_spec` (#13797)
Avasam Apr 7, 2025
90d926d
Improve `dateparser` (#13796)
donBarbos Apr 7, 2025
2b4b606
Improve `oauthlib` (#13794)
donBarbos Apr 7, 2025
db1663f
Improve `oauthlib.oauth2.rfc6749` (#13793)
donBarbos Apr 7, 2025
f7c903b
Make the type-parameter of `ctypes.py_object` optional (#13760)
jorenham Apr 7, 2025
fc0d904
`_type_` class attributes in `ctypes`, and fix `ctypes.wintypes.BYTE`…
jorenham Apr 7, 2025
c6e6323
Improve `passlib.utils` (#13798)
donBarbos Apr 7, 2025
89ec61c
Improve `Authlib` (#13801)
donBarbos Apr 7, 2025
72af966
[pre-commit.ci] pre-commit autoupdate (#13805)
pre-commit-ci[bot] Apr 7, 2025
ba2552e
Fix stdlib stubtest for latest Python patch releases (#13812)
brianschubert Apr 10, 2025
cddf6f2
Update croniter to 6.0.0 (#13548)
srittau Apr 11, 2025
7a5953f
Update dependency pyright to v1.1.399 (#13813)
renovate[bot] Apr 11, 2025
907f288
Fix incorrect keyword-only arguments in tarfile.open() (#13814)
edwardpeek-crown-public Apr 11, 2025
78ad3b2
Complete stubs for `click-web` (#13806)
donBarbos Apr 11, 2025
e59461c
[stubsabot] Bump Markdown to 3.8.* (#13819)
github-actions[bot] Apr 12, 2025
e68c80e
Fix typing of Pickler.persistent_id and Unpickler.persistent_load for…
Holt59 Apr 12, 2025
7eed9d1
Import names from typing directly rather than importing module (#13761)
Avasam Apr 12, 2025
828f4dc
jwcrypto: type most of the rest of `JWT` and `JWKSet.generate` functi…
jkrejcha Apr 12, 2025
d3197ed
Bump auth0-python to 4.9.* (#13803)
donBarbos Apr 12, 2025
a1312d7
Mark `Flask-Cors` as complete (#13820)
donBarbos Apr 12, 2025
f8fe77f
Complete `flake8-builtins` (#13824)
donBarbos Apr 14, 2025
cd2edb2
Annotate `markdown.util.get_installed_extensions` (#13822)
donBarbos Apr 14, 2025
b8e1b5d
Simplify and fix `urllib.parse.urlencode()` (#13815)
srittau Apr 14, 2025
3f22a63
Deprecate `ssl` methods for NPN (#13823)
donBarbos Apr 14, 2025
abc3e5c
Improve `flake8-bugbear` (#13829)
donBarbos Apr 15, 2025
8b359d1
Improve `docker.utils` (#13808)
donBarbos Apr 15, 2025
debbe47
auth0-python: Cleanup re-exports leftovers from stubgen (#13828)
Avasam Apr 15, 2025
aee949e
auth0-python solve stubtest_allowlist entries (#13827)
Avasam Apr 15, 2025
02470aa
Document visit method return type (#13831)
srittau Apr 15, 2025
0411f5c
Update authlib to 1.5.* (#13540)
srittau Apr 15, 2025
d314de7
[stubsabot] Bump greenlet to 3.2.* (#13836)
github-actions[bot] Apr 16, 2025
d9d546c
[tqdm] Add return type to tqdm.asyncio.gather (#13839)
CatBraaain Apr 16, 2025
013f215
Add all classes in `stubs/pyinstaller/PyInstaller/utils/win32/version…
Avasam Apr 16, 2025
0abf848
Remove obsolete type alias _CursesWindow (#13841)
srittau Apr 16, 2025
35932d9
Remove obsolete mentions of Python 3.8 (#13842)
srittau Apr 16, 2025
70e4e3f
Bump pyinstaller to 6.13.* (#13843)
donBarbos Apr 17, 2025
ed33475
Bump shapely to 2.1.* (#13847)
donBarbos Apr 17, 2025
4d3a178
`stdlib/unittest/mock.pyi`: Improve `_Call` types (#13845)
noelleleigh Apr 18, 2025
7c57274
[stubsabot] Bump setuptools to 79.0.* (#13860)
github-actions[bot] Apr 21, 2025
e318a98
Properly mark deprecated methods in threading (#13861)
Avasam Apr 22, 2025
33019f8
[stubsabot] Bump mypy-extensions to 1.1.* (#13868)
github-actions[bot] Apr 23, 2025
72934ae
Deprecate several things in `mypy_extensions` (#13874)
sobolevn Apr 23, 2025
91c31b9
Complete `flake8-docstrings` (#13872)
donBarbos Apr 24, 2025
8823039
Update `mypy_extensions` deprecation messages (#13876)
sobolevn Apr 24, 2025
2fc76d8
Mark `flake8-rst-docstrings` as complete (#13867)
donBarbos Apr 24, 2025
9e4b8d9
Mark some `importlib` interfaces as deprecated (#13866)
donBarbos Apr 24, 2025
03cfb9f
Deprecate undocumented `pydoc.ispackage` (#13865)
donBarbos Apr 24, 2025
e29feb1
[PyScreeze] Fix locateCenterOnScreen optional arguments (#13852)
brasswood Apr 24, 2025
9f7afa0
[tensorflow] Fix literal value for `pad` function (#13877)
julencw Apr 24, 2025
e29a37d
Expand args and kwargs for `click_default_group` methods (#13873)
donBarbos Apr 24, 2025
348f41c
[auth0-python] Add async functions to AsyncAuth0 (#13799)
David-Gilman Apr 24, 2025
9470e7a
Update dependency pyright to v1.1.400 (#13882)
renovate[bot] Apr 25, 2025
91791ce
Complete `ttkthemes` (#13858)
donBarbos Apr 25, 2025
6a04a32
pywin32: Fix various arguments (#13846)
Avasam Apr 25, 2025
0f2bf2c
Import gRPC stubs from the grpc-stubs project (#11204)
shabbyrobe Apr 25, 2025
58a2d06
Add missing `_optimize` parameter to `importlib.machinery.SourceFileL…
Sachaa-Thanasius Apr 25, 2025
da855b3
[fpdf2] Update to 2.8.3 (#13871)
srittau Apr 25, 2025
5c3634f
Fix generics in NetworkX (#13864)
thomas-whaley-poco Apr 25, 2025
9d5f6cb
Improve `braintree` (#13862)
donBarbos Apr 25, 2025
dfcf748
Fix return type of win32wnet.WNetOpenEnum (#13890)
petamas Apr 27, 2025
f82441d
Make AsyncExitStack generic on `__aexit__` (#13888)
provinzkraut Apr 27, 2025
d8fc16a
Add None to SubsegmentContextManager.__enter__ return type (#13892)
tmlnv Apr 27, 2025
c6d7b74
Remove Any in `stubs/grpcio/grpc_status/rpc_status.pyi` (#13895)
Avasam Apr 28, 2025
197ea4a
Apply mypy-tests custom config to other mypy-based tests (#13825)
Avasam Apr 28, 2025
17ab6fd
Bump setuptools to 80.0.* (#13898)
donBarbos Apr 28, 2025
87369e6
Improve `pywin32.isapi` (#13889)
donBarbos Apr 28, 2025
9d9b19a
Deprecate `TarInfo.tarfile` attribute (#13894)
donBarbos Apr 28, 2025
97718d0
Fix base class compatibility for IntFlag in Python 3.11+ to resolve i…
vidhyavijayan3 Apr 28, 2025
7192c1e
Mark ExifRead as obsolete (#13899)
srittau Apr 28, 2025
1420e50
[hvac] Clarify and improve some annotations (#13886)
donBarbos Apr 28, 2025
317922b
Bump reportlab to 4.4.* (#13857)
donBarbos Apr 28, 2025
8f6c00d
Complete `pyflakes` (#13848)
donBarbos Apr 28, 2025
3346d2a
Rename "Preparing Changes" to "Making Changes" (#13901)
srittau Apr 28, 2025
c65424d
Add argument to `TarInfo.tarfile` setter (#13904)
donBarbos Apr 29, 2025
1af8025
[stubsabot] Bump peewee to 3.18.0 (#13907)
github-actions[bot] Apr 30, 2025
85eb49c
Bump pep8-naming to 0.15.* (#13908)
donBarbos Apr 30, 2025
d0f1f7a
Add ratelimit stubs (#13909)
Tatsh Apr 30, 2025
539eb3c
Correct type of `kwargs` in `assertpy.exception.ExceptionMixin.when_c…
allanlewis May 1, 2025
72a1f21
Improve `docker.types` (#13809)
donBarbos May 2, 2025
f8bd9b1
Bump setuptools to 80.1.* (#13915)
donBarbos May 2, 2025
92d3c76
Mention rerunning sync_protobuf scripts (#13924)
Avasam May 3, 2025
c582c15
Bump protobuf to ~=6.30.2 (#13922)
donBarbos May 3, 2025
473c2f0
Re-export `ast.Match` and `ast.TypeAlias` from `_ast.pyi` (#13926)
hunterhogan May 3, 2025
cbc0f4e
Bump setuptools to 80.3.* (#13938)
donBarbos May 5, 2025
f890e83
`pytype_test`: support either slashes in path params (#13943)
Avasam May 5, 2025
06f5b18
stubtest-complete grpcio plugins (#13932)
Avasam May 5, 2025
00456d6
Run Black on *_pb2 files (#13930)
Avasam May 5, 2025
6567e0a
Openpyxl: type cell values (#13929)
Avasam May 5, 2025
795f351
grpc `_CallIterator` is an iterator (#13925)
macro1 May 5, 2025
77a16a8
[stubsabot] Bump zstd to 1.5.6.8 (#13917)
github-actions[bot] May 5, 2025
dabb1f1
Bump qrcode to 8.2.* (#13918)
donBarbos May 5, 2025
d4e7872
Bump braintree to 4.35.* (#13914)
donBarbos May 5, 2025
864c535
Run Black after grpcio merge (#13944)
Avasam May 5, 2025
e0de065
Extract grpcio plugins (#13896)
Avasam May 5, 2025
3ba8907
Clean up and fix email message types (#13532)
srittau May 5, 2025
74028d7
Enable Ruff flake8-use-pathlib (PTH) (#13795)
Avasam May 5, 2025
d0bef33
[stubsabot] Bump zstd to 1.5.7.0 (#13946)
github-actions[bot] May 6, 2025
0cceffc
Add binaryornot stubs (#13920)
Tatsh May 6, 2025
04b8018
networkx: Most nodelist params are collections (#13945)
Avasam May 6, 2025
74eff3a
networkx: add all missing `__all__` (#13956)
Avasam May 9, 2025
22f5114
remove _Identifier: typing_extensions.TypeAlias = str (#13954) (#13964)
hunterhogan May 9, 2025
123505a
click-spinner: Replace `Any` return type (#13970)
donBarbos May 9, 2025
cd23446
[CI] Install apt dependencies when running "pyright: Run test cases" …
srittau May 9, 2025
5beda81
[geopandas] Fix CI tests in some circumstances (#13978)
srittau May 9, 2025
6aec7c1
[CI] Fix "mypy: Check stubs" when using specific Python version (#13975)
srittau May 9, 2025
2bb48b4
Fix errors when type checking stdlib with Python 3.14 (#13977)
srittau May 9, 2025
80a118d
[CI] Install apt dependencies when running "mypy: Check stubs" (#13979)
srittau May 9, 2025
571167c
[stubsabot] Bump setuptools to 80.4.* (#13980)
github-actions[bot] May 10, 2025
29fe2af
Support Python 3.14 (#13957)
srittau May 10, 2025
23ca5fc
Bump `getpass` to 3.14 (#13967)
donBarbos May 10, 2025
ad70ad1
Use literal constant for `QuotingType` in `csv` Module (#13983)
max-muoto May 10, 2025
b5520cd
Python 3.14: Remove `SupportsTrunc` from `ConvertibleToInt` (#13986)
Avasam May 10, 2025
a748cce
Add `strict` argument for `map` (3.14) (#13987)
max-muoto May 10, 2025
4371332
Add `invalidate_caches` for 3.14 (#13988)
max-muoto May 10, 2025
b9a4bdc
Update `uuid` for 3.14, other minor improvements (#13990)
max-muoto May 10, 2025
bbedbe7
Add strptime for `datetime.time` and `datetime.date` (3.14) (#13991)
max-muoto May 10, 2025
4033899
Fix tkinter.PhotoImage.put arguments (#13971)
VelikiiNehochuha May 10, 2025
f6a6ca2
Update `ast.main` function for Python 3.14 (#13982)
donBarbos May 10, 2025
14a99c8
Delete duplicate lines from stdlib/@tests/stubtest_allowlists/py314.t…
Akuli May 10, 2025
b9b0369
Update `ProcessPoolExecutor` for 3.14 (#13994)
max-muoto May 10, 2025
bfb16ab
Add context manager support for QueueListener (3.14) (#13996)
max-muoto May 10, 2025
721f637
3.14: add annotationlib, update typing and inspect (#13985)
JelleZijlstra May 10, 2025
69252c8
Add context manager for `contextvars.Token` (3.14) (#13997)
max-muoto May 10, 2025
3d48e5a
[click-web] Fixes after click 8.2.0 release (#14001)
JelleZijlstra May 10, 2025
4b8b01b
Update functools for 3.14 (#14002)
max-muoto May 11, 2025
cf714b7
Update tokens for 3.14 (#14004)
donBarbos May 11, 2025
c048694
Bump `configparser` to 3.14 (#14007)
donBarbos May 11, 2025
23e7a07
Update `traceback.__all__` (#14011)
donBarbos May 11, 2025
1dc2e21
Added the `show_positions` parameter to various `dis` interfaces (#14…
picnixz May 11, 2025
221118f
Update `argparse` to 3.14 (#14005)
donBarbos May 11, 2025
130b49b
Bump `http.server` to 3.14 (#13981)
donBarbos May 11, 2025
1ec1723
Bump `unittest` to 3.14 (#14012)
donBarbos May 11, 2025
e6ac04f
Complete `bleach` (#13969)
donBarbos May 11, 2025
9b09018
[stubsabot] Bump peewee to 3.18.1 (#13910)
github-actions[bot] May 11, 2025
6a1a837
Fix annotations of shapely.constructive.make_valid (#13913)
hamdanal May 11, 2025
d29e449
Add mypy plugin support to stubtest configuration (#13948)
huynguyengl99 May 11, 2025
badc5b6
3.14: PEP-784 compression except zstd (#13992)
Rogdham May 11, 2025
c1ef517
Add io.{Reader,Writer} (#14013)
srittau May 11, 2025
1079875
Copy typechecker-internal symbols to `_typeshed._type_checker_interna…
srittau May 11, 2025
6b766b6
Make BufferedReader generic over a protocol (#13533)
srittau May 11, 2025
d9175a8
Bump gevent to 25.4.* (#13885)
LordGvozd May 11, 2025
83ac75b
Update pathlib for 3.14 (#14006)
max-muoto May 11, 2025
eac0378
Give up on AnnotationForm in typing.pyi (#13999)
JelleZijlstra May 11, 2025
a25cb8a
Bump `decimal` to 3.14 (#14017)
donBarbos May 12, 2025
fc6a13f
Add new Python 3.14 `argparse.ArgumentParser` constructor parameters …
edgarrmondragon May 12, 2025
bf54b07
Add `asyncio.graph`, updates to `asyncio.futures` (3.14) (#14003)
max-muoto May 12, 2025
54dcaf2
Bump `tomllib.TOMLDecodeError` to 3.14 (#14019)
donBarbos May 12, 2025
ff68c29
[click_default_group] default_cmd_name argument should be named defau…
jd May 12, 2025
b964535
Bump `ipaddress` to 3.14 (#14024)
donBarbos May 12, 2025
aa15a15
networkx: `ignore_missing_stub = false` (#13968)
Avasam May 12, 2025
992ce9d
Update dataclasses for 3.14 (#14016)
max-muoto May 12, 2025
7c86592
Add `InterpreterPoolExecutor` (3.14) (#14008)
max-muoto May 12, 2025
eaa7dce
tqdm: Fix return type of `async for` loop (#14028)
unhealme May 12, 2025
3e41040
Fix variance of a few email-related classes (#13952)
srittau May 12, 2025
44b354a
`threading` updates for 3.14 (#14032)
max-muoto May 12, 2025
623cc4c
Bump `imaplib` to 3.14 (#14022)
donBarbos May 12, 2025
aafd975
Add `HAS_PHA` to `_ssl` (#14033)
sobolevn May 13, 2025
512d249
Replace incomplete module markers (#14030)
srittau May 13, 2025
0f3ac8e
Bump `pdb` and `bdb` to 3.14 (#14042)
donBarbos May 13, 2025
29604c1
networkx: consistent `Unknown | None = None` (#14027)
Avasam May 13, 2025
1e78265
Fix regression in definition of `bleach.sanitizer._Filter` (#14041)
Daverball May 13, 2025
032dd6f
Improve `oauthlib.openid.connect.core` (#13966)
donBarbos May 13, 2025
7176c7e
Bump icalendar to 6.2.* (#13963)
donBarbos May 13, 2025
47093e2
Update `_ctypes` to 3.14 (#14043)
sobolevn May 13, 2025
bfc7ab3
Add `string.templatelib` in 3.14 (#14044)
sobolevn May 13, 2025
40cc923
Improve `oauthlib.oauth2.rfc6749` (#13965)
donBarbos May 13, 2025
0a1df7a
[ctypes] Fix argument name (#14048)
srittau May 13, 2025
1269757
Bump `fnmatch` to 3.14 (#14046)
donBarbos May 13, 2025
d803d96
Update `{code,codop}.compile_command` in 3.14 (#14049)
donBarbos May 13, 2025
a3a7c9e
Add additional type ignores for mypy (#14050)
cdce8p May 13, 2025
ed71d40
Add new `ast` node from 3.14 (#14034)
sobolevn May 13, 2025
2c457a3
Add `dis.Instruction.make` for 3.14 (#14039)
donBarbos May 13, 2025
2bab3ae
Support `requires_python` in `runtests.py` (#14051)
Avasam May 13, 2025
2edd6d2
jwcrypto: Fix export_to_pem password argument (#14037)
mazei513 May 13, 2025
561cc7f
Make `tkinter.Event` equivalent to `tkinter.Event[tkinter.Misc]` (#14…
Akuli May 13, 2025
616a9b3
Bump `os` and `posix` to 3.14 (#14060)
donBarbos May 14, 2025
62e0ad5
Bump `urllib.request` to 3.14 (#14062)
donBarbos May 14, 2025
c8823f1
Update `_socket` and `socket` for 3.14 (#14055)
sobolevn May 14, 2025
3e51fc9
Remove deprecated get_loader and find_loader from pkgutil (#14061)
donBarbos May 14, 2025
99a5843
Update `marshal.dump(s)` for 3.14 (#14059)
donBarbos May 14, 2025
9462492
Update `logging.handlers.SysLogHandler` for 3.14 (#14058)
donBarbos May 14, 2025
d20db11
networkx: type `is_*` and `has_*` functions (#14054)
Avasam May 14, 2025
d60dac1
Update nx_pylab.pyi: allow node_color to be a list of strings as well…
wyattscarpenter May 14, 2025
fab2cde
[requests] Add a _JSON type alias (#14064)
srittau May 14, 2025
bf4d881
Deprecate `nturl2path` (#14065)
donBarbos May 14, 2025
0a0d2c5
reportlab: canvas.getPageNumber() returns int (#14066)
collinanderson May 14, 2025
fe9f461
gevent: Remove remaining uses of `Incomplete` (#14072)
Daverball May 15, 2025
e2bd1ff
Bump setuptools to 80.7.* (#14069)
Avasam May 15, 2025
7913fb8
Update reportlab to 4.4.1 (#14073)
srittau May 15, 2025
0ed49d8
Replace `Incomplete | None = None` in third party stubs (#14063)
srittau May 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[flake8]
# NQA: Ruff won't warn about redundant `# noqa: Y`
# Y: Flake8 is only used to run flake8-pyi, everything else is in Ruff
# F821: Typeshed is a testing ground for flake8-pyi, which monkeypatches F821
select = NQA, Y, F821
select = Y, F821
# Ignore rules normally excluded by default
extend-ignore = Y090
per-file-ignores =
# We should only need to noqa Y and F821 codes in .pyi files
*.py: NQA
# Generated protobuf files:
# Y021: Include docstrings
# Y023: Alias typing as typing_extensions
Expand All @@ -16,4 +13,3 @@ per-file-ignores =
stubs/*_pb2.pyi: Y021, Y023, Y026, Y053

exclude = .venv*,.git
noqa_require_code = true
35 changes: 0 additions & 35 deletions .github/renovate.json

This file was deleted.

39 changes: 39 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"suppressNotifications": ["prEditedNotification"],
"extends": ["config:recommended"],
"labels": ["bot: dependencies"],
"semanticCommits": "disabled",
"separateMajorMinor": false,
"prHourlyLimit": 10,
// This package rule disables updates for `actions/setup-python` Python versions:
// it's better to do these manually as there's often a reason why we can't use
// the latest Python version in CI for a specific job
ignoreDeps: ["python"],
"pre-commit": {
"enabled": true
},
"packageRules": [
{
groupName: "GitHub Actions",
matchManagers: ["github-actions"],
description: "Quarterly update of GitHub Action dependencies",
schedule: ["every 3 months on the first day of the month"]
},
{
groupName: "most test/lint dependencies",
matchManagers: ["pip_requirements", "pre-commit"],
matchPackageNames: ["!pytype", "!pyright"],
description: "Quarterly update of most test dependencies",
schedule: ["every 3 months on the first day of the month"]
},
{
"groupName": "pytype and pyright",
"matchManagers": ["pip_requirements"],
"matchPackageNames": ["pytype", "pyright"],
"description": "Daily update of pyright and pytype",
"schedule": ["before 4am"]
}
]
}
27 changes: 11 additions & 16 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,13 @@ env:

jobs:
stubtest-stdlib:
name: Check stdlib with stubtest
name: "stubtest: stdlib"
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which can can cause problems with os module constants.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
fail-fast: false

steps:
Expand All @@ -56,23 +54,19 @@ jobs:
run: python tests/stubtest_stdlib.py

stubtest-third-party:
name: Check third party stubs with stubtest
name: "stubtest: third party"
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which causes problems when testing gdb.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
shard-index: [0, 1, 2, 3]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# TODO: Use Python 3.12. As of 2024-03-08, several third-party
# packages fail to install with Python 3.12.
python-version: "3.11"
python-version: "3.13"
cache: pip
cache-dependency-path: |
requirements-tests.txt
Expand All @@ -86,7 +80,7 @@ jobs:

if [ "${{ runner.os }}" = "Linux" ]; then
if [ -n "$PACKAGES" ]; then
sudo apt-get update && sudo apt-get install -y $PACKAGES
sudo apt-get update -q && sudo apt-get install -qy $PACKAGES
fi

PYTHON_EXECUTABLE="xvfb-run python"
Expand All @@ -105,7 +99,7 @@ jobs:
$PYTHON_EXECUTABLE tests/stubtest_third_party.py --specified-platforms-only --num-shards 4 --shard-index ${{ matrix.shard-index }}

stub-uploader:
name: Run the stub_uploader tests
name: stub_uploader tests
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
Expand All @@ -120,7 +114,8 @@ jobs:
path: stub_uploader
- uses: actions/setup-python@v5
with:
python-version: "3.12"
# Keep in sync with stub_uploader's check_scripts.yml workflow.
python-version: "3.13"
- uses: astral-sh/setup-uv@v5
- name: Run tests
run: |
Expand All @@ -130,7 +125,7 @@ jobs:

# https://github.saobby.my.eu.orgmunity/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
create-issue-on-failure:
name: Create an issue if daily tests failed
name: Create issue on failure
runs-on: ubuntu-latest
needs: [stubtest-stdlib, stubtest-third-party, stub-uploader]
if: ${{ github.repository == 'python/typeshed' && always() && github.event_name == 'schedule' && (needs.stubtest-stdlib.result == 'failure' || needs.stubtest-third-party.result == 'failure' || needs.stub-uploader.result == 'failure') }}
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/meta_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:

jobs:
mypy:
name: Run mypy against the scripts and tests directories
name: Check scripts and tests with mypy
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -38,12 +38,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv pip install -r requirements-tests.txt --system
- run: python ./tests/typecheck_typeshed.py --platform=${{ matrix.platform }}
pyright:
name: Run pyright against the scripts and tests directories
name: Check scripts and tests with pyright
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -53,6 +53,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# TODO: Since pytype is not available for Python 3.13, and
# pytype_test.py imports pytype, we need to use Python 3.12 for now.
python-version: "3.12"
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv pip install -r requirements-tests.txt --system
Expand All @@ -70,7 +72,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Git config
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stubsabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: git config
run: |
Expand All @@ -39,7 +39,7 @@ jobs:

# https://github.saobby.my.eu.orgmunity/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
create-issue-on-failure:
name: Create an issue if stubsabot failed
name: Create issue on failure
runs-on: ubuntu-latest
needs: [stubsabot]
if: ${{ github.repository == 'python/typeshed' && always() && (needs.stubsabot.result == 'failure') }}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/stubtest_stdlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ concurrency:

jobs:
stubtest-stdlib:
name: Check stdlib with stubtest
name: "stubtest: stdlib"
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which can can cause problems with os module constants.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
fail-fast: false

steps:
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/stubtest_third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ concurrency:

jobs:
stubtest-third-party:
name: Check third party stubs with stubtest
name: "stubtest: third party"

runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which causes problems when testing gdb.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
fail-fast: false

steps:
Expand All @@ -43,9 +41,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
# TODO: Use Python 3.12. As of 2024-03-08, several third-party
# packages fail to install with Python 3.12.
python-version: "3.11"
python-version: "3.13"
cache: pip
cache-dependency-path: |
requirements-tests.txt
Expand All @@ -71,7 +67,7 @@ jobs:
if [ "${{ runner.os }}" = "Linux" ]; then
if [ -n "$PACKAGES" ]; then
echo "Installing apt packages: $PACKAGES"
sudo apt-get update && sudo apt-get install -y $PACKAGES
sudo apt-get update -q && sudo apt-get install -qy $PACKAGES
fi

PYTHON_EXECUTABLE="xvfb-run python"
Expand Down
Loading