From 2cebb4ca8ab0b6be1958c609c325918dc9b1a43c Mon Sep 17 00:00:00 2001 From: davide3011 Date: Mon, 16 Feb 2026 14:48:06 +0100 Subject: [PATCH] fix(setup): update qml_gui PyQt6 pins for x86_64 and aarch64 compatibility --- README.md | 3 ++- setup.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34a2a8585..ecbd9c94a 100644 --- a/README.md +++ b/README.md @@ -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 \ diff --git a/setup.py b/setup.py index 0674ce38d..58e256b4b 100755 --- a/setup.py +++ b/setup.py @@ -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