-
Notifications
You must be signed in to change notification settings - Fork 511
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
Preparing metadata (pyproject.toml) did not run successfully #3281
Comments
We've encountered the same issue and reported it pretty much at the same time 🙂. Here's the underlying reason for the build failure: #3279 (comment) |
Thanks to @apyrgio for the reference. I'll mark this as fixed in next release. |
Fixed in 1.24.0. |
Hello @julian-smith-artifex-com, i'm actually using the
You can try with this command : docker run -it python:3.12-alpine pip install pymupdf==1.24.5 |
Please attach the full output. |
docker run -it python:3.12-alpine pip install pymupdf==1.24.5 Output on Mac Air M1Collecting pymupdf==1.24.5 Downloading PyMuPDF-1.24.5.tar.gz (22.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.5/22.5 MB 33.5 MB/s eta 0:00:00 Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error Output on Google Cloud ShellCollecting pymupdf==1.24.5 Downloading PyMuPDF-1.24.5.tar.gz (22.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.5/22.5 MB 33.5 MB/s eta 0:00:00 Getting requirements to build wheel ... done avi_mimoun@cloudshell:~ (meraki-syslog)$ avi_mimoun@cloudshell:~ (meraki-syslog)$ docker run -it python:3.12-alpine pip install pymupdf==1.24.5 Unable to find image 'python:3.12-alpine' locally 3.12-alpine: Pulling from library/python ec99f8b99825: Pull complete a68bf89b0030: Pull complete dc4556e82255: Pull complete 32e2ec03db6e: Pull complete eb2ccc024fc3: Pull complete Digest: sha256:dc095966439c68283a01dde5e5bc9819ba24b28037dddd64ea224bf7aafc0c82 Status: Downloaded newer image for python:3.12-alpine Collecting pymupdf==1.24.5 Downloading PyMuPDF-1.24.5.tar.gz (22.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.5/22.5 MB 21.4 MB/s eta 0:00:00 Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error |
Both these have the same problem - you need to install
I'm going to close this issue now. Please open a new issue if you run into more problems. |
Description of the bug
I was trying to install PyMuPDF 1.23.26 in a Python 3.12 (Alpine 3.19) container, and when I built the container pip throw me this error
Preparing metadata (pyproject.toml) did not run successfully
How to reproduce the bug
Dockerfile
Output
The output is too long, so I attached it in this txt file output.txt
PyMuPDF version
1.23.26
Operating system
Linux
Python version
3.12
The text was updated successfully, but these errors were encountered: