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

WARNING: Keyring is skipped due to an exception: 'NoneType' object has no attribute 'endswith' #4

Closed
ffissore opened this issue Mar 24, 2021 · 0 comments · Fixed by #5

Comments

@ffissore
Copy link
Contributor

When trying to install a package that's listed in my artifact registry, I get the warning

WARNING: Keyring is skipped due to an exception: 'NoneType' object has no attribute 'endswith'
ERROR: Could not find a version that satisfies the requirement <PACKAGE NAME>
ERROR: No matching distribution found for <PACKAGE NAME>

and the package is not installed

This seems to be due to my pip.conf mentioning the artifact registry as a extra-index-url, rather than index-url
If I install the same package with pip install --index-url https://... <PACKAGE NAME> it works as expected

ffissore added a commit to ffissore/artifact-registry-pypi-tools that referenced this issue Mar 24, 2021
ffissore added a commit to ffissore/artifact-registry-pypi-tools that referenced this issue Mar 25, 2021
ffissore added a commit to ffissore/artifact-registry-pypi-tools that referenced this issue Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant