From 277ad4ecab542f7282ab2a6c237ee4c9a3146a2b Mon Sep 17 00:00:00 2001 From: Suniti13 <44272790+Suniti13@users.noreply.github.com> Date: Mon, 14 Oct 2019 16:53:44 +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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/html/user_guide.rst b/docs/html/user_guide.rst index ff500cb34de..cba17bea044 100644 --- a/docs/html/user_guide.rst +++ b/docs/html/user_guide.rst @@ -791,3 +791,18 @@ 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