Repository navigation
ci(python): drop Python 3.10 and add Python 3.15 - #489
Open
TheGupta2012 wants to merge 4 commits into
Open
TheGupta2012 wants to merge 4 commits into
TheGupta2012 wants to merge 4 commits into
Conversation
Recompile the six lock files that targeted --python-version 3.10 with --python-version 3.11, keeping every existing pin. The diff only removes the entries that applied to Python 3.10 alone and simplifies their markers; no package version used on 3.11+ changes and no hash is added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the cp310 entries with cp315 in the CI wheel matrix and in the release, pre-release and test-release matrices, on the same four platforms. Each release matrix keeps 20 entries. The pinned cibuildwheel 4.3.4 already lists cp315 for all four platform ids and installs CPython 3.15.0, so it needs no bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Python 3.10 reached end of life in October 2026. Raise requires-python to >=3.11, list the 3.11 to 3.15 classifiers, move black's target-version to py311..py315, and update the install docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Argus reviewAuto-review is off for this repo. Tick the box below to run a review on this PR.
Estimated cost
Tip: you can also comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This branch has not been deployed
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.
Why
Python 3.10 reached end of life in October 2026, and Python 3.15 is out. pyqasm still built and tested 3.10 and published no 3.15 wheels.
What changed
requires-pythonis now>=3.11. The classifiers list 3.11 to 3.15, and the README and docs say 3.11..github/requirements/are recompiled for Python 3.11. This only dropstomliandtyping-extensions, which were locked for 3.10 alone. No pinned version changes.Scope
tomlifallback inbin/write_version_file.pyand thetyping_extensionsimport in the CLI stay for a follow-up code change.cp315build identifiers for all four platforms.Blast Radius
Users on Python 3.10 stay on pyqasm 1.4.x, because pip skips releases whose
requires-pythonexcludes them. qbraid and qbraid-qir pin pyqasm with ranges, so their 3.10 users keep resolving 1.4.x.Verification
cp315wheel installed with thetest,cli,pulseextras: 1218 passed, 3 skipped, 4 xfailed.tox -e format-checkpasses, installed from the recompiledtox.txt.Closes #488