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 does not show required login when resolving depedencies #2272

Closed
3 tasks done
MartinThoma opened this issue Apr 6, 2020 · 7 comments
Closed
3 tasks done

Poetry does not show required login when resolving depedencies #2272

MartinThoma opened this issue Apr 6, 2020 · 7 comments
Labels
area/ux Features and improvements related to the user experience kind/bug Something isn't working as expected

Comments

@MartinThoma
Copy link

  • I am on the latest Poetry version: 1.0.5
  • 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

@MartinThoma MartinThoma added the kind/bug Something isn't working as expected label Apr 6, 2020
@kasteph kasteph added the status/triage This issue needs to be triaged label Apr 13, 2020
@marcelmindemann
Copy link

This happens when you have a misconfigured ~/.pip/pip.conf file.

@MartinThoma
Copy link
Author

@m1nde I don't have this file at all. I don't even have the .pip directory

@MartinThoma
Copy link
Author

I have Poetry version 1.0.9 now. Also happens with poetry add

@felixpatzelt
Copy link

I had the same issue and for me it was caused by having a ~/.pip/pip.conf like @m1nde reported.

@finswimmer finswimmer added the area/ux Features and improvements related to the user experience label Oct 22, 2022
@atemate
Copy link

atemate commented 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
Copy link
Member

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.

@neersighted neersighted removed the status/triage This issue needs to be triaged label Jan 3, 2023
Copy link

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 Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ux Features and improvements related to the user experience kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

7 participants