Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"poetry init --dependency django" does nothing #711

Closed
2 of 3 tasks
nottrobin opened this issue Dec 6, 2018 · 2 comments · Fixed by #2587
Closed
2 of 3 tasks

"poetry init --dependency django" does nothing #711

nottrobin opened this issue Dec 6, 2018 · 2 comments · Fixed by #2587
Labels
kind/bug Something isn't working as expected

Comments

@nottrobin
Copy link

nottrobin commented Dec 6, 2018

  • 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 (-vvv option).

Issue

If I do:

poetry init --dependency django

It 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 "--dependency is only compatible with --no-interaction"
@brycedrennan brycedrennan added the kind/bug Something isn't working as expected label Sep 2, 2019
@stale
Copy link

stale bot commented Nov 13, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
3 participants