Skip to content

Commit 623370c

Browse files
committed
fix: create-pull-request v7; pillow version to 12
1 parent dd36d08 commit 623370c

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/update-lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
fi
4848
4949
- name: Open PR if lock file changed
50-
uses: peter-evans/create-pull-request@v7
50+
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
5151
with:
5252
commit-message: "chore: update requirements-lock.txt"
5353
branch: "chore/update-lock-file"

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ requires-python = ">=3.10"
1818
dependencies = [
1919
"flask>=3.0,<4",
2020
"fpdf2>=2.7,<3",
21-
# Security floor: fpdf2 allows Pillow>=8.3.2, so 9.x can still be resolved.
22-
# CVE-2024-28219 (buffer overflow) fixed in Pillow 10.3.0 — https://nvd.nist.gov/vuln/detail/CVE-2024-28219
23-
"pillow>=10.3.0,<11",
21+
# Security floor: fpdf2 allows Pillow>=8.3.2 (no upper cap); pin 12.x to avoid
22+
# known high-severity CVEs in Pillow 10.x (e.g. CVE-2024-28219 and later advisories).
23+
"pillow>=12.2.0,<13",
2424
]
2525

2626
[project.optional-dependencies]

requirements-lock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ fpdf2==2.8.7 # via -r requirements.txt
1313
itsdangerous==2.2.0 # via flask
1414
jinja2==3.1.6 # via flask
1515
markupsafe==3.0.3 # via flask, jinja2, werkzeug
16-
pillow==10.4.0 # via -r requirements.txt, fpdf2
16+
pillow==12.2.0 # via -r requirements.txt, fpdf2
1717
werkzeug==3.1.8 # via flask

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# pip install -e ".[desktop]" (+ pywebview for the GUI launcher)
77
flask>=3.0,<4
88
fpdf2>=2.7,<3
9-
pillow>=10.3.0,<11
9+
pillow>=12.2.0,<13
1010
# pywebview is desktop-only — install with: pip install -e ".[desktop]"

0 commit comments

Comments
 (0)