Issue
This issue may be linked to:
This issue might actually be setuptools rather than poetry as well. I'm not sure how the two libraries interact with each other.
We noticed that our latest builds are failing on our poetry install. Our project has cython code, and so part of our build.py that's referenced by the [tool.poetry.build] is to use numpy and cython (which are part of the [build-system].requires section) to compile the cython code into binaries.
Now, a poetry build works as expected, because it installs the build dependencies. But a poetry install on longer works


To summarise the above images:
- numpy is defined in both the
[tool.poetry.dependencies] and [build-system].requires
poetry build runs and compiles files successfully
poetry install fails on: Getting requirements to build editable did not run successfully. as poetry/setuptools tries to run our builder.py without dependencies, which fails.
Now the big caveat here, is that I don't know how poetry and setuptools interact, so this might have absolutely nothing to do with poetry and everything to do with setuptools. In which case, please feel free to close out this issue and I'll try to raise it somewhere else.
Has the way to include a build script that has dependencies changed in the latest poetry versions?
python:3.9-slim-vvvoption) and have included the output below.Issue
This issue may be linked to:
build-system.requires#6154This issue might actually be
setuptoolsrather than poetry as well. I'm not sure how the two libraries interact with each other.We noticed that our latest builds are failing on our poetry install. Our project has cython code, and so part of our
build.pythat's referenced by the[tool.poetry.build]is to use numpy and cython (which are part of the[build-system].requiressection) to compile the cython code into binaries.Now, a
poetry buildworks as expected, because it installs the build dependencies. But apoetry installon longer worksTo summarise the above images:
[tool.poetry.dependencies]and[build-system].requirespoetry buildruns and compiles files successfullypoetry installfails on:Getting requirements to build editable did not run successfully.as poetry/setuptools tries to run ourbuilder.pywithout dependencies, which fails.Now the big caveat here, is that I don't know how
poetryandsetuptoolsinteract, so this might have absolutely nothing to do with poetry and everything to do with setuptools. In which case, please feel free to close out this issue and I'll try to raise it somewhere else.Has the way to include a build script that has dependencies changed in the latest poetry versions?