pysync: override PYTHON_KEYRING_BACKEND (#3480)

This bothers me everytime I have to call `pysync`.
This commit is contained in:
Joonas Koivunen
2023-02-01 14:07:23 +02:00
committed by GitHub
parent 2309dd5646
commit 9bb6a6c77c

View File

@@ -4,6 +4,10 @@
# It is intended to be a primary endpoint for all the people who want to # 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 # 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 poetry config --list
if [ -z "${CI}" ]; then if [ -z "${CI}" ]; then