Repository navigation
feat: support Python 3.15 - #175
Merged
Merged
Conversation
Test CPython 3.15 and free-threaded 3.15t on Linux, macOS, and Windows, and build cp315/cp315t wheels. Bump cibuildwheel to v4.3.0 so wheels are built and smoke-tested against CPython 3.15.0rc3, which is ABI-compatible with the final release.
- Upgrade locked development dependencies to their latest releases and raise the dev group lower bounds to match - Update astral-sh/setup-uv to v10.2.0 and actions/download-artifact to v8
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.
Summary
cp315andcp315twheels and add the Python 3.15 classifieruv lock --upgrade: ast-serialize 0.12.1, charset-normalizer 3.5.2, cryptography 50.0.2, idna 3.20, librt 0.16.0, mypy 2.4.0, pyproject-hooks 1.3.3, ruff 0.16.10, urllib3 2.8.0, zipp 4.1.1astral-sh/setup-uvv10.1.0 → v10.2.0 (SHA-pinned),actions/download-artifactv7 → v8The extension needs no source changes: the Cython output compiles against the 3.15 headers without deprecation warnings, and the existing
freethreading_compatibledirective keeps the GIL disabled on 3.15t. Thebuild-systemrequirementCython>=3.2.9,<3.4is intentionally unchanged because Cython 3.2.9 also builds and passes the tests on 3.15 and 3.15t. Isolated builds pick Cython 3.3.0, which includes the upstream 3.15 adaptations.actions/download-artifactv8 errors on digest mismatches by default and no longer unzips non-zip downloads. The tag-only publish job downloads only the zipped artifacts uploaded byupload-artifact@v7, so neither change affects it. That job does not run on pull requests.Validation
uv sync --lockedthenuv run pytest)-W errorand leavessys._is_gil_enabled()falsecp315-manylinux_x86_64andcp315t-manylinux_x86_64wheels build, repair, install, and passtools/wheel_smoke.pyuv.lock(lock revision 5) passeslock --checkandsync --lockedwith uv 0.9.26, therequired-versionminimum, as well as with uv 0.12.23References