Skip to content

Add Python 3.14 to the CI test matrix, and officially drop support for Python 3.10 - #1730

Merged
rajeeja merged 2 commits into
mainfrom
rajeeja/ci-python-314
Sep 3, 2026
Merged

rajeeja merged 2 commits into
mainfrom
rajeeja/ci-python-314

Conversation

@rajeeja

@rajeeja rajeeja commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1561

Overview

Adds 3.14 to the CI matrix, which was the last open sub-task of #1561. #1563 already landed the classifier and the numba>=0.63 floor, and the docs sub-task turned out to be a no-op since RTD builds from ci/docs.yml with an unpinned python.

Full test suite passes locally on Python 3.14.6 with numba 0.65.1 and numpy 2.4.6: 927 passed, 1 skipped. ci/environment.yml also solves on 3.14, including the pins most likely to block it (matplotlib-base<3.11 from #1542, cartopy, scikit-learn, pyarrow).

Also drops the Python 3.10 claim from requires-python and the classifiers. The matrix has never tested 3.10, so that was an unverified claim. It is also no longer testable against the same stack as the other jobs: numpy and scipy now require >=3.12, and xarray, pandas, matplotlib, pyproj, and scikit-learn require >=3.11, so a 3.10 job would resolve pandas 2.x and a 14-month-old xarray. @Sevans711, this is the part worth pushing back on if you still want 3.10 kept until its October CPython EOL.

Job count goes from 9 to 12.

PR Checklist

General

  • An issue is created and linked
  • Added appropriate labels (if your uxarray repo permissions allow it)
  • Filled out Overview and Expected Usage (if applicable) sections

Testing & Benchmarking

  • There is adequate test coverage of changes from this PR (add new tests if needed)
  • [N/A] If this PR could affect performance, ran ASV benchmarks and confirmed they show expected behavior

Documentation and Examples

  • [N/A] Docstrings updated with any function changes, and included in all new functions
  • [N/A] User (public) functions added to docs/api.rst
  • [N/A] If touched any notebook files, cleared the output of all cells before committing
  • [N/A] If added new notebook files, put into appropriate directories and referenced in appropriate files

AI Disclosure

AI Usage:

  • I have tested and take responsibility for all AI-generated content in my PR.

Closes the last remaining sub-task of #1561. numba>=0.63 (landed in #1563)
supports 3.10 <= python < 3.15, and conda-forge resolves the full
ci/environment.yml stack on 3.14 including matplotlib-base<3.11, cartopy,
scikit-learn, and pyarrow.

Full test suite passes locally on Python 3.14.6 with numba 0.65.1 and
numpy 2.4.6: 927 passed, 1 skipped.
The CI matrix has never tested 3.10 -- it starts at 3.11 -- so both the
classifier and requires-python were asserting support that nothing verified.
Align the metadata with what is actually tested.
@Sevans711 Sevans711 changed the title Add Python 3.14 to the CI test matrix Add Python 3.14 to the CI test matrix, and officially drop support for Python 3.10 Sep 3, 2026

@Sevans711 Sevans711 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable! I was originally a bit suspicious of dropping Python 3.10 support before its EOL but now I can understand the reasoning, and I think either way forward is fine. People still using Python 3.10 can still get uxarray, just not any updates from after this merges.

Changed the PR title to mention that 3.10 support is being dropped, but otherwise approving!

@rajeeja
rajeeja merged commit d5af833 into main Sep 3, 2026
16 checks passed
@erogluorhan
erogluorhan deleted the rajeeja/ci-python-314 branch November 13, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Python 3.14

3 participants