Drop support for Python 3.10 (around January/April 2027)
オープン
まだ誰も着手していません。
stubs: removal
- 主要言語
- Python
- スター
- 5.1k
- フォーク
- 2.1k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 82
説明
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.)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
README.md、pyproject.toml、CI とテストスクリプト、stubtest の許可リスト、METADATA.toml、回帰テスト、requirements-tests.txt にある 2027 年 1 月のチェックリストから始めます。次に、stdlib/enum.pyi、VERSIONS、影響を受けるスタブ、CONTRIBUTING.md にある 4 月のチェックリストを確認します。Python 3.10 のサポートが両方の段階で削除され、関連するテストとメタデータが更新されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation, testing-qa, tooling
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100