Drop Python 3.10 support after its EOL (October 2026)

Abierto
#1,838 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
github-actions, python

Línea de trabajo

Wait until after 2026-10-04, then review pyproject.toml, docs/conf.py, the nine listed tableauserverclient files, and .github/workflows/run-tests.yml. Replace the Python 3.10 compatibility settings and Self imports described in the issue, then run the existing test workflow. Done means Python 3.10 is removed from supported metadata and CI, tomli and obsolete typing workarounds are gone, and the project still passes its tests.

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

Descripción

enhancement

Python 3.10 reaches end-of-life on 2026-10-04. Once that lands, we should drop support and clean up the workarounds it forces.

Changes required after dropping 3.10

pyproject.toml:

  • Bump requires-python from >=3.10 to >=3.11.
  • Remove the "Programming Language :: Python :: 3.10" classifier.
  • Drop tomli from the [docs] extra (backport for 3.10's missing tomllib).
  • Remove py310 from Black's target-version.
  • Remove typing_extensions>=4.0 from runtime dependencies if the Self cleanup below removes the last consumer.

docs/conf.py:

  • Replace the try: import tomllib / except ImportError: import tomli as tomllib fallback with a direct import tomllib.

tableauserverclient/typing_extensions.Self becomes typing.Self in ~10 files (grep-confirmed):

  • models/collection_item.py
  • models/extensions_item.py
  • models/groupset_item.py
  • models/group_item.py
  • models/reference_item.py
  • models/user_item.py
  • server/endpoint/endpoint.py
  • server/endpoint/jobs_endpoint.py
  • server/query.py

CI (.github/workflows/run-tests.yml): remove '3.10' from the test matrix.

Timing

Aim to file in a release published after 2026-10-04.

🤖 Generated with Claude Code

Lenguaje dominante
Python
Estrellas
716
Forks
446
Merge medio
8 d 8 h
PR fusionados (30 d)
2

Guía de contribución

Abrir la 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 tableau/server-client-python

Todos los issues de tableau/server-client-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.