Skip to content

Commit

Permalink
Updated version and dates for 1.23.0.
Browse files Browse the repository at this point in the history
Also added info about new table support to changelog.

Also changed to default to building with mupdf-1.23.0-source.tar.gz.
  • Loading branch information
julian-smith-artifex-com committed Aug 22, 2023
1 parent 02f882e commit 4077e5b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# PyMuPDF 1.23.0rc2
# PyMuPDF 1.23.0

![logo](https://artifex.com/images/logos/py-mupdf-github-icon.png)


Release date: August 18, 2023
Release date: August 22, 2023


On **[PyPI](https://pypi.org/project/PyMuPDF)** since August 2016: [![Downloads](https://static.pepy.tech/personalized-badge/pymupdf?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/pymupdf)
Expand Down
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.0rc2
# PyMuPDF 1.23.0

This wheel contains MuPDF shared libraries for use by PyMuPDF.

Expand Down
16 changes: 7 additions & 9 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ Change Log
==========


**Changes in version 1.23.0rc2 (2023-08-18)**
**Changes in version 1.23.0 (2023-08-22)**

* Contains a new "rebased" implementation of PyMuPDF.
* Add method `find_tables()` to the `Page` object.

This allows locating tables on any supported document page, and
extracting table content by cell.

* New "rebased" implementation of PyMuPDF.

The rebased implementation is available as Python module
`fitz_new`. It can be used as a drop-in replacement with `import
Expand All @@ -25,13 +30,6 @@ Change Log

* Other changes:

* Changes since 1.23.0rc1:

* Fixed single-wheel builds.
* Fixed Linux and MacOS ARM builds.
* Fixed SEGV on Windows with Python-3.10.
* Temporarily default to specific MuPDF git sha.

* Dropped support for Python-3.7.

* Fix for wrong page / annot `/Contents` cleaning.
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.0rc2** features as of **2023-08-18 00:00:01**.
This documentation covers **PyMuPDF v1.23.0** features as of **2023-08-22 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.0rc2" # PyMuPDF version.
VersionDate = "2023-08-18 00:00:01"
version = (VersionBind, VersionFitz, "20230818000001")
VersionBind = "1.23.0" # PyMuPDF version.
VersionDate = "2023-08-22 00:00:01"
version = (VersionBind, VersionFitz, "20230822000001")
%}
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def get_mupdf_tgz():
'''
mupdf_url_or_local = os.environ.get(
'PYMUPDF_SETUP_MUPDF_TGZ',
'https://mupdf.com/downloads/archive/mupdf-1.23.0-rc1-source.tar.gz',
'https://mupdf.com/downloads/archive/mupdf-1.23.0-source.tar.gz',
)
log( f'mupdf_url_or_local={mupdf_url_or_local!r}')
if mupdf_url_or_local == '':
Expand Down Expand Up @@ -452,8 +452,8 @@ def get_mupdf():

# 2023-07-11: For now we default to mupdf master.
path = os.environ.get( 'PYMUPDF_SETUP_MUPDF_BUILD')
if path is None:
# 2023-08-18: default to specific sha for now.
if 0:
# 2023-08-18: default to specific sha.
path = 'git:--recursive --depth 1 --shallow-submodules --branch master https://github.com/ArtifexSoftware/mupdf.git'
sha = 'a6aaf0b1162a' # Makerules scripts/wrap/__main__.py: fix cross-building to arm64 on MacOS.
else:
Expand Down Expand Up @@ -1151,7 +1151,7 @@ def sdist():
# We generate different wheels depending on g_flavour.
#

version = '1.23.0rc2'
version = '1.23.0'

tag_python = None
requires_dist = None,
Expand Down

0 comments on commit 4077e5b

Please sign in to comment.