Skip to content

Update pymupdf requirement from >=2.0 to >=2.1 - #16

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymupdf-gte-2.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymupdf-gte-2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pymupdf to permit the latest version.

Release notes

Sourced from pymupdf's releases.

PyMuPDF-2.1 released

Wheels for Windows, Linux and MacOS, and the sdist, are available on https://pypi.org and can be installed in the usual way, for example:

python -m pip install --upgrade pymupdf

Changes in version 2.1

Fixed issues:

Other:

  • Improve upgrade from 1.x to 2.x via pymupdf4llm or pymupdf_layout.
  • Reduced startup time using lazy internal import of large modules.
  • Retrospectively added date of 2.0 release.
  • Retrospectively marked #5115 as fixed in 2.0.
  • Use MuPDF-1.28.6.
Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 2.1 (2026-11-02)

Fixed issues:

  • Fixed 5196 <https://github.com/pymupdf/PyMuPDF/issues/5196>_: PyMuPDF 2.0 eagerly initializes layout on import, increasing CPU and thread overhead in spawned workers
  • Fixed 5214 <https://github.com/pymupdf/PyMuPDF/issues/5214>_: get_label() and get_page_labels() mangle page-label prefixes that contain '/', string escapes or UTF-16 text
  • Fixed 5216 <https://github.com/pymupdf/PyMuPDF/issues/5216>_: Documentation: Mention PDF rotation in Page.show_pdf() documentation
  • Fixed 5220 <https://github.com/pymupdf/PyMuPDF/issues/5220>_: Page.get_texttrace(): character bbox height follows X scale instead of Y scale

Other:

  • Improve upgrade from 1.x to 2.x via pymupdf4llm or pymupdf_layout.
  • Reduced startup time using lazy internal import of large modules.
  • Retrospectively added date of 2.0 release.
  • Retrospectively marked #5115 as fixed in 2.0.
  • Use MuPDF-1.28.6.

Changes in version 2.0 (2026-10-19)

Fixed issues:

  • Fixed 4994 <https://github.com/pymupdf/PyMuPDF/issues/4994>_: Dehyphenate does no longer work since 1.27.1
  • Fixed 5054 <https://github.com/pymupdf/PyMuPDF/issues/5054>_: clean_contents(sanitize=True) drops glyph positioning, duplicating an overprinted leading glyph (regression in 1.28.0 from 1.27.2.3)
  • Fixed 5055 <https://github.com/pymupdf/PyMuPDF/issues/5055>_: insert_file(...) breaks radio button groups
  • Fixed 5059 <https://github.com/pymupdf/PyMuPDF/issues/5059>_: Annotations disappear or move when using Page.remove_rotation() for 90 or 270 rotated pages
  • Fixed 5067 <https://github.com/pymupdf/PyMuPDF/issues/5067>_: Memory leak in extractBLOCKS (_as_blocks): text object reference never released
  • Fixed 5077 <https://github.com/pymupdf/PyMuPDF/issues/5077>_: Page.remove_rotation() takes minutes on pages with thousands of links
  • Fixed 5082 <https://github.com/pymupdf/PyMuPDF/issues/5082>_: Regression in 1.28.x: get_pixmap() and get_text() hang at 100% CPU on a specific PDF; works in 1.27.2.3
  • Fixed 5100 <https://github.com/pymupdf/PyMuPDF/issues/5100>_: Import of fitz prints to console instead of generating a DeprecationWarning
  • Fixed 5101 <https://github.com/pymupdf/PyMuPDF/issues/5101>_: Cyclic Widget /Parent makes page operations fail with FzErrorFormat: code=7: cycle in resources
  • Fixed 5108 <https://github.com/pymupdf/PyMuPDF/issues/5108>_: Page.clip_to_rect() drops 'sh' (shading) operators
  • Fixed 5112 <https://github.com/pymupdf/PyMuPDF/issues/5112>_: Stack-based buffer overflow in JM_set_annot_callout_line
  • Fixed 5115 <https://github.com/pymupdf/PyMuPDF/issues/5115>_: Pixmap export 'unmultiply' option has no effect
  • Fixed 5122 <https://github.com/pymupdf/PyMuPDF/issues/5122>_: get_drawings() reports a wrong start point for a subpath following a re with negative width/height
  • Fixed 5125 <https://github.com/pymupdf/PyMuPDF/issues/5125>_: get_pixmap() never returns on a tagged PDF page with many MCIDs - pdf_lookup_mcid_in_mcids is a linear scan, making rendering O(n**2) per page
  • Fixed 5140 <https://github.com/pymupdf/PyMuPDF/issues/5140>_: Page.get_label() raises IndexError when the page precedes the first label definition
  • Fixed 5152 <https://github.com/pymupdf/PyMuPDF/issues/5152>_: apply_redactions() does not remove text shown with the ' operator after TL + Td (regression in 1.28)
  • Fixed 5154 <https://github.com/pymupdf/PyMuPDF/issues/5154>_: insert_pdf raises ValueError: is not in list when a widget's /Parent does not list it in /Kids
  • Fixed 5165 <https://github.com/pymupdf/PyMuPDF/issues/5165>_: Page.add_widget fails for radio buttons

Other:

  • Added support for form field hierarchies.
  • Added support for radio button groups.
  • Added support for widget aliases.

... (truncated)

Commits
  • 16c664f tests/test_metadata.py add tests for set_metadata() update to trailer.
  • fa222d0 src/init.py:xref_set_key(): fix update to trailer.
  • c109ebc tests/test_general.py:test_5182(): avoid failure with pyodide and free-thread...
  • d2423b1 changes.txt: updates for 2.1.
  • dbddcf2 tests/test_upgrade.py: new, checks upgrade from 1.x to current pymupdf 2.x ve...
  • f721d71 tests/util.py: added diff_dicts().
  • 27f4a6c setup.py: default to mupdf-1.28.6.
  • 659bae4 .github/ISSUE_TEMPLATE/bug_report.yml: update for 2.1.
  • f4c638d setup.py: update version to 2.1.
  • 4bdb17b tests/test_general.py: test_5182(), new, checks warnings/errors with old swig.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pymupdf](https://github.com/pymupdf/pymupdf) to permit the latest version.
- [Release notes](https://github.com/pymupdf/pymupdf/releases)
- [Changelog](https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt)
- [Commits](pymupdf/PyMuPDF@2.0...2.1)

---
updated-dependencies:
- dependency-name: pymupdf
  dependency-version: '2.1'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 16, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 16, 2026 09:35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants