Drop support for Python 3.10 (around January/April 2027)
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 5.1k
- Fork
- 2.1k
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 82
Mô tả
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.)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với checklist tháng 1 năm 2027 trong README.md, pyproject.toml, CI và các tập lệnh kiểm thử, các danh sách cho phép của stubtest, METADATA.toml, các kiểm thử hồi quy và requirements-tests.txt. Sau đó xem lại checklist tháng 4 trong stdlib/enum.pyi, VERSIONS, các stub bị ảnh hưởng và CONTRIBUTING.md. Hoàn tất có nghĩa là hỗ trợ Python 3.10 được gỡ bỏ trong cả hai giai đoạn, đồng thời các kiểm thử và metadata liên quan được cập nhật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- documentation, testing-qa, tooling
- Loại issue
- Tái cấu trúc
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100