Drop Python 3.10 support after its EOL (October 2026)
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- github-actions, python
- 领域
- build-system, ci-cd
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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-pythonfrom>=3.10to>=3.11. - Remove the
"Programming Language :: Python :: 3.10"classifier. - Drop
tomlifrom the[docs]extra (backport for 3.10's missingtomllib). - Remove
py310from Black'starget-version. - Remove
typing_extensions>=4.0from runtimedependenciesif theSelfcleanup below removes the last consumer.
docs/conf.py:
- Replace the
try: import tomllib / except ImportError: import tomli as tomllibfallback with a directimport tomllib.
tableauserverclient/ — typing_extensions.Self becomes typing.Self in ~10 files (grep-confirmed):
models/collection_item.pymodels/extensions_item.pymodels/groupset_item.pymodels/group_item.pymodels/reference_item.pymodels/user_item.pyserver/endpoint/endpoint.pyserver/endpoint/jobs_endpoint.pyserver/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
- 主要语言
- Python
- 星标
- 716
- 派生
- 446
- 平均合并
- 8 天 8 小时
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tableau/server-client-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
tableau/server-client-python#1865 ·
-
in-progress
难度 2/5 1-3 小时 新手友好度 78/100
tableau/server-client-python#1829 · 1 条评论 ·
-
enhancement gap needs investigation
难度 2/5 1-3 小时 新手友好度 68/100
tableau/server-client-python#1322 · 1 条评论 ·
-
[Type2] Allow Incremental Refresh type schedules to be added via `server.schedules.add_to_schedule` 未关闭help wanted Server-Side Enhancement ui-exists
难度 2/5 1-3 小时 新手友好度 68/100
tableau/server-client-python#1101 · 3 条评论 ·
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 68/100
tableau/server-client-python#783 · 5 条评论 ·
查看 tableau/server-client-python 的全部 Issue
相似的 Issue
-
link-check link-check:sphinx-theme
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
难度 2/5 1-3 小时 新手友好度 88/100
OpenHands/extensions#626 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
CSCfi/sd-search-api#39 ·
-
难度 1/5 1 小时以内 新手友好度 90/100