Repository navigation
feat: drop Python 3.10 support and bump filelock to 4.2.7 - #136
Merged
Merged
Conversation
Python 3.10 reached EOL on 2026-10-31, and every filelock release that fixes the 13 open Dependabot alerts (filelock lock-file symlink and permission flaws, first patched in 4.2.1) requires Python >= 3.11. Dropping 3.10 is therefore what makes those alerts fixable at all: - pyproject: requires-python >=3.11, drop 3.10 classifier, pyright pythonVersion 3.11 - ci.yml: matrix now 3.11-3.14 - docs: README badge, INSTALLATION, DEVELOPMENT, AGENTS.md, bug template - uv.lock: filelock 3.32.6 -> 4.2.7 (single entry); drops the 3.10-only backports exceptiongroup and backports-asyncio-runner Validated with ruff, pyright (0 errors) and pytest: 2110 passed; the 3 failures are the pre-existing network-fixture ones that also fail on main.
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
Drops Python 3.10 support and bumps
filelockto 4.2.7, closing the 13 open Dependabot alerts (#13–#25: 1 high, 9 moderate, 3 low).filelockexceptiongroupbackports-asyncio-runnerWhy Python 3.10 has to go
This was evaluated before committing to the change:
filelockrelease that fixes these alerts requires Python >= 3.11. No 3.10-compatible version (max4.1.0) fixes 12 of the 13 advisories —uv's best effort with 3.10 kept was a split lock (4.1.0+4.2.6), which Dependabot still flags because4.1.0sits inside the vulnerable ranges (<= 4.2.0).sys.version_infoshims, notyping_extensionsusage insrc/, and the Docker image already shipspython:3.14-slim. All 3.10 references were support-matrix metadata and docs only.The
filelockvulnerabilities themselves are local multi-user lock-file flaws (symlink/journal planting, claim-directory permissions), andfilelockis a dev-only transitive dependency (pre-commit->virtualenv->filelock), so this was not urgent — but 3.10's EOL plus the hard version gate made dropping it the clean, permanent fix rather than dismissing the alerts.Changes
pyproject.toml:requires-python = ">=3.11", drop the 3.10 classifier, pyrightpythonVersion = "3.11".github/workflows/ci.yml: matrix now["3.11", "3.12", "3.13", "3.14"]uv.lock:filelock4.2.7 (single entry), re-resolved for>=3.11docs/INSTALLATION.md,docs/DEVELOPMENT.md,AGENTS.md, bug-report template exampleValidation
uv lock/uv sync --extra api --extra dev— clean resolution, singlefilelockentry at 4.2.7uv run ruff check .— all checks passuv run pyright— 0 errors, 0 warnings (withpythonVersion = 3.11)uv run pytest -m "not slow and not network"— 2110 passed, 3 failed; the 3 are the pre-existing network-fixture failures that reproduce identically onmainFollow-ups
main(Dependabot re-scansuv.lock). No manual dismissal needed — strategy C (dismissals) was deliberately not applied, since B resolves every one of the 13.feat:(per maintainer decision) rather thanfeat!:, so release-please will cut 2.34.0 instead of a major bump, even though 3.10 users will no longer be able to install new versions.