Skip to content

Commit

Permalink
Updated versions and dates for 1.23.1.
Browse files Browse the repository at this point in the history
Note that this release uses older MuPDF binaries in wheel
PyMuPDFb-1.23.0.
  • Loading branch information
julian-smith-artifex-com committed Aug 23, 2023
1 parent 3217a81 commit eef9878
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion READMErb.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PyMuPDF 1.23.0
# PyMuPDF 1.23.1

This wheel contains MuPDF shared libraries for use by PyMuPDF.

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.23.0** features as of **2023-08-22 00:00:01**.
This documentation covers **PyMuPDF v1.23.1** features as of **2023-08-23 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**.

6 changes: 3 additions & 3 deletions fitz/version.i
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%pythoncode %{
VersionFitz = "1.23.0" # MuPDF version.
VersionBind = "1.23.0" # PyMuPDF version.
VersionDate = "2023-08-22 00:00:01"
version = (VersionBind, VersionFitz, "20230822000001")
VersionBind = "1.23.1" # PyMuPDF version.
VersionDate = "2023-08-23 00:00:01"
version = (VersionBind, VersionFitz, "20230823000001")
%}
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,8 @@ def sdist():
# We generate different wheels depending on g_flavour.
#

version = '1.23.0'
version = '1.23.1'
version_b = '1.23.0' # Use older PyMuPDFb wheels.

tag_python = None
requires_dist = None,
Expand All @@ -1164,12 +1165,13 @@ def sdist():
elif g_flavour == 'p':
name = 'PyMuPDF'
readme = readme_
requires_dist = f'PyMuPDFb =={version}'
requires_dist = f'PyMuPDFb =={version_b}'
elif g_flavour == 'b':
name = 'PyMuPDFb'
summary = 'MuPDF shared libraries for PyMuPDF.'
readme = readme_rb
tag_python = 'py3' # Works with any Python version.
version = version_b
else:
assert 0, f'Unrecognised flavour: {g_flavour}'

Expand Down
7 changes: 3 additions & 4 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21234,9 +21234,8 @@ class FitzDeprecation(DeprecationWarning):


VersionFitz = "1.23.0" # MuPDF version.
VersionBind = "1.23.0" # PyMuPDF version.
VersionDate = "2023-07-28 00:00:01"
version = (VersionBind, VersionFitz, "20230728000001")
VersionBind = "1.23.1" # PyMuPDF version.
VersionDate = "2023-08-23 00:00:01"
VersionDate2 = VersionDate.replace('-', '').replace(' ', '').replace(':', '')
version = (VersionBind, VersionFitz, VersionDate2)

Expand Down Expand Up @@ -21524,4 +21523,4 @@ def deprecated_function( *args, **kwargs):
if 0:
restore_aliases()

__version__ = VersionBind
__version__ = VersionBind

0 comments on commit eef9878

Please sign in to comment.