Repository navigation
Support Python 3.10 to 3.15 - #126
Merged
Merged
Conversation
GitHub's runners no longer offer Python 3.9, so the tests can't run on it anymore. Drops Python 3.9, which has reached its end of life, and adds Python 3.15 and PyPy 3.12, in the package's metadata, in the test environments of Tox and in the tests on GitHub.
The current Ruff release checks two more rules: it looks for a copyright notice at the top of each file, and for functions with many positional arguments. Ruff now recognizes our SPDX headers as copyright notices, and one test, which receives its mocks from decorators as positional arguments, is exempt from the new rule. The checks pass again.
bittner
force-pushed
the
python-3.10-to-3.15
branch
from
November 11, 2026 21:28
e37c40b to
27aff52
Compare
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.
GitHub's runners no longer offer Python 3.9, so the tests can't run on it anymore. This PR drops Python 3.9, which has reached its end of life, and adds Python 3.15 and PyPy 3.12: in the package's metadata, in Tox's test environments, in the tests on GitHub and in the VS Code tasks.
It also adapts the linting to the current Ruff release, which checks two more rules and made the lint check fail on every PR:
CPY001).PLR0917.This needs to be merged before #125 and #124, so that their checks and tests can pass.