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

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

Open
djcopley opened this issue Nov 11, 2024 · 0 comments · May be fixed by #1803
Open

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

djcopley opened this issue Nov 11, 2024 · 0 comments · May be fixed by #1803

Comments

@djcopley
Copy link
Contributor

djcopley commented Nov 11, 2024

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.

djcopley added a commit to djcopley/hatch that referenced this issue Nov 11, 2024
@djcopley djcopley linked a pull request Nov 11, 2024 that will close this issue
djcopley added a commit to djcopley/hatch that referenced this issue Nov 11, 2024
djcopley added a commit to djcopley/hatch that referenced this issue Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant