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

Temporarily pin PyMuPDF==1.23.8 in container #703

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

deeplow
Copy link
Contributor

@deeplow deeplow commented Feb 12, 2024

PyMuPDF 1.23.9 made the swapped the new fitz implementation (fitz_new) with the fitz module. In the new module there are prints in the code that interfere with our stderror for sending JSON from the container. Pinning the version seems to have no adverse consequences, since fitz_old hasn't had significant changes and it gives breething room for the print-related issue to be tackled in this PR.

Fixes temporarily #700

RELEASE.md Outdated Show resolved Hide resolved
@deeplow deeplow mentioned this pull request Feb 12, 2024
@apyrgio
Copy link
Contributor

apyrgio commented Feb 12, 2024

Some fixes in the commit message:

made the swapped the

swapped the

with our stderror

with our stdout

breething room

breathing room

PyMuPDF 1.23.9 swapped the new fitz implementation (fitz_new)
with the fitz module. In the new module there are prints in the code
that interfere with our stdout for sending JSON from the container.
Pinning the version seems to have no adverse consequences [1], since
fitz_old hasn't had significant changes and it gives breathing room for
the print-related issue to be tackled in PR [2].

Fixes temporarily #700

[1]: #700 (comment)
[2]: pymupdf/PyMuPDF#3137
Copy link
Contributor

@apyrgio apyrgio left a comment

Choose a reason for hiding this comment

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

Looks good, although I have a slight preference to remove the RELEASE.md note and just have an issue instead.

@deeplow
Copy link
Contributor Author

deeplow commented Feb 12, 2024

Merging this. The failing should be unrelated to this PR (they are also happening on main)

@deeplow deeplow merged commit 3fb797c into main Feb 12, 2024
41 of 50 checks passed
@deeplow deeplow mentioned this pull request Feb 12, 2024
60 tasks
@apyrgio apyrgio deleted the 700-fitz-old-new branch May 22, 2024 09:35
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