Pin pip to 20.3.4 in CentOS 7

It's the latest build which supports python2.7 [1].

[1] https://pypi.org/project/pip/20.3.4/

Change-Id: If768555c4a8dda0d6c1c77c245680209a29040fc
This commit is contained in:
Alfredo Moralejo 2021-09-15 18:11:32 +02:00
parent f14f8b3b07
commit 2d1f409e52
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ if [ -z $PIP ]; then
$SUDO $PKG_MGR -y install python3-pip
PIP=pip3
else
which pip || $SUDO easy_install pip
which pip || $SUDO easy_install pip==20.3.4
PIP=pip
fi
fi