Build not PEP-517 compliant
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 4.6k
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 1
Description
M2 Max
Sonoma 14.0
https://peps.python.org/pep-0517/
possibly `CmdStan` issue?
```bash
• Installing prophet (1.1.4): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-14-arm64-cpython-311
creating build/lib.macosx-14-arm64-cpython-311/prophet
creating build/lib.macosx-14-arm64-cpython-311/prophet/stan_model
Compiling cmdstanpy model
Installing cmdstan to /private/var/folders/w3/xmkm4c6550qb04zslvf_t97h0000gn/T/tmpupyetrex/prophet-1.1.4/build/lib.macosx-14-arm64-cpython-311/prophet/stan_model/cmdstan-2.31.0
CmdStan install directory: /private/var/folders/w3/xmkm4c6550qb04zslvf_t97h0000gn/T/tmpupyetrex/prophet-1.1.4/build/lib.macosx-14-arm64-cpython-311/prophet/stan_model
Installing CmdStan version: 2.31.0
Downloading CmdStan version 2.31.0
Download successful, file: /var/folders/w3/xmkm4c6550qb04zslvf_t97h0000gn/T/tmpydj0gry9
...
blah blah blah
...
File "/private/var/folders/w3/xmkm4c6550qb04zslvf_t97h0000gn/T/tmpf0b6lup7/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "", line 161, in run
File "", line 148, in build_models
File "", line 122, in build_cmdstan_model
File "", line 99, in install_cmdstan_deps
RuntimeError: CmdStan failed to install in repackaged directory
at /opt/homebrew/Cellar/poetry/1.6.1/libexec/lib/python3.11/site-packages/poetry/installation/chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ 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 prophet (1.1.4) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "prophet (==1.1.4)"'.
```
Contributor guide
Assessment
This issue has not been assessed yet.