Skip to content

Fix #90: raise pdfminer.six floor to 20250324 (PDFObjRef crash) - #100

Open
Llicklair wants to merge 1 commit into
Filimoa:mainfrom
Llicklair:fix/pdfminer-six-floor
Open

Llicklair wants to merge 1 commit into
Filimoa:mainfrom
Llicklair:fix/pdfminer-six-floor

Conversation

@Llicklair

Copy link
Copy Markdown

pdfminer.six >= 20200401 allows versions affected by
pdfminer.six#1004
TypeError: 'PDFObjRef' object is not iterable when a page's MediaBox is
an indirect reference. That's the crash in #90, and #57 references the same
upstream issue. Upstream fixed it in release 20250324; this PR raises the
minimum so pip can no longer resolve a broken combination.

No code changes — dependency floor only. Credit to @Binary67 for identifying
the upstream cause in #90.

Disclosure: this contribution was prepared by an AI agent (Claude) operated
by @Llicklair, who reviewed it before submission.

pdfminer.six >= 20200401 allows versions affected by upstream
pdfminer/pdfminer.six#1004 (PDFObjRef not resolved in MediaBox),
which crashes parsing with "TypeError: 'PDFObjRef' object is not
iterable" (Filimoa#90, referenced from Filimoa#57). Upstream fixed it in release
20250324; raising the minimum prevents pip from resolving a broken
combination. Dependency floor only, no code changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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