Skip to content

Upgrade dependencies to fix security alerts - #28

Merged
suchmaske merged 1 commit into
chore/remove-diskcachefrom
chore/security-deps
Oct 24, 2026
Merged

suchmaske merged 1 commit into
chore/remove-diskcachefrom
chore/security-deps

Conversation

@suchmaske

@suchmaske suchmaske commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Part 2 of the API security upgrade stack.

Summary

  • Pillow 12.3.0 → 13.0.0 (pyproject.toml constraint ^13.0.0): 36 advisories. Only used for facsimiles (open, rotate, save("WEBP")).
  • urllib3 2.8.0, brotli 1.2.1, brotlicffi 1.2.1.0, certifi 2026.10.23, anyio 4.15.1 (lockfile only; anyio drops sniffio and needs typing-extensions 4.16).
  • No other packages changed.

How to test

Setup (gregorovius-env): git -C gregorovius-api switch chore/security-deps, docker compose build gregorovius_api && docker compose up -d gregorovius_api.

  1. curl -o r0.webp http://localhost:8069/facsimiles/G067797/0/0 and .../0/90 → both image/webp; width/height swapped (744×893 → 893×744).
  2. Open https://gregorovius.local/letters/G067797, rotate the facsimile left/right → image turns.

Test plan

  • poetry run pytest: 21 passed
  • Docker image runs Pillow 13.0.0; all endpoints 200, facsimile rotation correct
  • Manual smoke test via the frontend

🤖 Generated with Claude Code

Pillow 13, urllib3 2.8.0, brotli 1.2.1, brotlicffi 1.2.1.0, certifi
2026.10.23 and anyio 4.15.1 (which drops sniffio and needs a newer
typing-extensions).
@suchmaske
suchmaske added this pull request to stack #30 October 24, 2026 11:21
@suchmaske
suchmaske merged commit 8fa6933 into master Oct 24, 2026
1 check passed
@suchmaske
suchmaske deleted the chore/security-deps branch October 24, 2026 11:22
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