Alpine linux docker build failing "No matching distribution found for pymupdfb==1.24.1" #3360
Replies: 4 comments 2 replies
-
I'm not familiar with pip-tools, so i' not sure what's going on here. PyMuPDF lists PyMuPDFb as a prerequisite (as specified in PEP-508), and If there is something we could look at doing in PyMuPDF, in order to avoid your need for |
Beta Was this translation helpful? Give feedback.
-
Hi,
however So somehow pymupdf is installing without pymupdfb on Alpine linux? Is that possible? Test dockerfile
|
Beta Was this translation helpful? Give feedback.
-
If You can see the available versions of PyMuPDFb at https://pypi.org/project/PyMuPDFb/. Maybe you could capture the output from the pip install commands that are failing, e.g. |
Beta Was this translation helpful? Give feedback.
-
Hopefully fixed in 1.24.3. We now provide a minimal PyMuPDFb sdist which should allow pip to build+install from the PyMuPDF sdist. |
Beta Was this translation helpful? Give feedback.
-
Hi,
pip install pymupdf using pip-tools fails with the following error on alpine linux.
The fix when using pip-tools is to mark it as unsafe.
pip-compile -q -r --unsafe-package pymupdfb --strip-extras --upgrade api/pyproject.toml
Beta Was this translation helpful? Give feedback.
All reactions