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
When I switched the Python version in our Dockerfile to the image python:3.13-slim, our command with poetry installed failed to build:
25.29 PEP517 build of a dependency failed
25.29
25.29 Backend subprocess exited when trying to invoke build_wheel
25.29
25.29 | Command '['/tmp/tmpnktswc12/.venv/bin/python', '/usr/local/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/tmp/tmpu2wqa1m3']' returned non-zero exit status 1.
25.29 |
25.29 | Running `maturin pep517 build-wheel -i /tmp/tmpnktswc12/.venv/bin/python --compatibility off`
25.29 | 💥 maturin failed
25.29 | Caused by: Cargo metadata failed. Do you have cargo in your PATH?
25.29 | Caused by: No such file or directory (os error 2)
25.29 | Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpnktswc12/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
25.29
25.29 Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with minify-html (0.15.0)
25.29
25.29 - not supporting PEP 517 builds
25.29 - not specifying PEP 517 build requirements correctly
25.29 - the build requirements are incompatible with your operating system or Python version
25.29 - the build requirements are missing system dependencies (eg: compilers, libraries, headers).
25.29
25.29 You can verify this by running pip wheel --no-cache-dir --use-pep517 "minify-html (==0.15.0)".
25.29
------
Dockerfile:36
--------------------
35 |
36 | >>> RUN pip --no-cache-dir install poetry~=2.0 && \
37 | >>> poetry config virtualenvs.create false && \
38 | >>> poetry install --no-cache --without dev && \
39 | >>> chown -R app:app ${HOME}
40 |
--------------------
With the image python:3.12-slim docker does build the image without errors.
The text was updated successfully, but these errors were encountered:
When I switched the Python version in our Dockerfile to the image
python:3.13-slim
, our command withpoetry installed
failed to build:With the image
python:3.12-slim
docker does build the image without errors.The text was updated successfully, but these errors were encountered: