Skip to content

Require Python 3.11 and fix Dependabot alerts 62 to 104 - #15

Merged
falkoschindler merged 2 commits into
mainfrom
require-python-3.11
Oct 24, 2026
Merged

falkoschindler merged 2 commits into
mainfrom
require-python-3.11

Conversation

@falkoschindler

@falkoschindler falkoschindler commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Python 3.10 reached end-of-life in October 2026, and Pillow 13.0.0, which fixes 41 of the open Dependabot alerts, requires Python >= 3.11. This PR raises the floor and then fixes all 43 open alerts.

Require Python 3.11

  • requires-python, ruff's target-version and mypy's python_version now point to 3.11.
  • pyupgrade --py311-plus found nothing to rewrite.
  • uv lock dropped the 3.10-only backports (async-timeout, backports-asyncio-runner, exceptiongroup, tomli) and the 3.10 forks of contourpy, ipython, matplotlib and numpy.

Fix Dependabot alerts 62 to 104

All are on transitive dependencies, now pinned in pyproject.toml to the patched minimum with the alert linked in a comment:

  • 41 alerts on Pillow < 13.0.0, pulled in by matplotlib: 12.3.0 → 13.0.0
  • alert 102 on setuptools < 84.1.0, pulled in by odrive: 83.0.0 → 84.2.1
  • alert 62 on certifi < 2026.10.19, pulled in by nicegui and httpx: 2026.6.17 → 2026.10.23

Ruff, mypy and pytest pass locally, and the real odrive package (incl. odrive.pyfibre) still imports with the new setuptools. ※

Python 3.10 reached end-of-life in October 2026,
and Pillow 13.0.0, which fixes the open Dependabot alerts on Pillow, requires Python >= 3.11.
requires-python, ruff's target-version and mypy's python_version now point to 3.11.
pyupgrade --py311-plus found nothing to rewrite.
uv lock dropped the 3.10-only backports (async-timeout, backports-asyncio-runner, exceptiongroup, tomli)
and the 3.10 forks of contourpy, ipython, matplotlib and numpy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@falkoschindler falkoschindler added the enhancement New feature or request label Oct 24, 2026
@falkoschindler falkoschindler added this to the 0.3 milestone Oct 24, 2026
… 104

All 43 open alerts are on transitive dependencies in uv.lock:
41 alerts on Pillow < 13.0.0 (patched in 13.0.0, pulled in by matplotlib),
alert 102 on setuptools < 84.1.0 (patched in 84.1.0, pulled in by odrive)
and alert 62 on certifi (patched in 2026.10.19, pulled in by nicegui and httpx).
All three are now pinned in pyproject.toml to the patched minimum, with an alert linked in a comment.
uv lock moved pillow 12.3.0 -> 13.0.0, setuptools 83.0.0 -> 84.2.1 and certifi 2026.6.17 -> 2026.10.23;
Pillow 13 requires Python >= 3.11, which the previous commit made the floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@falkoschindler falkoschindler changed the title Require Python 3.11 Require Python 3.11 and fix Dependabot alerts 62 to 104 Oct 24, 2026
@falkoschindler
falkoschindler merged commit 707518e into main Oct 24, 2026
6 checks passed
@falkoschindler
falkoschindler deleted the require-python-3.11 branch October 24, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant