0.24.0: drop PyMuPDF and xgen-contextifier — xgen-pdf + vendored raw layer - #8
Merged
Merged
Conversation
…vendored raw layer - pdf_to_md / rasterize now run on xgen-pdf (pdfium): same API surface (get_text dict/blocks, find_tables, get_drawings, get_pixmap, new_page, insert_image, tobytes). - The lossless raw OOXML layer (open_raw, OpcPackage, ChartModel, ...) is vendored as xgen_edit2docs.raw from xgen-contextifier 0.9.0 (Apache-2.0), so edit2docs no longer depends on xgen-contextifier, which required pymupdf. olefile is declared directly (it came via that path). - Tests that imported fitz use xgen_pdf. 939 tests pass with neither fitz nor xgen_contextifier importable. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Removes the AGPL chain from xgen-edit2docs.
pdf_to_md/render/rasterizerun on xgen-pdf (pdfium via pypdfium2, BSD/Apache) with the same call surface.xgen_edit2docs.rawfrom xgen-contextifier 0.9.0 (Apache-2.0, same authors). No dependency on xgen-contextifier remains, sopymupdfno longer reaches any consumer (xgen-agent-runtime, xgen-workflow).olefiledeclared directly (previously indirect).fitzswitched toxgen_pdf. Full suite: 939 passed, 1 pre-existing skip, in an environment where neitherfitznorxgen_contextifieris importable.Consumers to follow: xgen-agent-runtime 4.37.0 (pin bump), xgen-workflow (pin bump).
🤖 Generated with Claude Code