Repository navigation
py(chore[floor]) Require Python 3.11 - #100
Merged
Merged
Conversation
why: Python 3.10 reached end of life in October 2026. Requiring 3.11 lets the lock drop its 3.10-only forks. `uv lock` collapses the coverage, sphinx, myst-parser, watchdog and starlette pairs and removes tomli and exceptiongroup; the >=3.11 entries did not move. `ruff check --fix` under py311 rewrote nothing, and there were no `sys.version_info` branches to remove. what: - pyproject.toml: requires-python >=3.11, drop the 3.10 classifier, mypy python_version and ruff target-version to 3.11 - tests.yml: drop 3.10 and its docutils 0.22.4 exclude - .tool-versions, README.md, CONTRIBUTING.md: drop 3.10 - uv.lock: collapse the 3.10 forks
why: The floor moves from 3.10 to 3.11 in #100, a breaking change for installs on 3.10. what: - CHANGES: add the breaking-change entry under gp-libs 0.0.20
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #100 +/- ##
=======================================
Coverage 76.63% 76.63%
=======================================
Files 15 15
Lines 1023 1023
=======================================
Hits 784 784
Misses 239 239 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Python 3.10 reached end of life in October 2026. gp-libs now requires
Python 3.11.
Changes
requires-python = ">=3.11,<4.0", 3.10 classifier removed, mypy andruff targets set to 3.11
for it
uv.lockcollapses the 3.10-only forks (coverage, sphinx, myst-parser,sphinx-design, watchdog, starlette, websockets, markdown-it-py,
sphinx-autobuild); tomli and exceptiongroup drop out. The soupsieve
2.10 entry for Python below 3.11.5 stays.
.tool-versionsstate 3.11CHANGESentryTest plan
uv lockparsed before/after: only older fork entries removedruff check --fix,ruff format --check,mypy .,py.test(102 passed) on 3.15