poetry install --no-dev shouldn't throw a ValueError if a dev dependency specified via path is missing #2014
Closed
3 tasks done
Labels
kind/bug
Something isn't working as expected
-vvv
option).Issue
When running
poetry install --no-dev
poetry throws a ValueError with a directory not found message if the directory specified in the dev-dependencies section is missing.I would expect it to ignore all dev-dependencies when running with
--no-dev
and not throw a ValueError.We're using the dev-dependencies section to do local development on modules and checking these in with the pyproject.toml. When we deploy the app with
--no-dev
we're seeing the error because those directories do not exist.Our current workaround is to strip the package references with directories out of the dev-dependencies section in the pyproject.toml file when deploying the app.
The text was updated successfully, but these errors were encountered: