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 trying to build a docker image and installing primp (as dependency), I get the following error
12.23 ChefBuildError
12.23
12.23 Backend subprocess exited when trying to invoke build_wheel
12.23
12.23 Running `maturin pep517 build-wheel -i /tmp/tmpok1kf38i/.venv/bin/python --compatibility off`
12.23 💥 maturin failed
12.23 Caused by: Cargo metadata failed. Do you have cargo in your PATH?
12.23 Caused by: No such file or directory (os error 2)
12.23 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmpok1kf38i/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
12.23
12.23
12.23 at /usr/local/lib/python3.11/site-packages/poetry/installation/chef.py:164 in _prepare
12.26 160│
12.26 161│ error = ChefBuildError("\n\n".join(message_parts))
12.26 162│
12.26 163│ if error is not None:
12.26 → 164│ raise error from None
12.26 165│
12.26 166│ return path
12.26 167│
12.26 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
12.26
12.26 Note: This error originates from the build backend, and is likely not a problem with poetry but with primp (0.8.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "primp (==0.8.1)"'.
12.26
The text was updated successfully, but these errors were encountered:
Currently it's being installed through poetry as part of our standard build pipeline. Installing using poetry works fine locally (MacOS), but not in the docker image.
When trying to build a docker image and installing
primp
(as dependency), I get the following errorThe text was updated successfully, but these errors were encountered: