Add a workaround for openSUSE

They keep shipping broken bundled packages in their venv module.
While we may want to eventually deprecate openSUSE support, provide
a work around to unbreak people.

Change-Id: Ib5c1730f5325e726bf3aef164cfaef01ad4c7a13
Story: #2008591
Task: #41747
This commit is contained in:
Dmitry Tantsur 2021-02-03 12:14:28 +01:00
parent d84bfac02d
commit 1c7cefa1d4
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Works around `broken setuptools in virtual environments on openSUSE Leap
<https://storyboard.openstack.org/#!/story/2008591>`_.

View File

@ -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