Skip to content

Commit

Permalink
Update changelog, version numbers and release dates for release 1.24.9.
Browse files Browse the repository at this point in the history
Also incremented MuPDF version to current latest release, 1.24.8.

In setup.py, include 'd' flavour by default; helps with testing.
  • Loading branch information
julian-smith-artifex-com committed Jul 24, 2024
1 parent 0f45692 commit 9717935
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ body:
label: PyMuPDF version
options:
-
- 1.24.9
- 1.24.8
- 1.24.7
- 1.24.6
Expand Down
5 changes: 5 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ Change Log
==========


**Changes in version 1.24.9 (2024-07-24)**

* Incremented MyPDF version to 1.24.9.


**Changes in version 1.24.8 (2024-07-22)**

* Fixed issues:
Expand Down
2 changes: 1 addition & 1 deletion docs/version.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----

This documentation covers **PyMuPDF v1.24.8** features as of **2024-07-22 00:00:01**.
This documentation covers **PyMuPDF v1.24.9** features as of **2024-07-24 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**.

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def log( text):
log( f' {k}: {v!r}')


PYMUPDF_SETUP_FLAVOUR = os.environ.get( 'PYMUPDF_SETUP_FLAVOUR', 'pb')
PYMUPDF_SETUP_FLAVOUR = os.environ.get( 'PYMUPDF_SETUP_FLAVOUR', 'pbd')
for i in PYMUPDF_SETUP_FLAVOUR:
assert i in 'pbd', f'Unrecognised flag "{i} in {PYMUPDF_SETUP_FLAVOUR=}. Should be one of "p", "b", "pb"'

Expand Down Expand Up @@ -395,7 +395,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
log(f'get_mupdf_internal(): {out=} {location=} {sha=}')
assert out in ('dir', 'tgz')
if location is None:
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.4-source.tar.gz'
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.8-source.tar.gz'
#location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git'

if location == '':
Expand Down Expand Up @@ -1168,8 +1168,8 @@ def sdist():
# We generate different wheels depending on PYMUPDF_SETUP_FLAVOUR.
#

version_p = '1.24.8'
version_b = '1.24.8'
version_p = '1.24.9'
version_b = '1.24.9'

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

Expand Down
4 changes: 2 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ def _int_rc(text):

# Basic version information.
#
pymupdf_version = "1.24.8"
pymupdf_version = "1.24.9"
mupdf_version = mupdf.FZ_VERSION
pymupdf_date = "2024-07-22 00:00:01"
pymupdf_date = "2024-07-24 00:00:01"

# Versions as tuples; useful when comparing versions.
#
Expand Down

0 comments on commit 9717935

Please sign in to comment.