mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Update Python installation
For WebAssembly selenium tests we need a newer version of Python (>3.7), so install 3.11 instead of default 3.6. Selenium and Netifaces pip packages are also required. Change-Id: I9e3b317b359e8775d90bd143ff9692fc2a90cf42 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
sudo zypper -nq install python-devel python-xml
|
||||
|
||||
# install python3
|
||||
sudo zypper -nq install python3-base python3 python3-pip python3-devel python3-virtualenv python3-wheel
|
||||
sudo zypper -nq install python311-base python311-devel python311-pip python311-virtualenv python311-wheel
|
||||
python3.11 -m pip install selenium netifaces scache
|
||||
|
||||
SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.11"
|
||||
|
||||
Reference in New Issue
Block a user