Skip to content

Keyring auth stopped working since 21.1 #9870

@ffissore

Description

@ffissore

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: keyringRelated to pip's keyring integrationresolution: no actionWhen the resolution is to not do anything

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions