question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keyring auth stopped working since 21.1

See original GitHub issue

Description

PR #8687 fixed issue #8090 by changing the default value of allow_keyring from True to False This change, combined with google “artifact registry” returning 403 when calling it without proper headers, resulted in breaking our CI pipeline

Please consider adding 403 as another accepted “auth error” HTTP status code

Expected behavior

No response

pip version

21.1

Python version

3.7.9

OS

linux

How to Reproduce

  1. Get package from a private google artifact registry repo
  2. Then run pip install package-name
  3. Despite having everything properly configured, pip is unable to download the package

Output

No response

Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
sjpricecommented, May 6, 2021

I got an update from Google, and it was marked as fixed last week:

Google has changed status code from 403 to 401 in case authentication fails which should make pip use keyring.

I would expect it to be available next week - day may vary depending on Google Cloud regions.

2reactions
ffissorecommented, Apr 30, 2021

Yes, they acknowledged the issue and will discuss how to handle this change in pip

Read more comments on GitHub >

github_iconTop Results From Across the Web

keyring · PyPI
The Python keyring library provides an easy way to access the system keyring service from python. It can be used in any application...
Read more >
Problem with logging in to XIQ 21.1.20.24 - Extreme Networks
There seems to be problem with logging in to XIQ after you were logged out due to innactivity. Nothing happens when you enter...
Read more >
Automatically unlocking the' default keyring' : r/zorinos - Reddit
This seems to be working because I don't get prompted to log-in when I start the OS. However, I am prompted to unlock...
Read more >
A.2. Investigating kinit Authentication Failures
General Troubleshooting · On the IdM client, display the debug messages from the kinit process: · Verify that: · Review the /etc/hosts file...
Read more >
Keyring Authentication required prompt every login - Ask Fedora
Every time I log in, all my online accounts, email accounts, and calendars get invalidated because it says “Keyring password does not match...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found