-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#520Labels
area/pyprojectMetadata/pyproject.toml-relatedMetadata/pyproject.toml-relatedkind/enhancementNot a bug or feature, but improves usability or performanceNot a bug or feature, but improves usability or performance
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: Ubuntu 18.10
- Poetry version: 0.12.10
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/spither/47f144b1f355990d562b5ba92bf15fe3
Issue
I cannot run poetry install --no-dev away from my development environment because I have dev-only path based dependencies.
> poetry install --no-dev
[ValueError]
Directory ../dev-only does not exist
The error is correct, the directory doesn't exist, but it's only listed as a dev-dependency and I'm trying to install --no-dev. I was not expecting any dev-dependency checks to take place.
In my case I'm trying to install the non-dev dependencies for a Django site deployment. The path based dev-dependencies only exist in development, not on the deployment system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/pyprojectMetadata/pyproject.toml-relatedMetadata/pyproject.toml-relatedkind/enhancementNot a bug or feature, but improves usability or performanceNot a bug or feature, but improves usability or performance