fix(setup): update qml_gui PyQt6 pins for x86_64 and aarch64 compatibility

This commit is contained in:
2026-02-16 14:48:06 +01:00
parent 82ec2ce062
commit 2cebb4ca8a
2 changed files with 7 additions and 2 deletions

View File

@@ -95,6 +95,7 @@ python run_electrum gui -g qml
sudo apt update
sudo apt install -y python3-venv python3-pip build-essential python3-dev
sudo apt install -y libffi-dev libssl-dev libsecp256k1-dev
sudo apt install -y libpulse0 # required by QtMultimedia (QML GUI)
```
**Setup with Virtual Environment:**
@@ -128,7 +129,7 @@ source env/bin/activate
# Upgrade pip and install dependencies
python3 -m pip install --upgrade pip
pip install -r contrib/requirements/requirements.txt
pip install cryptography>=2.6
pip install "cryptography>=2.6"
# Install PyQt6 (ARM64-compatible versions)
pip install --only-binary PyQt6,PyQt6-Qt6 \

View File

@@ -45,7 +45,11 @@ extras_require = {
'gui': ['pyqt6'],
'crypto': ['cryptography>=2.6'],
'tests': ['pycryptodomex>=3.7', 'cryptography>=2.6', 'pyaes>=0.1a1'],
'qml_gui': ['pyqt6<6.6', 'pyqt6-qt6<6.6']
'qml_gui': [
'pyqt6>=6.7.0,<6.8.0',
'pyqt6-qt6>=6.7.0,<6.8.0',
'pyqt6-sip==13.10.2',
],
}
# 'full' extra that tries to grab everything an enduser would need (except for libsecp256k1...)
extras_require['full'] = [pkg for sublist in