Repository navigation
fix(deps): require Pillow 13 and withdraw the marker extra - #85
Merged
Merged
Conversation
Pillow 13.0.0 fixes the advisories published 21-23 October 2026, among them heap overflows in the TIFF, JPEG and JPEG 2000 paths that a crafted scan reaches through Image.open(). Core now requires it. Every marker-pdf release, and surya-ocr under it, requires Pillow below 11, so `tetrak[marker]` could no longer resolve. Left in place, pip might also backtrack to an older tetrak to satisfy it. The extra is withdrawn and leaves the `ocr` and `all` umbrellas. The backend stays registered. Asked for without marker-pdf installed, it raises BackendWithdrawnError, a MissingBackendError that says why instead of naming an extra that no longer exists. pyproject.toml records how to bring Marker back once marker-pdf allows Pillow 13, and a test fails if the extra returns while the backend is still listed as withdrawn. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying tetrak with
|
| Latest commit: |
1efd68e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ae10a855.tetrak.pages.dev |
| Branch Preview URL: | https://fix-pillow-13.tetrak.pages.dev |
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.
Pillow 13.0.0 fixes all 41 advisories published 20–31 October 2026 (GitHub advisory database): 5 critical, 23 high and 13 moderate. They include heap overflows in the TIFF, JPEG and JPEG 2000 paths, which a crafted scan reaches through
Image.open(). Core now requiresPillow>=13.0.The marker extra is withdrawn
Every marker-pdf release, 2.x included, requires
Pillow<11, and so does surya-ocr under it. Sotetrak[marker]can't be installed alongside a patched core. If the extra stayed, pip might backtrack to an older tetrak to satisfy it. So:markerextra is removed, andmarkerleaves theocrandallumbrellas.BackendWithdrawnError, which subclassesMissingBackendError, so fallbacks still work. The message says why the backend is unavailable and suggests tetrak 5.20 or earlier for Marker; it no longer names an extra that doesn't exist.pyproject.tomlexplains how to bring Marker back once marker-pdf allows Pillow 13. A test fails if the extra is restored while the backend is still listed as withdrawn.Checks
-Wbuild, markdownlint and the site build are clean.uv pip compileresolves.[all]and.[armenian]topillow==13.0.0on both Linux x86_64 and macOS arm64. The SBOM matrix loses itsmarkertarget automatically.This is
fix:, so it cuts 5.20.1 and PyPI installs get the new floor.🤖 Generated with Claude Code