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

pdfviewer: Add support for pymupdf renaming #2609

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

Infernio
Copy link
Contributor

The 'fitz' module got renamed to 'pymupdf' in 1.24.3. Prepare for an eventual deprecation and removal by importing from pymupdf first and falling back to fitz only if that fails.

I also got rid of the other 'fitz'es in the file via 'fitz as pymupdf', since pymupdf.open is much easier to read than fitz.open.

The 'fitz' module got renamed to 'pymupdf' in 1.24.3 Prepare for an
eventual deprecation and removal by importing from pymupdf first and
falling back to fitz only if that fails.

I also got rid of the other 'fitz'es in the file via 'fitz as pymupdf',
since pymupdf.open is much easier to read than fitz.open.
@swt2c swt2c merged commit b2733b5 into wxWidgets:master Sep 13, 2024
29 checks passed
@swt2c
Copy link
Collaborator

swt2c commented Sep 13, 2024

Thanks!

@Infernio Infernio deleted the inf-pymupdf-import branch September 13, 2024 21:36
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.

2 participants