gambit icon indicating copy to clipboard operation
gambit copied to clipboard

Supporting pep 517 builds

Open HCelion opened this issue 1 year ago • 0 comments

Hi, I want to install pygambit using poetry and the build wheels fail. The error message I get is

  at ~/opt/miniconda3/lib/python3.9/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 pygambit (16.2.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pygambit (==16.2.0)"'

Which can indeed be replicated with

pip wheel --no-cache-dir --use-pep517 "pygambit (==16.2.0)"

in that environment.

Thank you for your help.

HCelion avatar Aug 14 '24 08:08 HCelion