Skip to content

No support for PEP 517 builds #499

Open
@bnbourgade

Description

@bnbourgade

Hello,

I've been trying to install pyvips using poetry 1.8.2, and it fails, returning me the following error :

  error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  

  at /usr/local/lib/python3.10/dist-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 pyvips (2.2.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyvips (==2.2.3)"'.

I've found a workaround using an older version of poetry, alongside installing some apt packages, but i would find an issue that uses the latest version of Poetry.

Thanks in advance !

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