chore: support Python 3.14 (requires-python ">=3.11, <3.15")#287
Closed
philipph-askui wants to merge 1 commit into
Closed
chore: support Python 3.14 (requires-python ">=3.11, <3.15")#287philipph-askui wants to merge 1 commit into
philipph-askui wants to merge 1 commit into
Conversation
Raise the upper Python bound to include 3.14 and the lower bound to 3.11. The scipy/numpy releases that ship Python 3.14 wheels (scipy >=1.16, numpy >=2.3) dropped Python 3.10 wheels, so no single universal-lock version can cover both 3.10 and 3.14. scipy 1.17.x / numpy 2.4.x ship wheels for 3.11 through 3.14, so 3.11-3.14 are supported together while 3.10 is dropped. - Regenerate pdm.lock for the new range (scipy 1.17.1, numpy 2.4.6). - Ignore the pdm-generated .python-version file. Verified: pdm install and the full unit suite (482 passed) on Python 3.14.3. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0761026 to
ee7f2bb
Compare
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.
What
Enable Python 3.14 by widening
requires-pythonto>=3.11, <3.15and regenerating the lock.Why
The scipy/numpy releases that ship Python 3.14 wheels (scipy
>=1.16, numpy>=2.3) dropped Python 3.10 wheels. A PDM universal lock pins one version per package, and that version must have a wheel for every Python in the range — so no single scipy/numpy version can cover both 3.10 and 3.14.scipy 1.17.1/numpy 2.4.6ship wheels for 3.11 through 3.14, so:Changes
pyproject.toml:requires-python = ">=3.11, <3.15"pdm.lock: regenerated for the new range (scipy 1.17.1, numpy 2.4.6).gitignore: ignore the pdm-generated.python-versionVerification
On Python 3.14.3:
pdm installsucceeds and the full unit suite passes (482 passed).Note
This drops Python 3.10 support. That is a hard requirement for 3.14 (the cp310 and cp314 scipy/numpy wheel sets don't overlap in any single release).
🤖 Generated with Claude Code