Skip to content

Commit b18d200

Browse files
Update changelog, version numbers and release dates for release 1.24.3.
1 parent 89f9b44 commit b18d200

File tree

7 files changed

+23
-11
lines changed

7 files changed

+23
-11
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ body:
4747
label: PyMuPDF version
4848
options:
4949
-
50+
- 1.24.3
5051
- 1.24.2
5152
- 1.24.1
5253
- 1.24.0

READMErb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PyMuPDF 1.24.1
1+
# PyMuPDF 1.24.3
22

33
This wheel contains [MuPDF](https://mupdf.readthedocs.io/) shared libraries for
44
use by [PyMuPDF](https://pymupdf.readthedocs.io/).

changes.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@ Change Log
22
==========
33

44

5-
**Changes in version 1.24.3 ()**
5+
**Changes in version 1.24.3 (2024-05-08)**
66

77
*
88
The Python module is now called `pymupdf`. `fitz` is still supported for
99
backwards compatibility.
1010

11+
* Use MuPDF-1.24.2.
12+
1113
* Fixed issues:
1214

13-
* **Fixed** `3402 <https://github.com/pymupdf/PyMuPDF/issues/3402>`_: Cannot add Widgets containing inter-field-calculation JavaScript
15+
* **Fixed** `3357 <https://github.com/pymupdf/PyMuPDF/issues/3357>`_: PyMuPDF==1.24.0 will hanging when using page.get_text("text")
16+
* **Fixed** `3376 <https://github.com/pymupdf/PyMuPDF/issues/3376>`_: Redacting results are not as expected in 1.24.x.
1417
* **Fixed** `3379 <https://github.com/pymupdf/PyMuPDF/issues/3379>`_: Documentation mismatch for get_text_blocks return value order.
15-
* **Fixed** `3414 <https://github.com/pymupdf/PyMuPDF/issues/3414>`_: missing attribute set_dpi()
1618
* **Fixed** `3381 <https://github.com/pymupdf/PyMuPDF/issues/3381>`_: Contents stream contains floats in scientific notation
19+
* **Fixed** `3402 <https://github.com/pymupdf/PyMuPDF/issues/3402>`_: Cannot add Widgets containing inter-field-calculation JavaScript
20+
* **Fixed** `3414 <https://github.com/pymupdf/PyMuPDF/issues/3414>`_: missing attribute set_dpi()
21+
* **Fixed** `3430 <https://github.com/pymupdf/PyMuPDF/issues/3430>`_: page.get_text() cause process freeze with certain pdf on v1.24.2
1722

1823
* Other:
1924

@@ -22,6 +27,9 @@ Change Log
2227
* `Page.remove_rotation()`: new, set page rotation to zero while keeping appearance.
2328

2429
* Fixed some problems when checking for PDF properties.
30+
* Fixed pip builds from sdist
31+
(see discussion `3360 <https://github.com/pymupdf/PyMuPDF/discussions/3360>`_:
32+
Alpine linux docker build failing "No matching distribution found for pymupdfb==1.24.1").
2533

2634

2735
**Changes in version 1.24.2 (2024-04-17)**

docs/version.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
----
22

3-
This documentation covers **PyMuPDF v1.24.2** features as of **2024-04-17 00:00:01**.
3+
This documentation covers **PyMuPDF v1.24.3** features as of **2024-05-08 00:00:01**.
44

55
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**.
66

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Default behaviour:
1212
1313
Building an sdist:
14-
As of 1.23.26 we no longer download the MuPDF .tar.gz file and
14+
As of 2024-002-28 we no longer download the MuPDF .tar.gz file and
1515
embed it within the sdist. Instead it will be downloaded at build
1616
time.
1717
@@ -386,7 +386,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
386386
log(f'get_mupdf_internal(): {out=} {location=} {sha=}')
387387
assert out in ('dir', 'tgz')
388388
if location is None:
389-
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.1-source.tar.gz'
389+
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.2-source.tar.gz'
390390
#location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git'
391391

392392
if location == '':
@@ -1117,8 +1117,8 @@ def sdist():
11171117
# We generate different wheels depending on g_flavour.
11181118
#
11191119

1120-
version = '1.24.2'
1121-
version_b = '1.24.1'
1120+
version = '1.24.3'
1121+
version_b = '1.24.3'
11221122

11231123
if os.path.exists(f'{g_root}/{g_pymupdfb_sdist_marker}'):
11241124

src/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ def _int_rc(text):
183183
return int(text)
184184

185185
VersionFitz = mupdf.FZ_VERSION # MuPDF version.
186-
VersionBind = "1.24.2" # PyMuPDF version.
187-
VersionDate = "2024-04-17 00:00:01"
186+
VersionBind = "1.24.3" # PyMuPDF version.
187+
VersionDate = "2024-05-08 00:00:01"
188188
VersionDate2 = VersionDate.replace('-', '').replace(' ', '').replace(':', '')
189189
version = (VersionBind, VersionFitz, VersionDate2)
190190
pymupdf_version_tuple = tuple( [_int_rc(i) for i in VersionBind.split('.')])

tests/test_general.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,9 @@ def test_3354():
12221222
assert document.metadata == v
12231223

12241224
def test_scientific_numbers():
1225+
'''
1226+
This is #3381.
1227+
'''
12251228
doc = pymupdf.open()
12261229
page = doc.new_page(width=595, height=842)
12271230
point = pymupdf.Point(1e-11, -1e-10)

0 commit comments

Comments
 (0)