Pin pip to last good version - 20.1.1 for c7
pip-20.2 break c7 jobs, details in bug[1]. With this patch we are pinning pip to last good version for Centos7. [1] https://bugs.launchpad.net/tripleo/+bug/1889357 Change-Id: I5302e4ac3dfaeefa106cf308ab41e5b25f520df9 Partial-Bug: #1889357
This commit is contained in:
parent
c19342bc21
commit
031aa65b26
|
@ -188,7 +188,13 @@ install_virtual_env(){
|
|||
echo "Warning: VIRTUAL_ENV=$VIRTUAL_ENV was found active and is being reused."
|
||||
fi
|
||||
|
||||
$(python_cmd) -m pip install pip --upgrade
|
||||
# Latest pip break Centos7 details in Bug: #1889357, Pin pip to last good version - 20.1.1 for C7
|
||||
if [[ $(python_cmd) == 'python2' ]]; then
|
||||
$(python_cmd) -m pip install pip==20.1.1
|
||||
else
|
||||
$(python_cmd) -m pip install pip --upgrade
|
||||
fi
|
||||
|
||||
echo "Installing bindep"
|
||||
$(python_cmd) -m pip install bindep --upgrade
|
||||
|
||||
|
|
Loading…
Reference in New Issue