Drop support for Python 3.10 (around January/April 2027)
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 5.1k
- Fork
- 2.1k
- Merge medio
- 1g 19h
- PR unite (30g)
- 82
Descrizione
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 the version suffix from regression tests ending with
-py311.py. - Remove
tomlifromrequirements-tests.txt.
Expected April 2027
- Remove 3.10 exclusive branches from stubs.
- Switch
EnumType/EnumMetanames instdlib/enum.pyi, makingEnumTypethe "real" name
- Switch
- Remove obsolete stdlib modules (see
VERSIONS).binhexdistutils.command.bdist_msi
- Replace
typing_extensionsimports.TypeVarTupleRequired/NotRequiredSelfLiteralStringdataclass_transform
- Update "Supported type system features" section in
CONTRIBUTING.mdas necessary.
(Please amend as necessary.)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con la checklist di gennaio 2027 in README.md, pyproject.toml, CI e script di test, gli elenchi di autorizzazione di stubtest, METADATA.toml, i test di regressione e requirements-tests.txt. Poi esamina la checklist di aprile in stdlib/enum.pyi, VERSIONS, gli stub interessati e CONTRIBUTING.md. Il lavoro è completato quando il supporto per Python 3.10 è stato rimosso in entrambe le fasi e i test e i metadati pertinenti sono stati aggiornati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- documentation, testing-qa, tooling
- Tipo di issue
- Refactoring
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100