Drop Python 3.10 support after its EOL (October 2026)

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github-actions, python
Lĩnh vực
build-system, ci-cd

Hướng nghiên cứu

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.

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

Mô tả

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

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

Hướng dẫn đóng góp

Mở 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 tableau/server-client-python

Tất cả issue của tableau/server-client-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.