We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14a3d93 commit 623ac5dCopy full SHA for 623ac5d
src/pip/_internal/network/auth.py
@@ -154,13 +154,12 @@ def get_keyring_provider() -> KeyRingBaseProvider:
154
pass
155
except Exception as exc:
156
# In the event of an unexpected exception
157
- # we shouldn't fallback silently to the
158
- # CliProvider
+ # we should warn the user
159
logger.warning(
160
- "Keyring is skipped due to an exception: %s",
+ "Installed copy of keyring fails with exception %s, "
+ "trying to find a keyring executable as a fallback",
161
str(exc),
162
)
163
- return KeyRingNullProvider()
164
165
# Fallback to Cli Provider if `keyring` isn't installed
166
cli = shutil.which("keyring")
0 commit comments