Skip to content

Update pymupdf requirement from >=1.22.3 to >=1.28.2 - #23

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Updates the requirements on pymupdf to permit the latest version.

Release notes

Sourced from pymupdf's releases.

PyMuPDF-1.28.2 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 1.28.2 ()

Fixed issues:

Other:

  • Use MuPDF-1.28.2.
  • Output warning when legacy fitz module is imported.
  • Cope better with markdown containing illegal utf8 sequences.
  • Fixed building with PYMUPDF_SETUP_MUPDF_VS_UPGRADE.
  • pymupdf.Page.find_tables():
    • new args use_layout: bool = True union: bool = False refine: bool = False.
    • Improved speed.
  • Retrospectively added fix for #4936 in release 1.28.0 below.
Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 2.1

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
  • 12786d1 tests/test_general.py:test_5054(): expect success after recent fix in mupdf m...
  • 6adaca9 src/init.py:JM_get_font(): cope with mupdf master fz_lookup_noto_font()'s...
  • 59525c7 changes.txt: updates for 1.28.2.
  • 948bfba tests/test_pynone.py: renamed test to test_5042() to match github issue.
  • 48b26ea .github/ISSUE_TEMPLATE/bug_report.yml: added 1.28.2.
  • 6f98b39 setup.py: increment version to 1.28.2.
  • 32eacbf tests/test_font.py:test_5049(): don't overwrite input file.
  • 1ef7703 setup.py: misc cleanups.
  • eb32057 tests/: added test_5054().
  • c47e4c1 Add test for fixing #5056
  • 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@1.22.3...1.28.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants