Repository navigation
Drop support for Python 3.9 and 3.10 - #47
Merged
Merged
Conversation
- requires-python >=3.11; remove 3.9/3.10 classifiers and CI matrix entries - ruff target-version py311, pre-commit default python 3.11, .python-version 3.11 - remove 3.9-only workarounds: tp.Optional in cli/toggle.py, PEP 626 coverage pragmas - about.py: use `key in metadata` + `metadata[key]` (PackageMetadata protocol on 3.11 has no .get) - re-lock with uv 0.12.5 (drops 3.9/3.10 resolution forks) Claude-Session: https://claude.ai/code/session_01X16aaEYzUw6qwf6co68x5d
Merged
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.
Python 3.9 and 3.10 are end-of-life. This raises the floor to 3.11.
requires-python = ">=3.11"; drop 3.9/3.10 classifiers and CI matrix entries (testing + linting)target-version = "py311", pre-commit default Python 3.11,.python-versionandjust uv-set-python-versiondefault 3.11tp.Optionalincli/toggle.py(nowstr | None) and the PEP 626 coverage pragmas intoggle.py(coverage still 100%)about.py:metadata.get()isn't in thePackageMetadataprotocol for 3.11, so ty flagged it once 3.9 was gone; usekey in metadata+metadata[key]insteaduv.lockre-locked with uv 0.12.5 (CI version),UV_CONFIG_FILEunset: only drops the 3.9/3.10 resolution forks,exclude-newer-spankeptVerified locally on 3.11 and 3.15: ruff, ty, pytest (43 passed, 100% branch coverage),
uv lock --check.Since this narrows supported Pythons, consider releasing it as 0.2.0 rather than 0.1.2.
https://claude.ai/code/session_01X16aaEYzUw6qwf6co68x5d