Selecting packages interactively is no fun at all
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
Issue
While executing poetry init
i get asked to interactively define my dependencies. This feature is very welcome at this point, BUT the way it works is a little suboptimal. While poetry add
never made the wrong decision for me so far, in this interactive mode after wanting to install Django i get a list of 100 search results not even containing the actual Django package.
Poetry never tries to just guess and install the right packages like it does on poetry add
.
Why? Adding Django (and any other package) just works, but interactively selecting is no fun!
Please make it fun again and just install the best guess! Or to be more save at least display the best guess (as it would be resolved on add) and just let the user confirm and maybe select an alternative.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top GitHub Comments
+1. I used this for the first time and found it to be a pretty poor experience. I’m in favour of removing it, or least making it not default (#179).
When I typed
psycopg2
, instead of installing it it gives me a massive list of that library and similarly named ones. So long, that the option I actually want requires me to scroll up:Also, if I slightly mistype the library I get a completely different one:
Even if
poetry init -n
is a workaround, a bad experience shouldn’t be the default for newcomers to Poetry.I also wouldnt mind if that was removed from the init process. Good idea!