Repository navigation
Upgrade Pillow, dnspython, filelock, setuptools and virtualenv past their advisories - #2861
Merged
Merged
Conversation
…heir advisories Raise the floors of the direct dependencies Pillow (to 13.0.0) and setuptools (to 84.1.0), and re-lock those two plus dnspython (2.9.2), filelock (4.2.10) and virtualenv (21.15.6), which arrive transitively. No other package moves in uv.lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <felix@seita.nl>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <felix@seita.nl>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Documentation build overview
|
Flix6x
added a commit
that referenced
this pull request
Nov 11, 2026
The v1.1.1 patch release backports #2855, #2861, #2838, #2829, #2851, #2845, #2859, #2850 and #2860 to the 1.1.x branch. Move their changelog bullets out of the v1.2.0 section into a new v1.1.1 section, worded and ordered as on 1.1.x, so the same fixes are not listed as unreleased once 1.1.1 ships. The bullet for #2861 takes the 1.1.x wording, which adds that Python 3.10 keeps the earlier Pillow, dnspython and filelock. The API change log needs no split: v3.0-35 holds only #2859, which ships in v1.1.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <felix@seita.nl>
Flix6x
added a commit
that referenced
this pull request
Nov 11, 2026
…d virtualenv past their advisories (#2861) Adapted rather than cherry-picked from commit 4fbae1c720eb8b09b3a4f3e07f71b1da3dd3e2a9, as 1.1.x still supports Python 3.10, while Pillow 13.0.0, dnspython 2.9.0 and filelock 4.2.1 need Python 3.11 or newer: the Pillow floor of 13.0.0 applies to Python 3.11 and newer only, and uv.lock is re-locked on this branch for the same five packages, so Python 3.11 and 3.12 (and the Docker image) get the fixed versions, while Python 3.10 keeps Pillow 12.3.0, dnspython 2.8.0 and filelock 4.1.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <felix@seita.nl>
Flix6x
added a commit
that referenced
this pull request
Nov 11, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <felix@seita.nl>
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.
Description
Addresses the open Dependabot alerts on
uv.lock, except the one for black (a development tool; upgrading it changes the formatting CI enforces, so it deserves its own PR).>=13.0.0, 41 alerts, 5 critical) and setuptools (>=84.1.0, 1 low alert)uv.lockdocumentation/changelog.rstFlexMeasures does not decode untrusted images itself (Pillow comes in for matplotlib and the optional data model visualisation), so the practical exposure was low; the main gain is that the Docker image and
uv syncinstalls no longer carry these advisories.Backport to 1.1.x (for v1.1.1)
Pillow 13.0.0, dnspython 2.9.0 and filelock 4.2.1 require Python 3.11+, while 1.1.x still supports 3.10.
So on 1.1.x, re-lock with
uv lock -P pillow -P dnspython -P filelock -P setuptools -P virtualenv(which forks the resolution: 3.11 and 3.12, including the Docker image, get the fixed versions, while 3.10 keeps the older ones), and raise the Pillow floor for Python 3.11+ only.How to test
I smoke-tested Pillow 13.0.0, dnspython 2.9.2 and filelock 4.2.10 against FlexMeasures: a matplotlib PNG round trip through Pillow, email validation, and tldextract parsing all work, and the user service and user API tests pass (24 passed). CI runs the rest.
🤖 Generated with Claude Code