Skip to content

Support newer PyMuPDF versions #2205

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

Merged
merged 1 commit into from
Aug 6, 2022
Merged

Conversation

Infernio
Copy link
Contributor

@Infernio Infernio commented Jul 8, 2022

PyMuPDF 1.18 renamed all of its camelCase fields and methods to use snake_case instead, and a later version (probably 1.19) removed the deprecated aliases. This patch attempts to use the newer name first (since most people will probably be using a newer version of PyMuPDF) and falls back to the older name if that fails.

Fixes #2204

PyMuPDF 1.18 renamed all of its camelCase fields and methods to use
snake_case instead, and a later version (probably 1.19) removed the
deprecated aliases. This patch attempts to use the newer name first
(since most people will probably be using a newer version of PyMuPDF)
and falls back to the older name if that fails.
@RobinD42 RobinD42 merged commit 64066f3 into wxWidgets:master Aug 6, 2022
@Infernio Infernio deleted the inf-pymupdf branch August 6, 2022 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyMuPDF 1.19.0 and newer breaks wx.lib.pdfviewer.pdfViewer
2 participants