-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
does not find the package if the search string is capitalized
#5035
Comments
Hello @cu, thanks for reporting. The problem are in these lines: poetry/src/poetry/console/commands/init.py Lines 272 to 278 in ecb030e
We should use the canonical name of fin swimmer |
@finswimmer mind if I take this one? I've forked and am starting development, but if it's already assigned, don't want to step on any toes |
Hey @evanrittenhouse, yes, feel free to start working on it 👍 fin swimmer |
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. |
-vvv
option).Issue
In the package selection part of the
poetry init
wizard, package selection only works reliably if you use a fully lowercase search string. If you capitalize the search string, a package matching that string will not show up in the results.Say I want to add Flask as a dependency. The package name on this project is capitalized on PyPI. If I search for
flask
, the package will show up in the results. If I search forFlask
, it will not.The text was updated successfully, but these errors were encountered: