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

Update pypdf requirement from ==4.2.* to ==5.0.* #388

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2024

Updates the requirements on pypdf to permit the latest version.

Release notes

Sourced from pypdf's releases.

Version 5.0.1, 2024-09-29

New Features (ENH)

  • Add full parameter to PdfWriter constructor (#2865)

Bug Fixes (BUG)

  • Update pyproject.toml with minimum Python version of 3.8 (#2859)
  • Cope with unbalanced delimiters in dictionary object (#2878)
  • Cope with encoding with too many differences (#2873)
  • Missing spaces in extract_text() method (#1328) (#2868)
  • Tolerate truncated files and no warning when jumping startxref (#2855)

Robustness (ROB)

  • Repair PDF with invalid Root object (#2880)
  • Continue parsing dictionary object when error is detected (#2872)
  • Merge documents with invalid pages in named destinations (#2857)
  • Tolerate comments in arrays (#2856)

Developer Experience (DEV)

  • Use latest Python version for benchmarking (#2879)

Maintenance (MAINT)

  • Add tests to source distributions (#2874)
  • Refactor _update_field_annotation (#2862)

Full Changelog

Changelog

Sourced from pypdf's changelog.

Version 5.0.1, 2024-09-29

New Features (ENH)

  • Add full parameter to PdfWriter constructor (#2865)

Bug Fixes (BUG)

  • Update pyproject.toml with minimum Python version of 3.8 (#2859)
  • Cope with unbalanced delimiters in dictionary object (#2878)
  • Cope with encoding with too many differences (#2873)
  • Missing spaces in extract_text() method (#1328) (#2868)
  • Tolerate truncated files and no warning when jumping startxref (#2855)

Robustness (ROB)

  • Repair PDF with invalid Root object (#2880)
  • Continue parsing dictionary object when error is detected (#2872)
  • Merge documents with invalid pages in named destinations (#2857)
  • Tolerate comments in arrays (#2856)

Developer Experience (DEV)

  • Use latest Python version for benchmarking (#2879)

Maintenance (MAINT)

  • Add tests to source distributions (#2874)
  • Refactor _update_field_annotation (#2862)

Full Changelog

Version 5.0.0, 2024-09-15

This version drops support for Python 3.7 (not maintained since July 2023), PdfMerger (use PdfWriter instead) and AnnotationBuilder (use annotations instead).

Deprecations (DEP)

  • Remove the deprecated PfdMerger and AnnotationBuilder classes and other deprecations cleanup (#2813)
  • Drop Python 3.7 support (#2793)

New Features (ENH)

  • Add capability to remove /Info from PDF (#2820)
  • Add incremental capability to PdfWriter (#2811)
  • Add UniGB-UTF16 encodings (#2819)
  • Accept utf strings for metadata (#2802)
  • Report PdfReadError instead of RecursionError (#2800)
  • Compress PDF files merging identical objects (#2795)

Bug Fixes (BUG)

  • Fix sheared image (#2801)

Robustness (ROB)

  • Robustify .set_data() (#2821)
  • Raise PdfReadError when missing /Root in trailer (#2808)

... (truncated)

Commits

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)

Updates the requirements on [pypdf](https://github.com/py-pdf/pypdf) to permit the latest version.
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](py-pdf/pypdf@4.2.0...5.0.1)

---
updated-dependencies:
- dependency-name: pypdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 10, 2024
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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