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
I'm on an m3 mac running mac os 14. I installed poetry with uv tool install poetry.
$ poetry --versionPoetry (version 1.8.4)
I got the following error while trying to install. This seems like an old version of pydantic-core
$ poetry installInstalling dependencies from lock filePackage operations: 75 installs, 0 updates, 0 removals - Installing pydantic-core (2.16.3): Failed ChefBuildError Backend subprocess exited when trying to invoke build_wheel Running `maturin pep517 build-wheel -i /private/var/folders/6k/r2gmmc213vl6h7bv20x624xw0000gn/T/tmp2_z1mb_t/.venv/bin/python --compatibility off` 💥 maturin failed Caused by: Cargo metadata failed. Do you have cargo in your PATH? Caused by: No such file or directory (os error 2) Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/private/var/folders/6k/r2gmmc213vl6h7bv20x624xw0000gn/T/tmp2_z1mb_t/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1 at ~/Library/Application Support/uv/tools/poetry/lib/python3.13/site-packages/poetry/installation/chef.py:164 in _prepare 160│ 161│ error = ChefBuildError("\n\n".join(message_parts)) 162│ 163│ if error is not None: → 164│ raise error from None 165│ 166│ return path 167│ 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:Note: This error originates from the build backend, and is likely not a problem with poetry but with pydantic-core (2.16.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pydantic-core (==2.16.3)"'. - Installing rpds-py (0.18.0): Failed ChefBuildError Backend subprocess exited when trying to invoke build_wheel Running `maturin pep517 build-wheel -i /private/var/folders/6k/r2gmmc213vl6h7bv20x624xw0000gn/T/tmpz1opyj4b/.venv/bin/python --compatibility off` 💥 maturin failed Caused by: Cargo metadata failed. Do you have cargo in your PATH? Caused by: No such file or directory (os error 2) Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/private/var/folders/6k/r2gmmc213vl6h7bv20x624xw0000gn/T/tmpz1opyj4b/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1 at ~/Library/Application Support/uv/tools/poetry/lib/python3.13/site-packages/poetry/installation/chef.py:164 in _prepare 160│ 161│ error = ChefBuildError("\n\n".join(message_parts)) 162│ 163│ if error is not None: → 164│ raise error from None 165│ 166│ return path 167│ 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:Note: This error originates from the build backend, and is likely not a problem with poetry but with rpds-py (0.18.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "rpds-py (==0.18.0)"'.
The text was updated successfully, but these errors were encountered:
When I have this it's a problem with Python version. Try using Python 11 as a base version and see if it works, this does not close the issue, just helps moving your exploration forward
I'm on an m3 mac running mac os 14. I installed poetry with
uv tool install poetry
.I got the following error while trying to install. This seems like an old version of pydantic-core
The text was updated successfully, but these errors were encountered: