ci: test on Python 3.14 and add the classifier

Đang mở Phù hợp với người mới
#340 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python, yaml
Lĩnh vực
ci-cd

Hướng nghiên cứu

Bắt đầu từ .github/workflows/ci.yml: thêm "3.14" vào danh sách python-version trong job test, sau đó cập nhật các trường hợp đặc biệt matrix.python-version == '3.13' quanh dòng 98-103 thành 3.14. Chạy grep -rn "3.13" .github/ để xem xét từng tham chiếu còn lại. Ngoài ra, thêm bộ phân loại Programming Language :: Python :: 3.14 vào pyproject.toml và một mục CHANGELOG dưới [Unreleased]. Hoàn thành khi ma trận CI có 3.14 và mọi lỗi chỉ xảy ra trên 3.14 được báo cáo ở đây thay vì bỏ qua.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

beginner enhancement good first issue roadmap

Python 3.14 has been out for a year, but the CI test matrix (.github/workflows/ci.yml, python-version: ["3.10", "3.11", "3.12", "3.13"]) and the Programming Language :: Python :: 3.x classifiers in pyproject.toml stop at 3.13. Users on 3.14 can install the package (requires-python = ">=3.10" has no upper bound) but nothing tells them it works.

What to do

  1. Add "3.14" to the python-version list in the test job.
  2. Move the "newest leg" special cases that are keyed on matrix.python-version == '3.13' (ci.yml lines 98, 103 and 110 as of e410de6) to 3.14, so coverage and the extra steps run on the newest Python. Check every other 3.13 reference in the workflows (grep -rn "3.13" .github/, which also finds docs.yml) and decide case by case. Leave the pinned single-version jobs (3.10 dependency floors, 3.11/3.12 lint and build jobs) alone unless a step needs 3.14.
  3. Add the Programming Language :: Python :: 3.14 classifier.
  4. If a test fails only on 3.14, report it in this issue rather than skipping it; a real incompatibility should be fixed, not hidden.

Add a CHANGELOG entry under [Unreleased].

Ngôn ngữ chính
Python
Star
11
Fork
23
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
34

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PhilanthroPy-Project/PhilanthroPy

Tất cả issue của PhilanthroPy-Project/PhilanthroPy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.