From e58d46caa3578a5ee7b04a2e832295821f60c194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Tue, 8 Mar 2022 17:01:40 +0200 Subject: [PATCH] Install python3.8 compatible wheels to wheel cache Change-Id: I42283e1aa9d731e86adccaef3baed25713c9b60d Reviewed-by: Dominik Holland (cherry picked from commit 5d53c917b065b7994fb3d139f796eca1a812d91d) Reviewed-by: Qt Cherry-pick Bot --- .../qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh index b977cca0..2d4aef9e 100755 --- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh +++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh @@ -165,12 +165,15 @@ sudo dnf -y module install nodejs:12 sudo pip3 install --upgrade pip sudo pip3 install virtualenv wheel # Just make sure we have virtualenv to run with python3.8 -m virtualenv -python3.8 -m pip install virtualenv --user +sudo python3.8 -m pip install virtualenv wheel sudo /usr/bin/pip3 install wheel # Install all needed packages in a special wheel cache directory /usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt" +# Install 3.8 compatible wheels +python3.8 -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt" + # shellcheck source=../common/unix/SetEnvVar.sh source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh" SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"