Repository navigation
Drop python 310 support - #333
Merged
Merged
Conversation
seddonym
force-pushed
the
drop-python-310-support
branch
from
November 6, 2026 09:46
365596f to
7cdb175
Compare
seddonym
marked this pull request as ready for review
November 6, 2026 09:47
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The modernization recipe fails under Ubuntu’s default sh due to unsupported brace expansion, and the interpreter-list guidance risks shadowing regular interpreters and omitting their wheels.
2 open issues
What changed in this PR
Raises Grimp’s minimum supported Python version to 3.11 and adds tooling and contributor guidance for future Python-version changes.
Changes:
- Removes Python 3.10 from package metadata, test matrices, release builds, and dependency resolution.
- Updates typing annotations and imports.
- Adds a
modernize-pythonrecipe and documents how to add or drop Python support.
| File | Description |
|---|---|
uv.lock |
Updates dependency resolution for Python 3.11+ and adds pyupgrade. |
tests/unit/application/graph/test_manipulation.py |
Imports NotRequired from standard-library typing. |
tests/adaptors/filesystem.py |
Simplifies a generator annotation. |
src/grimp/application/ports/timing.py |
Uses Self for the context-manager return type. |
pyproject.toml |
Raises the Python minimum and adds pyupgrade. |
justfile |
Drops Python 3.10 testing and adds modernization tooling. |
CONTRIBUTING.rst |
Documents Python-version support changes. |
CHANGELOG.rst |
Records removal of Python 3.10 support. |
.github/workflows/release.yml |
Removes Python 3.10 from wheel builds. |
.github/workflows/main.yml |
Removes Python 3.10 from the test matrix. |
Review effort: Balanced
Merging this PR will not alter performance
Comparing Footnotes
|
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated Python version requirements in workflow files for compatibility. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.


Drop support for Python 3.10, which is now end-of-life.
While we're at it, add some docs for doing this, and a
just modernize-pythoncommand to modernize any syntax we no longer need to support.