From 3ca9d3dcd84e8603c584f69e4d8f5cb582121f62 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Tue, 26 Sep 2023 21:36:04 +0100 Subject: [PATCH] Update version and dates for release 1.23.4. --- changes.txt | 15 ++++++++------- docs/version.rst | 2 +- fitz/version.i | 6 +++--- setup.py | 2 +- src/__init__.py | 4 ++-- tests/test_general.py | 3 ++- 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/changes.txt b/changes.txt index 8cecd0b90..fddf3dd4b 100644 --- a/changes.txt +++ b/changes.txt @@ -2,20 +2,21 @@ Change Log ========== -**Changes in next release +**Changes in version 1.23.4 (2023-09-26)** * Improved build instructions. * Fixed Tesseract in rebased implementation. * Improvements to build/install with system MuPDF. * Fixed Pyodide builds. +* Fixed rebased bug in _insert_image(). -* **Fixed** `2683 `_: Windows sdist build failure - non-quoting of path and using UNIX which command - -* **Fixed** `2556 `_: Segmentation fault at caling get_cdrawings(extended=True) - -* **Fixed** `2637 `_: Page.insert_textbox incorrectly handles the last word if it starts a new line - +* Bug fixes: + * **Fixed** `2556 `_: Segmentation fault at caling get_cdrawings(extended=True) + * **Fixed** `2637 `_: Page.insert_textbox incorrectly handles the last word if it starts a new line + * **Fixed** `2683 `_: Windows sdist build failure - non-quoting of path and using UNIX which command + * **Fixed** `2691 `_: Page.get_textpage_ocr() bug in rebased fitz_new version + * **Fixed** `2692 `_: Page.get_pixmap(clip=Rect()) bug in rebased fitz_new version **Changes in version 1.23.3 (2023-08-31)** diff --git a/docs/version.rst b/docs/version.rst index bbe99e968..2ca52ffba 100644 --- a/docs/version.rst +++ b/docs/version.rst @@ -1,6 +1,6 @@ ---- -This documentation covers **PyMuPDF v1.23.3** features as of **2023-08-31 00:00:01**. +This documentation covers **PyMuPDF v1.23.4** features as of **2023-09-26 00:00:01**. The major and minor versions of **PyMuPDF** and **MuPDF** will always be the same. Only the third qualifier (patch level) may deviate from that of **MuPDF**. diff --git a/fitz/version.i b/fitz/version.i index cf9ae73bc..592cc2898 100644 --- a/fitz/version.i +++ b/fitz/version.i @@ -1,6 +1,6 @@ %pythoncode %{ VersionFitz = "1.23.2" # MuPDF version. -VersionBind = "1.23.3" # PyMuPDF version. -VersionDate = "2023-08-31 00:00:01" -version = (VersionBind, VersionFitz, "20230831000001") +VersionBind = "1.23.4" # PyMuPDF version. +VersionDate = "2023-09-26 00:00:01" +version = (VersionBind, VersionFitz, "20230926000001") %} diff --git a/setup.py b/setup.py index d748085a7..4563dc197 100755 --- a/setup.py +++ b/setup.py @@ -1194,7 +1194,7 @@ def sdist(): # We generate different wheels depending on g_flavour. # -version = '1.23.3' +version = '1.23.4' version_b = '1.23.3' tag_python = None diff --git a/src/__init__.py b/src/__init__.py index 9ce793b8d..205ae2f0c 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -21249,8 +21249,8 @@ class FitzDeprecation(DeprecationWarning): VersionFitz = "1.23.2" # MuPDF version. -VersionBind = "1.23.3" # PyMuPDF version. -VersionDate = "2023-08-31 00:00:01" +VersionBind = "1.23.4" # PyMuPDF version. +VersionDate = "2023-09-26 00:00:01" VersionDate2 = VersionDate.replace('-', '').replace(' ', '').replace(':', '') version = (VersionBind, VersionFitz, VersionDate2) diff --git a/tests/test_general.py b/tests/test_general.py index 797ce64bf..76e62241d 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -515,7 +515,7 @@ def test_2430(): def test_2692(): document = fitz.Document(f'{scriptdir}/resources/2.pdf') for page in document: - pix = pix = page.get_pixmap(clip=fitz.Rect(0,0,10,10)) + pix = page.get_pixmap(clip=fitz.Rect(0,0,10,10)) dl = page.get_displaylist(annots=True) pix = dl.get_pixmap( matrix=fitz.Identity, @@ -523,3 +523,4 @@ def test_2692(): alpha=False, clip=fitz.Rect(0,0,10,10), ) +