You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pymupdf.mupdf fails to compile with nuitka due to the massive c file it generates.
I have mentioned this issue to nuitka but maybe you can take a look at it too Nuitka/Nuitka#3243
How to reproduce the bug
install python 3.9 (tested in other versions and OSes too) pip install nuitka pymupdf
have a test.pdf and a simple code as such in a file for example named test_pymupdf.py:
try to compile it with nuitka: nuitka --mode=app --script-name=test_pymupdf.py
PASS 1 will take an absurdly long time (hour or so)
Then the compilation of the massive c file for mupdf will usually overload github action memory, on a beefy machine it might compile but probably after a few hours
We are unable to accept this issue as a PyMuPDF problem. It obviously cannot be resolved by whatever is in PyMuPDF's reach.
I am going to move your post to the "Discussions" tab to open it for ideas / contributions other users may have.
Activity
JorjMcKie commentedon Dec 9, 2024
We are unable to accept this issue as a PyMuPDF problem. It obviously cannot be resolved by whatever is in PyMuPDF's reach.
I am going to move your post to the "Discussions" tab to open it for ideas / contributions other users may have.