Repository navigation
chore!: drop Python 3.10 and test 3.15 and 3.15t - #110
Merged
Merged
Conversation
Python 3.10 has reached end of life. Require 3.11, and move the ROOT and codecov job from 3.10 to 3.11. Add 3.15 and free-threaded 3.15 to the CI matrix. numexpr has no wheels for either yet, so uv builds it from the sdist on those jobs. Assisted-by: Claude Code:claude-opus-5-5
conda-forge's Windows Python 3.15 puts its headers in include\python, which setuptools' distutils does not look in, so building numexpr from the sdist failed to find Python.h. Pass the include directory sysconfig reports to cl.exe through the CL environment variable. Assisted-by: Claude Code:claude-opus-5-5
Member
|
Hey @ariostas, not in any way meant to be patronising but we need to be careful removing EOL versions for packages that are much used in analysis. Indeed, let's think of the student that started 3-4 years ago, they are likely to be on a rather old version of Python if they did not evolve then env, to keep things all the same and stable. It seems fine from a speedy check of the dependents in this instance. |
Member
Author
|
Thank you, @eduardo-rodrigues. Yeah, Formulate is still not very widely used, so there's not much of a risk of breaking things. But we are also dropping support for Python 3.10 across Scikit-HEP (see for example scikit-hep/uproot#1775 and scikit-hep/awkward#4454), so it also makes sense to drop it here. |
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.
🤖 AI text below 🤖
Python 3.10 is end of life, so this drops support for it and adds 3.15 and free-threaded 3.15 to the CI matrix.
requires-pythonis now>=3.11. The classifiers, mypy/pylint target versions and pyupgrade's--py311-plusfollow. No code changes were needed.CallSpec2, which pytest 9.2 deprecates; withfilterwarnings = ["error"]that aborts the run at plugin load. On 3.11, conda-forge installs anyio 4.16.0, which already handles the rename.uvbuilds it from the sdist. Locally (macOS) it builds, keeps the GIL disabled on 3.15t, and the full suite passes with 100% coverage. Once numexpr publishes wheels, CI will use them without any change here.AGENTS.mdare updated to match.