Skip to content

poetry install gets stuck indefinitely if the same private repository (Google Artifac Registry) is configured as extra-index-url in pip.conf #7144

@jacek-jablonski

Description

@jacek-jablonski
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

Hi,
I have noticed a strange behaviour when configuring Google Artifact Registry with python repository:
When the repository is configured in pyproject.toml and is not configured in pip.conf, everything works fine. poetry install works in reasonable time.
However, when the repository is configured in pyproject.toml and also in pip.conf:

[global]
timeout = 60
extra-index-url = https://europe-west4-python.pkg.dev/xxx/python/simple/

then poetry install never gets finished. There are no errors, just the command never completes.

I've tried clearing poetry and pip cache, but nothing helps. Configuring extra-index-url of this repo in pip.conf causes poetry install to never complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions