-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
stubs: removalPending removal of third-party distributionsPending removal of third-party distributions
Description
Python 3.9 reached its end-of-life phase on 2025-10-31 (PEP 596).
How to remove support
February 2026
- Update the documentation.
- Update the
oldest_supported_pythonkey inpyproject.toml. - Remove
requires_python >= 3.10andpython_version >= 3.10fromMETADATA.toml - Remove 3.9 from CI and test scripts.
- Update stubtest allow lists. Also check whether items can be moved to the common allow lists.
May 2026
- Remove 3.9 exclusive branches from stubs.
- Remove obsolete stdlib modules (see
VERSIONS)._bootlocaledistutils.command.bdist_wininstformatterparsersymbol
- Replace
typing_extensionsimports.ParamSpecTypeAliasTypeGuard
- Remove
builtins.ellipsisafter type checkers have switched totypes.EllipsisType. (See Remove type checker-specific symbols from builtins.pyi and typing.pyi #7580) - Remove
_reader/_writerworkarounds instdlib/_csv.pyi.
(Please amend as necessary.)
Metadata
Metadata
Assignees
Labels
stubs: removalPending removal of third-party distributionsPending removal of third-party distributions