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:
parent
d84bfac02d
commit
1c7cefa1d4
5
releasenotes/notes/opensuse-pip-f708b89d30557f0a.yaml
Normal file
5
releasenotes/notes/opensuse-pip-f708b89d30557f0a.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Works around `broken setuptools in virtual environments on openSUSE Leap
|
||||
<https://storyboard.openstack.org/#!/story/2008591>`_.
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user