Describe the bug
I can't install dependencies with Poetry.
To Reproduce
Steps to reproduce the behavior:
poetry env use 3.9
poetry lock
poetry install
Screenshots
Poetry reports that numpy is not installed before scipy, which is not true, because I have confirmed numpy is already installed.
• Installing scipy (1.6.1): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
Error: 'numpy' must be installed before running the build.
at /opt/homebrew/Cellar/poetry/1.4.2/libexec/lib/python3.11/site-packages/poetry/installation/chef.py:152 in _prepare
148│
149│ error = ChefBuildError("\n\n".join(message_parts))
150│
151│ if error is not None:
→ 152│ raise error from None
153│
154│ return path
155│
156│ 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 scipy (1.6.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "scipy (==1.6.1)"'.
Describe the bug I can't install dependencies with Poetry.
To Reproduce Steps to reproduce the behavior:
poetry env use 3.9
poetry lock
poetry install
Screenshots Poetry reports that numpy is not installed before scipy, which is not true, because I have confirmed numpy is already installed.
Env