Skip to content

Commit 074143b

Browse files
authored
Fix to issue pypa#6773
Added documentation about how to disable keyring. Refered pypa/twine#338 for it.
1 parent a0b75cc commit 074143b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/html/user_guide.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,3 +791,19 @@ of ability. Some examples that you could consider include:
791791

792792
* ``distlib`` - Packaging and distribution utilities (including functions for
793793
interacting with PyPI).
794+
795+
796+
.. _`Disable Keyring`:
797+
798+
(Optional) Disable Keyring
799+
***************************
800+
801+
Keyring in certain cases can prevent the installing of certain packages and modules due to authentication errors. In such cases disabling the keyring is recommended.Keyring can be manually uninstalled but doing so may invalidate other packages that depends on Keyring.
802+
803+
How to disable the keyring:
804+
- Set the password as null to preferred keyring for the relevant URL and username.
805+
- If the keyring version is 15.1.0 keyring can be disabled via command line using::
806+
807+
keyring --disable
808+
809+
- Set environment variable ``PYTHON_KEYRING_BACKEND`` to ``keyring.backends.null.Keyring`` in config file

0 commit comments

Comments
 (0)