Skip to content

chore: bump deps for Dependabot alerts (pypdf, torch/torchaudio) - #49

Merged
lkmeta merged 1 commit into
mainfrom
chore/dependabot-bumps
Aug 15, 2026
Merged

lkmeta merged 1 commit into
mainfrom
chore/dependabot-bumps

Conversation

@lkmeta

@lkmeta lkmeta commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Problem

Open Dependabot alerts: pypdf 2× moderate (#67 CID font width ranges, #68 /ToUnicode streams) and torch 4× low (#51/#64 lstm_cell, #65/#66 jit.script) memory-corruption advisories.

Change

  • pypdf 6.14.2 → 6.16.1 (dev-only; resolves both moderate alerts). fpdf2 still writes PDFs; pypdf only reads them in tests.
  • torch / torchaudio 2.9.1 → 2.11.0 — in both requirements.txt and the Dockerfile's CPU-only install (kept identical, per the _torchaudio.abi3.so import-crash invariant).

Torch alert status

  • ✅ Clears the < 2.10.0 advisory (lstm_cell).
  • ⚠️ The <= 2.12.1 advisory needs torch 2.13.0, but torchaudio's newest CPU wheel is 2.11.0 — they must match, so 2.11.0 is the highest pair available. The remaining alert is blocked on torchaudio releasing 2.13; it'll clear on a follow-up bump once that lands.

Evidence

  • pytest — 70 passed; pypdf 6.16.1 PDF-read test passes.
  • ./scripts/docker_e2e.sh — PASS (image rebuilt with torch/torchaudio 2.11.0; worker imports the ML stack + stable-ts and transcribes; all formats, mkv, translation).

- pypdf 6.14.2 -> 6.16.1 (dev-only; resolves the two moderate /ToUnicode and
  CID-font-width alerts). fpdf2 still writes PDFs; pypdf only reads them in tests.
- torch/torchaudio 2.9.1 -> 2.11.0 (both requirements.txt and the Dockerfile's
  CPU-only install, kept identical to avoid the _torchaudio.abi3.so import
  crash). Clears the "< 2.10.0" advisory (lstm_cell). The "<= 2.12.1" advisory
  needs torch 2.13.0, but torchaudio's newest CPU wheel is 2.11.0 — they must
  match, so 2.11.0 is the highest pair available until torchaudio catches up.

Verified: pytest 74; pypdf 6.16.1 PDF read test passes; ./scripts/docker_e2e.sh
PASS (worker imports torch/torchaudio 2.11.0 + stable-ts and transcribes).
@lkmeta
lkmeta merged commit b54c884 into main Aug 15, 2026
4 checks passed
@lkmeta
lkmeta deleted the chore/dependabot-bumps branch August 15, 2026 13:23
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