-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(network/auth): Asks for password when it is None #8027
Conversation
Can this be merged? |
It needs a review first (I don't personally know the keyring code well enough, but from a technical point of view the change looks OK to me). But even so, merges are on hold until after 20.1 is released. Unless this is viewed as a significant bugfix, worth an exemption, but that would be @pradyunsg's call, as RM. |
Can this be merged now? |
news/7998.bugfix
Outdated
@@ -0,0 +1 @@ | |||
Ask for password when either the password is None. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably needs to be reworded. It's not very clear what this means as a line in https://pip.pypa.io/en/stable/news/.
I'm not sure what the best phrasing would be, but perhaps someone else would have a suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about Prompt the user for password if the keyring backend doesn't return one
When `get_keyring_auth` provides the password as None, the user should be prompt to ask password.
When
get_keyring_auth
provides the password as None, theuser should be prompt to ask the password.
This fixes #7998