Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ Change Log
==========


**Changes in version **

* Fixed issues:

* Other:

* Add `Page.clip_to_rect()`.
* Improved search for Tesseract data.
* Retrospectively mark #4496 as fixed in 1.26.1.
* Document.insert_pdf(): Ignore erroneous widgets.
* Added experimental support for Graal.


**Changes in version 1.26.3 (2025-07-02)**

* Use MuPDF-1.26.3.
Expand Down
22 changes: 9 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,15 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
_path = os.path.abspath(f'{__file__}/../../src/__init__.py')
with open(_path) as f:
for line in f:
match = re.search('pymupdf_version = "([0-9][.][0-9]+[.][0-9]+(rc[0-9]+)?)"', line)
if match:
release = match.group(1)
print(f'{__file__}: setting version from {_path}: {release}')
break
else:
raise Exception(f'Failed to find `VersionBind = ...` in {_path}')

# The short X.Y version
version = release

# PyMuPDF version is set in setup.py, so we import it here.
sys.path.insert(0, os.path.abspath(f'{__file__}/../..'))
try:
import setup
finally:
del sys.path[0]
version = setup.version_p
del setup # Necessary otherwise sphinx seems to do `setup()`.

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

--cibw-pyodide-version <cibw_pyodide_version>
Override default Pyodide version to use with `cibuildwheel` command. If
empty string with use cibuildwheel's default.
empty string we use cibuildwheel's default.

--cibw-release-1
Set up so that `cibw` builds all wheels except linux-aarch64, and sdist
Expand Down
Loading