Repository navigation
feat(packaging): require Python 3.11 or later - #951
Draft
petercorke wants to merge 1 commit into
Draft
petercorke wants to merge 1 commit into
petercorke wants to merge 1 commit into
Conversation
Python 3.10 reached end of life in October 2026. numpy 2.5 and scipy 1.18 already need 3.12, so the 3.10 CI jobs installed older numpy, scipy and matplotlib than every other job and tested a different dependency set. requires-python is now >=3.11, so pip on 3.10 keeps installing RTB 1.5.0 rather than failing. The 3.10 classifier, the cp310 wheels, the CI matrix entry, the mypy target and the install prose follow. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
This branch has not been deployed
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.
What
Python 3.10 reached end of life in October 2026. This sets
requires-python = ">=3.11"and removes the 3.10 classifier, thecp310wheels, the CI matrix entry, the mypy target and the install prose in the README and docs.Why now: numpy 2.5 and scipy 1.18 already need Python 3.12 or later, so the 3.10 CI jobs install older numpy, scipy and matplotlib than every other job and test a different dependency set. #950 had a test that failed only on 3.10 because of a typing quirk of that version.
CHANGELOG.mdis generated by release-please and is not edited here.Refs #898.
Behaviour
This is a packaging change. No code, results or public API change.
For users:
pip install roboticstoolbox-pythonon Python 3.10 will not offer the next release, andpipfalls back to the latest release that supports 3.10 (1.5.0) instead of failing. Release notes should say so. This is pushed asfeatrather thanfeat!, to avoid release-please bumping to 2.0.Release note (for the changelog)
Python 3.10 is no longer supported (end of life October 2026). RTB now needs Python 3.11 or later. On 3.10,
pipkeeps installing 1.5.0.Not in this PR
SMTB, bdsim, MVTB, Swift and spatialgeometry still say
>=3.10. Dropping 3.10 in RTB alone breaks nothing, but the ecosystem should decide together; that is being drafted as a separate policy proposal forrvc-ecosystem.What I ran, and what I could not
pyproject.tomlandci.ymlboth parse, with the 3.11 floor, four wheel builds and a 4-version matrix.grepfinds no other3.10in.github,pyproject.toml, the README ordocs/source, other than the changelog history.Bug2.py,EKF.py) that I could not tell apart from my environment's stubs. Themypyjob is advisory, and its result on this PR is the real check.AI assistance
Written with Claude Code (Claude Sonnet 5.5), reviewed by the maintainer.
🤖 Generated with Claude Code