Repository navigation
chore: move to Python 3.14, keep testing 3.12 and 3.13 - #34
Merged
Merged
Conversation
Use Python 3.14 for the image, devcontainer and default local environment, and add 3.14 to the unit-test matrix alongside 3.12 and 3.13. requires-python stays >=3.12. qiskit-aer 0.17.2 has no cp314 wheel for linux aarch64, so building the image on ARM (e.g. Docker on Apple Silicon) fell back to compiling it from source and failed in the slim image; upgrade to 0.18.4, which has cp314 wheels for both x86_64 and aarch64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Redux Build System — CI Report
Overall: ✅ 8 passed · 0 failed · 2 skipped |
Trosper3
approved these changes
Nov 17, 2026
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
Moves the image, devcontainer and default local environment to Python 3.14, and adds 3.14 to the unit-test matrix. 3.12 and 3.13 stay in the matrix, and
requires-pythonstays>=3.12.pyproject.tomlqiskit-aer==0.17.2→0.18.4; addpy314to black'starget-versionuv.lock.python-version3.13→3.14Dockerfileuv:0.13.9-python3.14-trixie-slim.devcontainer/devcontainer.jsondevcontainers/python:3.13→3.14rbs.toml["3.12", "3.13", "3.14"]README.mdruff's
target-versionstayspy312, the minimum supported version.Why qiskit-aer has to move
qiskit-aer 0.17.2 has a cp314 wheel for x86_64 Linux but not for aarch64. On ARM (Docker on Apple Silicon, the devcontainer on a Mac, or an ARM host), uv falls back to building it from source, and the slim image has no compiler:
CI runs on x86_64, so CI alone wouldn't have caught this. qiskit-aer 0.18.0 and later have cp314 wheels for both architectures. 0.18.4 works with the current qiskit 2.4.1, and its
requires_pythonis>=3.11, so 3.12 is unaffected. Every other compiled runtime dependency (qiskit, numpy, scipy, rustworkx, psutil, markupsafe, charset-normalizer) already has cp314 wheels for both architectures at its locked version.Testing
pip-auditfinds no known vulnerabilities.forkserver.run_with_timeoutalready requestsspawnexplicitly, so it's unaffected.Follow-up (not in this PR)
Every image build warns that
build-system.requires = ["uv_build>=0.10,<0.11"]doesn't include the running uv 0.13.9. uv works around it by downloading the older backend, so it's harmless, but raising that range is a one-line follow-up.🤖 Generated with Claude Code