Skip to content

Support Python 3.10 to 3.15 - #126

Merged
bittner merged 2 commits into
mainfrom
python-3.10-to-3.15
Nov 11, 2026
Merged

bittner merged 2 commits into
mainfrom
python-3.10-to-3.15

Conversation

@bittner

@bittner bittner commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

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:

  • Ruff now recognizes our SPDX headers as copyright notices (CPY001).
  • One test, which receives its mocks from decorators as positional arguments, is exempt from PLR0917.

This needs to be merged before #125 and #124, so that their checks and tests can pass.

@bittner bittner self-assigned this Nov 11, 2026
@bittner bittner added the chore Project maintenance label Nov 11, 2026
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
bittner force-pushed the python-3.10-to-3.15 branch from e37c40b to 27aff52 Compare November 11, 2026 21:28
@bittner
bittner merged commit 31abec4 into main Nov 11, 2026
34 checks passed
@bittner
bittner deleted the python-3.10-to-3.15 branch November 11, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Project maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant