diff options
author | Simo Fält <simo.falt@qt.io> | 2022-03-08 17:01:40 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-19 10:04:00 +0000 |
commit | e58d46caa3578a5ee7b04a2e832295821f60c194 (patch) | |
tree | 0e5608d824acc185dfecb2a9b3f070198f48e1e6 | |
parent | 39649eae8035dc7595d0b8df69a630febae9497e (diff) |
Install python3.8 compatible wheels to wheel cache
Change-Id: I42283e1aa9d731e86adccaef3baed25713c9b60d
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit 5d53c917b065b7994fb3d139f796eca1a812d91d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rwxr-xr-x | coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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" |