Skip to content

Jules - changes for 2.0 - #5141

Draft
julian-smith-artifex-com wants to merge 29 commits into
mainfrom
jules
Draft

julian-smith-artifex-com wants to merge 29 commits into
mainfrom
jules

Conversation

@julian-smith-artifex-com

Copy link
Copy Markdown
Collaborator
  1. import pymupdf now internally imports layout and 4llm. It silently accepts import errors.
  2. I've updated tests to accept the different output that layout/4llm sometimes give.
  3. Updated various tests to match what mupdf-1.28.5.
  4. PyMuPDF repository now creates package pymupdf-core.
  5. New subdirectory pymupdf-all creates empty package pymupdf which requires pymupdf-core, 4llm and layout.

Associated changes to Aptest are currently at: https://github.com/ArtifexSoftware/aptest/tree/jules#changelog

This is dummy PR. Tests are expected to fail because it relies on changes to other packages - pymupdf4llm, pymuodf_layout etc.

In particular, removed test_release_versions() because pymupdf version is no
longer related to mupdf version.
We move get_requires_for_build_wheel() to be before pipcl.Package().
* Requires exact versions of pymupdf_core, pymupdf4llm and pymupdf_layout.
* Add empty test to prevent spurious errors from pytest.
…out imported.

_use_layout(): new, to allow future testing without layout.
@JorjMcKie
JorjMcKie self-requested a review September 27, 2026 09:56
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