Repository navigation
Add support for Python 3.15 - #82
Merged
Merged
Conversation
- Bump python_max to 15 (classifiers, .python-version, CI, docs tasks).
- Gate the 3.{python_max + 1} prerelease CI entry behind a new hidden
python_next_in_beta copier variable (default false). Alphas are too
unstable to be a useful signal; flip it on once 3.16 reaches beta.
- Bump ctt test targets from 3.14 to 3.15.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P1UQo4jmZREtzrWn1xjcDN
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P1UQo4jmZREtzrWn1xjcDN
The template's dev tools are not 3.15-ready yet: ctt imports beartype, which needs typing.no_type_check_decorator (removed in 3.15), and pyyaml has no 3.15 wheel and fails to build from source under uv 0.10.12. Generated projects still default to 3.15 via python_max. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P1UQo4jmZREtzrWn1xjcDN
sourcery-ai
Bot
dismissed
their stale review
October 14, 2026 11:38
Sourcery withdrew this approval because the latest commits introduced blocking findings.
uv 0.10.12 only knows 3.15.0a7, so a generated project (pinned to 3.15) got an alpha interpreter that cannot load wheels built for 3.15.0 final (mypy's librt: "unknown slot ID 85"). uv 0.12.24 tops out at 3.15.0rc3; 0.13.0 is the first with 3.15.0. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P1UQo4jmZREtzrWn1xjcDN
The repo itself stays on Python 3.14, so it does not need uv 0.13, and the higher floor broke the uv-lock pre-commit hook (pinned to uv 0.12.23). Generated projects keep requiring uv >=0.13.0. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P1UQo4jmZREtzrWn1xjcDN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
python_maxto 15. This updates the classifiers,.python-version, the CI "highest" and prerelease jobs, weekly CI, and the docs tasks of generated projects.ctttest targets from 3.14 to 3.15 (test-lowest 3.15, and thepython3.15output withpython_min = 15).required-version, the README, and the minimum-uv CI job. uv 0.13.0 is the first release that can download CPython 3.15.0. Older versions install a pre-release instead (0.10.12 gets3.15.0a7, 0.12.24 gets3.15.0rc3). Wheels built for 3.15.0 don't load on those, e.g. mypy'slibrtfails withunknown slot ID 85.The template repo's own
.python-versionstays on 3.14, and its own uv floor stays at 0.10.12. Its dev tools aren't 3.15-ready yet: ctt's beartype dependency importstyping.no_type_check_decorator, which 3.15 removed, and pyyaml has no 3.15 wheel. Raising the repo's own uv floor would also break theuv-lockpre-commit hook, which is pinned to uv 0.12.23.Local checks on CPython 3.15.0:
uv sync, pytest, mypy/dmypy, ruff, black,just test-lowest 3.15andjust build-docs, for both the bare and the Cyclopts CLI variants.librtfailure.🤖 Generated with Claude Code
https://claude.ai/code/session_01P1UQo4jmZREtzrWn1xjcDN