-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Drop support for Python 3.10 (around January/April 2027) #15586
Copy link
Copy link
Open
Labels
stubs: removalPending removal of third-party distributionsPending removal of third-party distributions
Description
Python 3.10 is expected to reach its end-of-life phase in October 2026 (PEP 619). We will remove support in two steps, approximately three and six months after it reached EOL.
How to remove support
Expected January 2027
- Update the version in
README.md. - Update various fields in
pyproject.toml. - Remove 3.10 from CI and test scripts.
- Update stubtest allow lists. Also check whether items can be moved to the common allow lists.
- Remove
requires-python >= 3.11andpython-version >= 3.11fromMETADATA.toml. - Remove
tomlifromrequirements-tests.txt.
Expected April 2027
- Remove 3.10 exclusive branches from stubs.
- Remove obsolete stdlib modules (see
VERSIONS).binhexdistutils.command.bdist_msi
- Replace
typing_extensionsimports.TypeVarTupleRequired/NotRequiredSelfLiteralStringdataclass_transform
(Please amend as necessary.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
stubs: removalPending removal of third-party distributionsPending removal of third-party distributions