Skip to content

Drop Python 3.11, declare and test up to Python 3.14 - #686

Open
MridulS wants to merge 5 commits into
mainfrom
drop_py311
Open

Drop Python 3.11, declare and test up to Python 3.14#686
MridulS wants to merge 5 commits into
mainfrom
drop_py311

Conversation

@MridulS

@MridulS MridulS commented Jul 31, 2026

Copy link
Copy Markdown
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
@github-actions github-actions Bot added CI essdiffraction Issues for essdiffraction. essimaging Issues for essimaging. essnmx Issues for essnmx. essreduce Issues for essreduce. essreflectometry Issues for essreflectometry. esssans Issues for esssans. essspectroscopy Issues for essspectroscopy. labels Jul 31, 2026
MridulS and others added 4 commits August 6, 2026 15:10
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
MridulS enabled auto-merge August 6, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI essdiffraction Issues for essdiffraction. essimaging Issues for essimaging. essnmx Issues for essnmx. essreduce Issues for essreduce. essreflectometry Issues for essreflectometry. esssans Issues for esssans. essspectroscopy Issues for essspectroscopy.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant