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.0
Fixed issues:
- Fixed #4994
- Fixed #5054
- Fixed #5055
- Fixed #5059
- Fixed #5067
- Fixed #5077
- Fixed #5082
- Fixed #5100
- Fixed #5101
- Fixed #5108
- Fixed #5112
- Fixed #5122
- Fixed #5125
- Fixed #5140
- Fixed #5152
- Fixed #5154
- Fixed #5165
Other:
- Added support for form field hierarchies.
- Added support for radio button groups.
- Added support for widget aliases.
- Fixed builds with swig-4.5.
- Fixed
https://bugs.ghostscript.com/show_bug.cgi?id=709683_ Path Traversal and Arbitrary File Write in PyMuPDF CLI Font Extraction (CVE-2026-82035) - Fixed ignoring aspect ratio for square images.
- Fixed potential SEGV in pymupdf.Page.get_cdrawings() if callback raises exception.
- Fixed use with python-3.15.
- Remove the debug timing loop from
Annot.update(). - Retrospectively marked #3478 fixed in 1.25.3.
- Retrospectively marked #4158 fixed in 1.27.2.2
- Retrospectively marked #4896 fixed in 1.28.0.
- Retrospectively marked #4918 fixed in 1.28.0.
- Supported Python versions are now 3.11-3.15.
- Use MuPDF-1.28.5.
- Warning for use of deprecated
fitzAPI now useswarnings.warn()withFutureWarning.