Skip to content

Setting up an environment appears to hang when pip conf has a private index #1802

@djcopley

Description

@djcopley

Syncing an environment with a dependency from a private package index that lacks configured credentials causes hatch to hang. If you use the -v flag, you can see pip is prompting for a password.

Steps to reproduce

  1. Add a private package index to user pip.conf
  2. Add a dependency to a python project from the private index
  3. Run hatch shell

Possible solutions

Adding the --no-input flag to pip installs, would prevent pip from prompting the user for credentials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions