Skip to content

Drop Python 3.10 and lock the patched Pillow, filelock and virtualenv - #182

Merged
ttktjmt merged 1 commit into
mainfrom
fix/dependabot-alerts
Oct 25, 2026
Merged

ttktjmt merged 1 commit into
mainfrom
fix/dependabot-alerts

Conversation

@ttktjmt

@ttktjmt ttktjmt commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Summary

Closes 17 of the 18 open Dependabot alerts, all transitive pins in uv.lock. Pillow 13 and filelock 4.2.1, the patched releases, require Python 3.11, and Python 3.10 reaches its end of life this month, so requires-python moves to >=3.11.

What changes

  • requires-python = ">=3.11". The 3.10 classifier, the 3.10 row of the pytest matrix and the 3.10 mentions in CONTEXT.md, the installation page and both mjlab-to-mjswan skill docs go with it.
  • uv.lock takes Pillow 13.0.0, filelock 4.2.4 and virtualenv 21.14.12. The rest of the diff only removes the packages the 3.10 fork alone needed (tomli, exceptiongroup, numpy 2.2, scipy 1.15 and others). Locked with uv 0.13.5, upgrading only those three packages.
Package Alerts Locked
Pillow 13 (2 critical) 12.3.0 / 13.0.0 → 13.0.0
filelock #158, #160, #161 3.29.0 → 4.2.4
virtualenv #159 21.14.9 → 21.14.12

Still open

virtualenv #154 (GHSA-cx6f-vjhg-g3cc) needs 21.14.13, uploaded 2026-10-22 20:10 UTC and so still inside the three-day exclude-newer window. It clears at 2026-10-25 20:10 UTC; uv lock --upgrade-package virtualenv then closes it. The advisory needs an attacker-chosen --prompt value and a bash user who sources bin/activate. Here virtualenv comes in only through pre-commit, which passes no such value and whose hook environments nobody activates.

Test plan

  • uv lock --check passes with uv 0.13.5
  • uv sync --locked --extra dev then pytest -m "not slow" on Python 3.11: 1089 passed, 34 skipped
  • CI pytest matrix (3.11, 3.12, 3.13) and core job

🤖 Generated with Claude Code

Pillow 13 and filelock 4.2.1, the fixes for the open Dependabot advisories,
require Python 3.11, and 3.10 reaches its end of life this month, so
requires-python moves to >=3.11. The lock takes Pillow 13.0.0, filelock 4.2.4
and virtualenv 21.14.12. virtualenv 21.14.13 (GHSA-cx6f-vjhg-g3cc) is still
inside the three-day exclude-newer window.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mjswan with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4585f65
Status: ✅  Deploy successful!
Preview URL: https://b6df89b2.mjswan.pages.dev
Branch Preview URL: https://fix-dependabot-alerts.mjswan.pages.dev

View logs

@ttktjmt
ttktjmt merged commit dccd636 into main Oct 25, 2026
8 checks passed
@ttktjmt
ttktjmt deleted the fix/dependabot-alerts branch October 25, 2026 08:09
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.

1 participant