diff --git a/releasenotes/notes/opensuse-pip-f708b89d30557f0a.yaml b/releasenotes/notes/opensuse-pip-f708b89d30557f0a.yaml new file mode 100644 index 000000000..ffa6b5568 --- /dev/null +++ b/releasenotes/notes/opensuse-pip-f708b89d30557f0a.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Works around `broken setuptools in virtual environments on openSUSE Leap + `_. diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index 893c5e9a6..15d9f4a8d 100755 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -141,6 +141,11 @@ EOF export PIP_OPTS="--upgrade-strategy only-if-needed" +if [[ $OS_FAMILY == "Suse" ]]; then + # https://storyboard.openstack.org/#!/story/2008591 + ${PIP} install -U setuptools +fi + echo "Installing bindep" ${PIP} install bindep