From f4a5a140a83f476def177323d39f4ad0ee89bb30 Mon Sep 17 00:00:00 2001 From: Luzian Hahn Date: Thu, 26 Oct 2023 16:07:14 +0200 Subject: [PATCH] fix(.bashrc): prevent implicit usage of keyring for python When using poetry I recently ran into an issue as described here: https://github.com/python-poetry/poetry/issues/1917 It seems that the poetry authors enabled the automatic support of keyring. This does not check if keyring is actually used. I decided to apply this fix here, since I think of poetry as a useful tool to steer my python projects. Maybe this is fixed within the next poetry release anyhow. Then I'll just remove it. Otherwise this fix is useful across this system, since I don't use keyring up to now that much. Worst case I can deactivate it on specific systems. --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index da06090..9f35dcd 100644 --- a/.bashrc +++ b/.bashrc @@ -117,3 +117,6 @@ alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' alias cfgedit='GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME vim' export PATH="$HOME/.local/bin:$PATH" + +# Prevent usage of Keyring within Poetry +export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring