Skip to content

chore: update pypdfium2 requirement from >=5.7.1 to >=5.8.0#26

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pypdfium2-gte-5.8.0
Open

chore: update pypdfium2 requirement from >=5.7.1 to >=5.8.0#26
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pypdfium2-gte-5.8.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Updates the requirements on pypdfium2 to permit the latest version.

Release notes

Sourced from pypdfium2's releases.

5.8.0

Changes (Release 5.8.0)

Summary (pypdfium2)

  • Autoclose machinery update.
    • Encapsulate finalizer state in a mutable object.
    • Objects now remove themselves from their parent's kids cache on garbage collection / closing, to avoid accumulation.
    • Global ObjectTracker added (objects are grouped by type and remove themselves from the tracker on finalization likewise). This may allow to destroy and re-initalize the library during a session.
    • Fixed some issues and inconsistencies in autoclose hooks that were unmasked by the above changes.
      • PdfDocument.page_as_xobject() now registers the XObject as a child of dest_pdf rather than self.
      • Mark pageobjects (PdfObject) as untracked.
      • For pages registered as kids of a formenv, PdfPage.parent now points at the formenv. This means the .parent property should be seen as purely an autoclose hook and not something to use for other purposes.
      • Fixed a test case to use _detach_finalizer() instead of _finalizer.detach().
    • Changed DEBUG_AUTOCLOSE to hold a loglevel rather than just a bool. This lets us distinguish between noisy debug messages and actual warnings. The default level is now logging.WARNING.
    • Should any issues surface with these changes (e.g. hitting assertions, or performance concerns), please let us know. Provide logs with autoclose debugging enabled if applicable.
  • PdfPage.get_objects(): Added textpage passthrough parameter. This is required for PdfTextObj.extract(). Raise a meaningful exception if the textpage is missing. Demonstrate .extract() in pageobjects CLI.
  • PdfFont.get_base_name(), .get_family_name(): decoding errors option added, now defaults to "replace".
  • New helpers PdfFont.load_standard(), .STANDARD_FONTS and PdfDefaultTTFMap added.
  • Errchecks added to PdfPage.get_rotation(), .insert_obj() and PdfUnspHandler.setup().
  • New font diagnostic CLIs added (pypdfium2 fonts and default-fonts). Optional dependency tabulate.
  • In the CLI dispatcher, try to load only the module that is actually used.
  • CLI / setup_logging(): Fix warnings to be shown by removing an incorrect logging.captureWarnings(True) (that would require configuring the py.warnings logger or root logger). Instead, use just warnings.simplefilter("always") for now. Also, fix DEBUG_SYSFONTS being a boolean option. Share streamhandler across loggers.

Commits between 5.7.1 and 5.8.0 (latest commit first):

  • 9a41bfc [autorelease main] update 5.8.0
  • a2da0a1 Make just check happy
  • 9272319 Polish changelog
  • 0aa747a CLI/fonts: don't bother with standard fonts
  • 60f1c20 Share streamhandler across all loggers
  • a25cbc9 continue on changelog
  • 828baed DEBUG_AUTOCLOSE: distinguish between debug and warning messages
  • 2d4035d Continue polishing the changelog
  • b4a4c5d docs: add back |br| template for rst docs
  • 42382c2 sysfontinfo nits
  • e400ccc changelog: fix a typo found by codespell
  • d87ad30 Autoclose machinery improvements, objects tracker, new helpers (#426)
  • d9d8ad4 RTD: update to ubuntu-26.04
  • 07608ad Remove tabulate from req/docs.txt after all
  • 55564a0 build(deps): bump conda-incubator/setup-miniconda from 3 to 4
  • 885f9ff Fix unused import reported by autoflake
  • 8783f53 Continue on CLI dispatcher
  • 95639af Add new errchecks to get_rotation() and insert_obj()

... (truncated)

Commits
  • 9a41bfc [autorelease main] update 5.8.0
  • a2da0a1 Make just check happy
  • 9272319 Polish changelog
  • 0aa747a CLI/fonts: don't bother with standard fonts
  • 60f1c20 Share streamhandler across all loggers
  • a25cbc9 continue on changelog
  • 828baed DEBUG_AUTOCLOSE: distinguish between debug and warning messages
  • 2d4035d Continue polishing the changelog
  • b4a4c5d docs: add back |br| template for rst docs
  • 42382c2 sysfontinfo nits
  • Additional commits viewable in compare view

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 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 [pypdfium2](https://github.com/pypdfium2-team/pypdfium2) to permit the latest version.
- [Release notes](https://github.com/pypdfium2-team/pypdfium2/releases)
- [Commits](pypdfium2-team/pypdfium2@5.7.1...5.8.0)

---
updated-dependencies:
- dependency-name: pypdfium2
  dependency-version: 5.8.0
  dependency-type: direct:production
...

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 May 21, 2026
@dependabot dependabot Bot requested a review from SuYK-666 as a code owner May 21, 2026 14:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 21, 2026
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