I've been trying to run pip list -o
and pip list --outdated
to see if any packages need to be updated but it enters a loop of printing: WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed..
I've upgraded keyring and the version was already up-to-date. I've seen this keyring warning whilst using pip install {package} --upgrade
to upgrade other packages as well.
I searched the web about that topic and find that GitHub issue.
If your pip version is any version before "21.1", you can try to upgrade pip to the latest version with pip install --upgrade pip
command.
Also, as a workaround, you can consider the following answer of jrd
from the above link:
Exporting
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
prevent python from using any keyring.PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring pipenv update
does not ask me anything anymore. So, as a temporary solution, one might want to put this in a .env file.