Repository navigation
🤖 feat!: support Python 3.11–3.15, drop 3.10 - #58
Merged
Merged
Conversation
pyo3 0.30.0 adds support for Python 3.15. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Python 3.10 reached end of life on 2026-10-01. maturin's --find-interpreter respects requires-python, so cp310 wheels are no longer built. BREAKING CHANGE: Python 3.10 is no longer supported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- pytest matrix: 3.11-3.15 - Windows and macOS: install 3.11-3.15 so --find-interpreter builds a wheel for each - drop PYO3_USE_ABI3_FORWARD_COMPATIBILITY, which pyo3 0.30 no longer needs and which would hide a missing interpreter version - Linux aarch64 test: ubuntu22.04 ships Python 3.10, which no longer has a wheel; use ubuntu24.04 and a venv (PEP 668) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rust-numpy 0.30 fails to compile for free-threaded Python 3.14 on 32-bit
targets ("free-threaded Python on 32bit platforms is only supported from
3.15+"). List interpreters explicitly for the i686 manylinux and
musllinux builds, keeping every other interpreter --find-interpreter
picked up there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dancergraham
force-pushed
the
ci/python-3.11-3.15
branch
from
November 16, 2026 19:01
78ecfa7 to
c64ae2f
Compare
dancergraham
marked this pull request as ready for review
November 16, 2026 19:13
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.
Brings CI and packaging in line with the Python versions currently supported upstream: 3.11 to 3.15. 3.10 reached end of life on 2026-10-01, and 3.15.0 is out.
Breaking change for users:
requires-pythongoes from>=3.10to>=3.11, and no cp310 wheels will be published from the next release. Existing releases stay installable on 3.10. Consider a minor version bump for the release that includes this.Changes
numpycrate 0.28.0 → 0.30.0. 0.30.0 adds Python 3.15 support. No source changes were needed.pytestmatrix is now 3.11–3.15.--find-interpreterbuilds a wheel for each. Before, they only set up 3.14, and Windows x86 built only cp314.PYO3_USE_ABI3_FORWARD_COMPATIBILITY. pyo3 0.30 doesn't need it, and leaving it in would hide a future unsupported interpreter.ubuntu24.04with a venv.ubuntu22.04ships Python 3.10, which would no longer have a matching wheel.mainafter 🤖 ci: harden workflow per zizmor audit #56 and 🤖 ci: add rustfmt and clippy lint gate #57. The SHA pins and the tag-awaresccachesetting are kept.Verified
cargo clippy --all-targets -- -D warningsis clean on pyo3 0.30.pytestpasses 16/16 on Python 3.15.0 and on 3.11.17.lintjob from 🤖 ci: add rustfmt and clippy lint gate #57.Not addressed
The i686 wheels are still untested. numpy publishes no i686 Linux wheels, so installing them means building numpy from source.
🤖 Generated with Claude Code