Skip to content

Poetry does not show required login when resolving depedencies #2272

Closed

Description

@MartinThoma
  • 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

Activity

  1. marcelmindemann commented on May 8, 2020

    @marcelmindemann

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

  2. MartinThoma commented on May 9, 2020

    @MartinThoma
    Author

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

  3. MartinThoma commented on Jul 6, 2020

    @MartinThoma
    Author

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

  4. felixpatzelt commented on Nov 5, 2020

    @felixpatzelt

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

  5. added
    area/uxFeatures and improvements related to the user experience
    on Oct 22, 2022
  6. atemate commented on Jan 3, 2023

    @atemate

    +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

  7. neersighted commented on Jan 3, 2023

    @neersighted
    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.

  8. github-actions commented on Feb 29, 2024

    @github-actions

    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.

  9. locked as resolved and limited conversation to collaborators on Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/uxFeatures and improvements related to the user experiencekind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions