python / python/typeshed

Drop support for Python 3.10 (around January/April 2027)

オープン
#15,586 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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.11 and python-version >= 3.11 from METADATA.toml.
  • Remove the version suffix from regression tests ending with -py311.py.
  • Remove tomli from requirements-tests.txt.
Expected April 2027
  • Remove 3.10 exclusive branches from stubs.
    • Switch EnumType/EnumMeta names in stdlib/enum.pyi, making EnumType the "real" name
  • Remove obsolete stdlib modules (see VERSIONS).
    • binhex
    • distutils.command.bdist_msi
  • Replace typing_extensions imports.
    • TypeVarTuple
    • Required/NotRequired
    • Self
    • LiteralString
    • dataclass_transform
  • Update "Supported type system features" section in CONTRIBUTING.md as necessary.

(Please amend as necessary.)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。