Skip to content

jiter build fails when running poetry install on DarwinΒ #17

@pmalek

Description

@pmalek

Running poetry install on Darwin with python

python
Python 3.13.0 (main, Oct  7 2024, 05:02:14) [Clang 16.0.0 (clang-1600.0.26.3)] on darwin

yields an error:

poetry install
Installing dependencies from lock file

Package operations: 27 installs, 0 updates, 0 removals

  - Installing jiter (0.5.0): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel

  Running `maturin pep517 build-wheel -i /private/var/folders/0m/_63w01516tgf3cftmp9h7ylm0000gn/T/tmpyi69i_8m/.venv/bin/python --compatibility off`
  error: Package `jiter v0.5.0 (/private/var/folders/0m/_63w01516tgf3cftmp9h7ylm0000gn/T/tmpbuoj3bew/jiter-0.5.0/crates/jiter)` does not have feature `pyo3`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
  πŸ’₯ maturin failed
    Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
    Caused by: `cargo metadata` exited with an error:
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/private/var/folders/0m/_63w01516tgf3cftmp9h7ylm0000gn/T/tmpyi69i_8m/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1


  at /opt/homebrew/Cellar/poetry/1.8.4/libexec/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 jiter (0.5.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "jiter (==0.5.0)"'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions