Skip to content

Commit

Permalink
Temporarily pin PyMuPDF==1.23.8 in container
Browse files Browse the repository at this point in the history
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
  • Loading branch information
deeplow committed Feb 12, 2024
1 parent 879fca6 commit 3fb797c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 42 deletions.
77 changes: 36 additions & 41 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ strip-ansi = "*"
pymupdf = "^1.23.6"

[tool.poetry.group.container.dependencies]
pymupdf = "^1.23.8"
pymupdf = "1.23.8"

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 3fb797c

Please sign in to comment.