Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pymupdf from 1.22.5 to 1.23.1 #11412

Merged
merged 4 commits into from
Sep 28, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 23, 2023

Bumps pymupdf from 1.22.5 to 1.23.0.

Release notes

Sourced from pymupdf's releases.

PyMuPDF-1.23.0 released

PyMuPDF-1.23.0 has been released.

Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:

python -m pip install --upgrade pymupdf

Changes in version 1.23.0 (2023-08-22)

  • 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 fitz_new as fitz.

  • Python-independent MuPDF libraries are now in a second wheel called PyMuPDFb that will be automatically installed by pip.

    This is to save space on pypi.org - a full release only needs one PyMuPDFb wheel for each OS.

  • Bug fixes:

  • Other changes:

    • Dropped support for Python-3.7.

    • Fix for wrong page / annot /Contents cleaning.

      We need to set pdf_filter_options::no_update to zero.

    • Added new function get_tessdata().

    • Cope with problem /Annot arrays.

      When copying page annotations in method Document.insert_pdf we previously did not check the validity of members of the /Annots array. For faulty members (like null or non-dictionary items) this

... (truncated)

Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 1.23.0 (2023-08-22)

  • 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 fitz_new as fitz.

  • Python-independent MuPDF libraries are now in a second wheel called PyMuPDFb that will be automatically installed by pip.

    This is to save space on pypi.org - a full release only needs one PyMuPDFb wheel for each OS.

  • Bug fixes:

    • Fixed [#2542](https://github.com/pymupdf/pymupdf/issues/2542) <https://github.com/pymupdf/PyMuPDF/issues/2542>_: fritz.utils.scrub AttributeError Annot object has no attribute fileUpd inside
    • Fixed [#2533](https://github.com/pymupdf/pymupdf/issues/2533) <https://github.com/pymupdf/PyMuPDF/issues/2533>_: get_texttrace returned a incorrect character bbox
    • Fixed [#2537](https://github.com/pymupdf/pymupdf/issues/2537) <https://github.com/pymupdf/PyMuPDF/issues/2537>_: Validation when setting a grouped RadioButton throws a RuntimeError: path to 'V' has indirects
  • Other changes:

    • Dropped support for Python-3.7.

    • Fix for wrong page / annot /Contents cleaning.

      We need to set pdf_filter_options::no_update to zero.

    • Added new function get_tessdata().

    • Cope with problem /Annot arrays.

      When copying page annotations in method Document.insert_pdf we previously did not check the validity of members of the /Annots array. For faulty members (like null or non-dictionary items) this could cause unnecessary exceptions. This fix implements more checks and skips such array items.

    • Additional annotation type checks.

... (truncated)

Commits
  • 4077e5b Updated version and dates for 1.23.0.
  • 02f882e src/table.py setup.py: removed duplicate table.py.
  • dc0a418 Add tests for table feature
  • 1ec7d35 More changes for table feature
  • aad6a76 Add table.py to src/
  • 5560d31 Last minute update to table.py
  • a224345 Add references to table.py
  • e082868 Add "table" support to PyMuPDF
  • 5ad7811 Adds id tag to HTML in about-feature-matrix.rst
  • 52f22a1 tests/run_compound.py: remove special-case diagnostics for Windows+Python-3.10.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 23, 2023
@afabiani afabiani added this to the 4.2.0 milestone Aug 23, 2023
@cla-bot cla-bot bot added the cla-signed CLA Bot: community license agreement signed label Aug 23, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/pymupdf-1.23.0 branch from 11af494 to 4d8d340 Compare August 23, 2023 15:43
afabiani
afabiani previously approved these changes Aug 25, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 28, 2023

A newer version of pymupdf exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

afabiani
afabiani previously approved these changes Sep 14, 2023
@giohappy
Copy link
Contributor

We must keep this PR on hold until we don't find a solution for the missing dependency inside the CircleCI images.

@afabiani afabiani marked this pull request as draft September 14, 2023 09:41
…ndabot/pip/pymupdf-1.23.0

# Conflicts:
#	requirements.txt
#	setup.cfg
@afabiani afabiani marked this pull request as ready for review September 26, 2023 15:11
@afabiani afabiani changed the title Bump pymupdf from 1.22.5 to 1.23.0 Bump pymupdf from 1.22.5 to 1.23.1 Sep 26, 2023
@afabiani
Copy link
Member

We must keep this PR on hold until we don't find a solution for the missing dependency inside the CircleCI images.

@giohappy fixed with 1.23.1

@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

Merging #11412 (e35c14c) into master (0248da5) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11412   +/-   ##
=======================================
  Coverage   62.04%   62.04%           
=======================================
  Files         867      867           
  Lines       51724    51724           
  Branches     6469     6469           
=======================================
  Hits        32093    32093           
  Misses      18091    18091           
  Partials     1540     1540           

@afabiani afabiani merged commit 8bc6132 into master Sep 28, 2023
16 of 17 checks passed
@afabiani afabiani deleted the dependabot/pip/pymupdf-1.23.0 branch September 28, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed CLA Bot: community license agreement signed dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants