Merge "Add a workaround for openSUSE"

This commit is contained in:
Zuul 2021-02-03 13:20:02 +00:00 committed by Gerrit Code Review
commit e8caf6faaf
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