You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Poetry does not show required login when resolving depedencies #2272
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).
OS version and name: Ubuntu 18.04
Poetry version: 1.0.5
Issue
When I executed poetry install --extras all, I've seen Resolving dependencies... + the seconds counting up for over 2000s. Twice. I thought it was poetry being slow at resolving, but when I added -vvv, I could see Username for 'https://gitlab.mycompany.com':. So the reason why it was blocked is that it was waiting for authentication, but I as a user could not see that. With -vvv I could enter my credentials. This should not require -vvv
Reacted by Kieran Evans, Arne Groskurth, Felix Patzelt, Hannes, yuri and Artem Yushkovskiy
+1 to this issue: poetry hangs silently on every resolving dependency command if it can't access private pypi repo, and it's not obvious for the users that they need to clean their pip.conf
This issue was actually solved in #6531 and #6724 -- Poetry is also decreasing usage of Pip to avoid the pitfalls of depending on Pip for core functionality when the Pip version is uncontrolled/based on the environment being managed.
Activity
marcelmindemann commentedon May 8, 2020
This happens when you have a misconfigured
~/.pip/pip.conffile.MartinThoma commentedon May 9, 2020
@m1nde I don't have this file at all. I don't even have the
.pipdirectoryMartinThoma commentedon Jul 6, 2020
I have
Poetry version 1.0.9now. Also happens withpoetry addfelixpatzelt commentedon Nov 5, 2020
I had the same issue and for me it was caused by having a
~/.pip/pip.conflike @m1nde reported.atemate commentedon Jan 3, 2023
+1 to this issue: poetry hangs silently on every resolving dependency command if it can't access private pypi repo, and it's not obvious for the users that they need to clean their pip.conf
neersighted commentedon Jan 3, 2023
This issue was actually solved in #6531 and #6724 -- Poetry is also decreasing usage of Pip to avoid the pitfalls of depending on Pip for core functionality when the Pip version is uncontrolled/based on the environment being managed.
github-actions commentedon Feb 29, 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.