Drop Python 3.8, 3.9 and 3.10 (end of life)

Đang mở
#2,402 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
build-system, release

Hướng nghiên cứu

Start with pyproject.toml and DEVELOPER.md, then inspect the wheel build configuration and the typing_extensions fallbacks mentioned in the issue. Check how the proposed Python 3.11 minimum affects dependency constraints and release builds; done means the next release requires Python 3.11 and no longer builds or ships wheels for 3.8–3.10. A branch is already prepared, so coordinate with its author before taking this on.

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

Mô tả

Python 3.8, 3.9 and 3.10 are end of life (https://devguide.python.org/versions/), but confluent-kafka still declares requires-python >=3.8 and ships cp38-cp310 wheels. Keeping them costs:

  • a second cibuildwheel pass for cp315, because cibuildwheel 4 no longer builds 3.8 (#2400);
  • a google-re2<1.1.20251105 cap kept for 3.9 wheels, which leaves confluent-kafka[rules] on 3.14 without google-re2 wheels;
  • typing_extensions fallbacks marked "drop fallback once we require Python >= 3.11";
  • uv lock failing unless pyproject.toml is edited first (DEVELOPER.md);
  • bugs that only hit old versions, such as #2401 (import confluent_kafka.aio fails on 3.8).

Proposal: require Python 3.11 from the next release; pip on 3.8-3.10 keeps the last release that supports them. Earlier drops: 3.6 in 2.6.1 (#1592), 3.7 in 2.12.1 (#2105). I have a branch on top of #2400 ready.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GwUvhmzgfkiZ6vo4uGyesN

Ngôn ngữ chính
Python
Star
528
Fork
977
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
19

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 confluentinc/confluent-kafka-python

Tất cả issue của confluentinc/confluent-kafka-python

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.