From 9bb6a6c77c19569b24ee9a456b6dfbeee4338cb7 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Wed, 1 Feb 2023 14:07:23 +0200 Subject: [PATCH] pysync: override PYTHON_KEYRING_BACKEND (#3480) This bothers me everytime I have to call `pysync`. --- scripts/pysync | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/pysync b/scripts/pysync index 12fa08beca..29c51b8e20 100755 --- a/scripts/pysync +++ b/scripts/pysync @@ -4,6 +4,10 @@ # It is intended to be a primary endpoint for all the people who want to # just setup test environment without going into details of python package management +# on ubuntu 22.04 based `six` fails to install without this, because something imports keyring. +# null keyring is fine, which means no secrets should be accessed. +export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring + poetry config --list if [ -z "${CI}" ]; then