-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
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 Xenial
- Poetry version: o.12.10
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/nottrobin/dddb94232b2d79f089ea7ef3b3dab4a4
Issue
If I do:
poetry init --dependency djangoIt walks me through the same guide as normal, and if when it asks if I went to define dependencies I select "no", then it doesn't add Django to pyproject.toml as a dependency, so --dependency django effectively did nothing.
It should either:
- Edit the guide to ask if you want to specify any further dependencies, and maybe indicate that it's going to install Django anyway; or
- Error saying "
--dependencyis only compatible with--no-interaction"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected