pip install of sdist with dev directory requirements #2174
Labels
kind/bug
Something isn't working as expected
status/waiting-on-core
Requires changes to poetry-core first
-vvv
option).Issue
When installing a source distro tarball via pip, poetry will be invoked per its specification in pyproject.toml as the project's build system, however it will also attempt to install/resolve dev dependencies as part of the local wheel build process, this is unexpected. ideally when called via masonry api from pip, it would skip dev dependencies entirely, unless their being explicitly requested say as per an optional.
Its problematic for our particular usage of poetry as we're using dev depedencies to specify source/directory dependencies within a monorepo, which we resolve to normal deps when publishing.
we're looking to currently work around by publishing wheel only artifacts.
The text was updated successfully, but these errors were encountered: