mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Fix openSUSE 16.0 python dependency failing with libexpat1
To fix ImportError: /usr/lib64/python3.13/lib-dynload/ pyexpat.cpython-313-x86_64-linux-gnu.so: undefined symbol: XML_SetAllocTrackerActivationThreshold Current libexpat1-2.7.1-160000.2.2 did not export the Alloc Tracker symbol but Python 3.13.11’s pyexpat module was built expecting symbol. Therefore needs to install newer available libexpat1-2.7.1-160000.3.1 Pick-to: 6.11 Fixes: QTQAINFRA-7650 Change-Id: Iea9b838e97830c9c6f2b1fa3be8db02447b49de4 Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
@@ -10,7 +10,7 @@ set -ex
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
# install python3
|
||||
sudo zypper -nq install python313-base python313-devel python313-pip python313-virtualenv python313-wheel
|
||||
sudo zypper -nq install python313-base python313-devel python313-pip python313-virtualenv python313-wheel libexpat1>=2.7.1-160000.3.1
|
||||
python3.13 -m pip install selenium netifaces scache brotli httpcompressionserver
|
||||
python3.13 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user