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

Aperta
#2,402 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
528
Fork
977
Merge medio
2g 19h
PR unite (30g)
19

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di confluentinc/confluent-kafka-python

Tutte le issue di confluentinc/confluent-kafka-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.