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

Unexpected behaviour when using --index arg with non existant index name #6168

Open
Kroppeb opened this issue Jun 4, 2024 · 0 comments
Open
Labels
Category: Private PyPIs 😎 Problem relates to private PyPI usage. Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. triage

Comments

@Kroppeb
Copy link

Kroppeb commented Jun 4, 2024

Running pipenv install --index=xxx should fail if xxx isn't a url and isn't a know index. Currently pipenv adds a source to the pipfile that has an empty string as name and just xxx as url, and subsequently fails to lock (without a clear error message).

We use a consistent certain name to refer to our internal package repo, and all our install commands listed on our internal readmes and wikis assume this one has been added to the sources list already. But if that hasn't happened, the error is very unclear on what went wrong.

Pipenv version: commit 6abb08c

@matteius matteius added the Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. label Sep 23, 2024
@oz123 oz123 added the Category: Private PyPIs 😎 Problem relates to private PyPI usage. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Private PyPIs 😎 Problem relates to private PyPI usage. Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. triage
Projects
None yet
Development

No branches or pull requests

3 participants