Skip to content

Bump pymupdf from 1.21.1 to 1.24.0 #604

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps pymupdf from 1.21.1 to 1.24.0.

Release notes

Sourced from pymupdf's releases.

PyMuPDF-1.24.0 released

PyMuPDF-1.24.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

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.24.0 (2024-03-21)

  • Fixed issues:

  • Other:

    • Use MuPDF-1.24.0.

    • Add support for redacting vector graphics.

    • Several fixes for table module

      • Add new method for outputting the table as a markdown string.

      • Address errors in computing the table header object:

        We now allow None as the cell value, because this will be resolved where needed (e.g. in the pandas DataFrame).

        We previously tried to enforce rect-like tuples in all header cell bboxes, however this fails for tables with all-None columns. This fix enables this and constructs an empty string in the corresponding cell string.

        We now correctly include start / stop points of lines in the bbox of the clustered graphic. We previously joined the line's rectangle - which had no effect because this is always empty.

... (truncated)

Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 1.24.0 (2024-03-21)

  • Fixed issues:

    • Fixed 3281 <https://github.com/pymupdf/PyMuPDF/issues/3281>_: Preparing metadata (pyproject.toml) did not run successfully
    • Fixed 3279 <https://github.com/pymupdf/PyMuPDF/issues/3279>_: PyMuPDF no longer builds in Alpine Linux
    • Fixed 3257 <https://github.com/pymupdf/PyMuPDF/issues/3257>_: apply_redactions() deleting text outside of annoted box
    • Fixed 3216 <https://github.com/pymupdf/PyMuPDF/issues/3216>_: AttributeError: 'Annot' object has no attribute 'del'
    • Fixed 3207 <https://github.com/pymupdf/PyMuPDF/issues/3207>_: get_drawings's items is missing line from h path operator
    • Fixed 3201 <https://github.com/pymupdf/PyMuPDF/issues/3201>_: Memory leaks when merging PDFs
    • Fixed 3197 <https://github.com/pymupdf/PyMuPDF/issues/3197>_: page.get_text() returns hexadecimal text for some characters
    • Fixed 3196 <https://github.com/pymupdf/PyMuPDF/issues/3196>_: Remove text not working in 1.23.25 version vs 1.20.2
    • Fixed 3172 <https://github.com/pymupdf/PyMuPDF/issues/3172>_: PDF's 45º lines dissapearing in png conversion
    • Fixed 3135 <https://github.com/pymupdf/PyMuPDF/issues/3135>_: Do not log warnings to stdout
    • Fixed 3125 <https://github.com/pymupdf/PyMuPDF/issues/3125>_: get_pixmap method stuck on one page and runs forever
    • Fixed 2964 <https://github.com/pymupdf/PyMuPDF/issues/2964>_: There is an issue with the image generated by the page.get_pixmap() function
  • Other:

    • Use MuPDF-1.24.0.

    • Add support for redacting vector graphics.

    • Several fixes for table module

      • Add new method for outputting the table as a markdown string.

      • Address errors in computing the table header object:

        We now allow None as the cell value, because this will be resolved where needed (e.g. in the pandas DataFrame).

        We previously tried to enforce rect-like tuples in all header cell bboxes, however this fails for tables with all-None columns. This fix enables this and constructs an empty string in the corresponding cell string.

        We now correctly include start / stop points of lines in the bbox of the clustered graphic. We previously joined the line's rectangle - which had no effect because this is always empty.

    • Improved exception text if we fail to open document.

    • Fixed build with new libclang 18.

Changes in version 1.23.26 (2024-02-29)

  • Fixed issues:

... (truncated)

Commits
  • 1118f02 Update changelog, version numbers and release dates for release 1.24.0.
  • c724fb4 Several fixes for table module
  • 7e9c85b Fixes for clang 18 and new mupdf release branch 1.24.x.
  • f039ad4 tests/test_general.py:test_open(): workaround swig bug on openbsd.
  • 517ecfa pyproject.toml: typo.
  • 36b1e5c setup.py: cope with new libclang 18, which breaks on macos/arm64.
  • 0ba51d3 typo het_toc instead of get_toc
  • 96d3171 @​JoKalliauer has signed the CLA from Pull Request #3275
  • 86b04f9 tests/test_general.py:test_open(): fix failures on windows and linux sysinstall.
  • 06031b3 src/ tests/: improved exception text if we fail to open document.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [pymupdf](https://github.com/pymupdf/pymupdf) from 1.21.1 to 1.24.0.
- [Release notes](https://github.com/pymupdf/pymupdf/releases)
- [Changelog](https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt)
- [Commits](pymupdf/PyMuPDF@1.21.1...1.24.0)

---
updated-dependencies:
- dependency-name: pymupdf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 1, 2024

Superseded by #616.

@dependabot dependabot bot closed this May 1, 2024
@dependabot dependabot bot deleted the dependabot/pip/pymupdf-1.24.0 branch May 1, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants