ci: add Python 3.14 test environment to CI matrix#11377
Open
mvanhorn wants to merge 2 commits into
Open
Conversation
Contributor
|
Let's replace 3.13 with 3.14 so we minimize how much CI we run |
Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
Done in 1e78a4d - 3.13 is replaced by 3.14 in the main matrix and the no-numba/no-dask/flaky/typing variants now run on 3.14 only. Kept the test-py313 pixi envs since ci-additional.yaml and hypothesis.yaml still reference them. [This is Claude Code on behalf of Matt Van Horn] |
dcherian
reviewed
Jun 6, 2026
| [feature.py313.dependencies] | ||
| python = "3.13.*" | ||
|
|
||
| [feature.py314.dependencies] |
Contributor
There was a problem hiding this comment.
Should be deleting the 3.13 entries here
keewis
reviewed
Jun 6, 2026
| python = "3.13.*" | ||
|
|
||
| [feature.py314.dependencies] | ||
| python = "3.14.*" |
Collaborator
There was a problem hiding this comment.
maybe use python-gil here, to be fully explicit that we're not checking the freethreading build?
See https://anaconda.org/channels/conda-forge/packages/python/overview
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
Adds a Python 3.14 test environment to CI so xarray starts exercising the latest Python alongside 3.13.
Why
Issue #11241 asks for CI to start covering Python 3.14, which has been out for several months and is now supported by numba and the rest of the core stack. Without a 3.14 environment, xarray has no signal on whether it works on the newest interpreter that users are already adopting.
Description
This begins migrating CI toward Python 3.14, which issue #11241 asks for now that 3.14 has been out for several months and numba supports it.
pixi.tomlgains apy314feature pinned topython = "3.14.*"and atest-py314environment mirroring the existingtest-py313definition, and.github/workflows/ci.yamladdstest-py314to thepixi-envmatrix. The change is additive: 3.13 stays in place so maintainers can decide the removal cadence, keeping this low-risk.Checklist
whats-new.rstapi.rstAI Disclosure
Tools: Claude