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

Abierto
#2,402 2 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
528
Forks
977
Merge medio
2 d 19 h
PR fusionados (30 d)
19

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de confluentinc/confluent-kafka-python

Todos los issues de confluentinc/confluent-kafka-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.