Skip to content

build(deps)!: upgrade all dependencies and require Python 3.11 - #48

Open
sbgaia wants to merge 1 commit into
mainfrom
deps/upgrade-all-filelock-cve
Open

sbgaia wants to merge 1 commit into
mainfrom
deps/upgrade-all-filelock-cve

Conversation

@sbgaia

@sbgaia sbgaia commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Requested by Sebastiano · project thread

Why

The Security workflow has been failing on main since the last dependency merges: pip-audit reports 9 known vulnerabilities in filelock 3.25.2 (fixed in 4.2.1, one in 4.0.9). Every filelock release with the fix requires Python ≥ 3.11, so the template can't be patched while it still supports 3.10. Python 3.10 reached end of life in October 2026.

What changes

  • uv lock --upgrade: every locked package moves to its latest allowed version (filelock 4.2.9, ruff 0.16.10, pyrefly 1.4.1, pytest 9.2.0, tox 4.67.13, …). This supersedes the open Dependabot PR build(deps): bump the python-dependencies group across 1 directory with 10 updates #47.
  • Minimum Python is now 3.11: requires-python, pyrefly python-version, ruff target-version.
  • tox.ini and the CI workflows drop 3.10; PYTHON_VERSION is now 3.11.
  • scripts/bootstrap_template.py no longer offers 3.10 as a minimum version.
  • release.yaml: an outdated comment about 3.10 is updated (the regex step is unchanged).

This is a breaking change for projects bootstrapped with a 3.10 floor, hence the !.

Checks run locally (Python 3.13)

tox env Result
py313 104 passed, 1 skipped
formatter clean
type 0 errors
coverage 100%
security no known vulnerabilities
build OK
template fails locally on main as well: the sandbox cannot reach docs.python.org for intersphinx. Left to CI.

Generated by Claude Code

The Security workflow failed on main: pip-audit reported 9 CVEs in
filelock 3.25.2. The fixed releases (>=4.2.1) require Python 3.11, and
Python 3.10 reached end of life in October 2026, so the template floor
moves to 3.11.

- uv lock --upgrade: all locked packages updated (filelock 4.2.9)
- requires-python >=3.11, pyrefly python-version 3.11, ruff py311
- tox env list and CI matrices drop 3.10; PYTHON_VERSION is 3.11
- bootstrap script no longer offers 3.10 as a minimum version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDKWjmrh1RGKKyHTe9FrT2
@sbgaia sbgaia self-assigned this Nov 8, 2026

sbgaia commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

All checks on this head failed before any step ran. GitHub's annotation on each job says: "The job was not started because your account is locked due to a billing issue." So no code has been tested in CI yet, and nothing in this PR can change that. Once the account's Actions billing is resolved, the checks need a re-run.

Locally on Python 3.13: tests, ruff, pyrefly, coverage (100%), pip-audit and the build all pass.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants