mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 17:56:11 +08:00
Provisioning: Latest pip versions don't support Python 2 anymore
We can't upgrade pip anymore to the latest version. pip 20.3 was the last version of pip that supported Python 2 Change-Id: Idd6d28dd21c81f48b36ec7140f91fe580a2aa87c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
This commit is contained in:
@@ -136,7 +136,7 @@ sudo ln -s /opt/rh/rh-python36/root/usr/bin/python3 /usr/local/bin/python3
|
||||
sudo ln -s /opt/rh/rh-python36/root/usr/bin/pip3 /usr/local/bin/pip3
|
||||
# We shouldn't use yum to install virtualenv. The one found from package repo is not
|
||||
# working, but we can use installed pip
|
||||
sudo pip install --upgrade pip
|
||||
sudo pip install --upgrade "pip < 21.0"
|
||||
sudo pip install virtualenv wheel
|
||||
|
||||
# Needed by packaging scripts
|
||||
|
||||
Reference in New Issue
Block a user