Drop Python 3.11, declare and test up to Python 3.14 - #686
Open
MridulS wants to merge 5 commits into
Open
Conversation
MridulS
commented
Jul 31, 2026
Member
- Require Python >= 3.12 in all packages (pixi pin, requires-python, classifiers, copier answers, workflow pins) and re-lock
- Declare Python 3.14 support in classifiers and copier max_python
- Bump minimum scipp to 26.7.0
- Nightly: run latest-dependencies on 3.12/3.13/3.14 and add a free-threaded 3.14t job; essnmx is excluded (bitshuffle re-enables the GIL) as is essdiffraction (numba aborts in dask worker threads)
- Unify uv at 0.12.0 across nightly jobs
- Require Python >= 3.12 in all packages (pixi pin, requires-python, classifiers, copier answers, workflow pins) and re-lock - Declare Python 3.14 support in classifiers and copier max_python - Bump minimum scipp to 26.7.0 - Nightly: run latest-dependencies on 3.12/3.13/3.14 and add a free-threaded 3.14t job; essnmx is excluded (bitshuffle re-enables the GIL) as is essdiffraction (numba aborts in dask worker threads) - Unify uv at 0.12.0 across nightly jobs
With requires-python >= 3.12 ruff enforces the PEP 695 type keyword for TypeAlias annotations. These aliases cannot use the type keyword: sciline needs the concrete generic alias at runtime, and PEP 695 aliases are lazily evaluated TypeAliasType objects. Use plain assignments instead, which ruff accepts and which keep the runtime objects unchanged. Also drop the invalid bare-prefix noqa directive in essspectroscopy; it suppressed nothing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Re-ran copier update for each package (pinned to its recorded template commit, with min_python=3.12 max_python=3.14) instead of relying on the manual edits. Copier's output confirmed the .copier-answers.yml contents byte-for-byte and caught one thing the manual edit missed: the tox environment in docs/developer/getting-started.md still said py311. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
MridulS
enabled auto-merge
August 6, 2026 14:03
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.