From 074143b0b700bb41c12e8142f38b45af11523591 Mon Sep 17 00:00:00 2001 From: Suniti13 <44272790+Suniti13@users.noreply.github.com> Date: Mon, 14 Oct 2019 16:54:46 +0530 Subject: [PATCH] Fix to issue #6773 Added documentation about how to disable keyring. Refered https://github.com/pypa/twine/issues/338 for it. --- docs/html/user_guide.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/html/user_guide.rst b/docs/html/user_guide.rst index ff500cb34de..cbd12725a8e 100644 --- a/docs/html/user_guide.rst +++ b/docs/html/user_guide.rst @@ -791,3 +791,19 @@ of ability. Some examples that you could consider include: * ``distlib`` - Packaging and distribution utilities (including functions for interacting with PyPI). + + +.. _`Disable Keyring`: + +(Optional) Disable Keyring +*************************** + +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. + +How to disable the keyring: +- Set the password as null to preferred keyring for the relevant URL and username. +- If the keyring version is 15.1.0 keyring can be disabled via command line using:: + + keyring --disable + +- Set environment variable ``PYTHON_KEYRING_BACKEND`` to ``keyring.backends.null.Keyring`` in config file