setup.py: "qml_gui" extra: update pyqt version

This commit is contained in:
SomberNight
2026-04-24 16:48:34 +00:00
parent 83b6770021
commit 96a3345ab5
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -108,8 +108,6 @@ Run electrum with the `-g` switch: `electrum -g qml`
Notes: Notes:
- pyqt ~6.4 would work best, as the gui has not yet been adapted to styling changes in 6.5
- However, pyqt6 as distributed on PyPI does not include a required module (PyQt6.QtQml) until 6.5
- Installing these deps from your OS package manager should also work, - Installing these deps from your OS package manager should also work,
except many don't distribute pyqt6 yet. except many don't distribute pyqt6 yet.
For pyqt5 on debian-based distros, this used to look like this: For pyqt5 on debian-based distros, this used to look like this:
+1 -1
View File
@@ -45,7 +45,7 @@ extras_require = {
'gui': ['pyqt6'], 'gui': ['pyqt6'],
'crypto': ['cryptography>=2.6'], 'crypto': ['cryptography>=2.6'],
'tests': ['pycryptodomex>=3.7', 'cryptography>=2.6', 'pyaes>=0.1a1'], 'tests': ['pycryptodomex>=3.7', 'cryptography>=2.6', 'pyaes>=0.1a1'],
'qml_gui': ['pyqt6<6.6', 'pyqt6-qt6<6.6'] 'qml_gui': ['pyqt6~=6.10', 'pyqt6-qt6~=6.10'], # should be same-ish version as Android build uses?
} }
# 'full' extra that tries to grab everything an enduser would need (except for libsecp256k1...) # 'full' extra that tries to grab everything an enduser would need (except for libsecp256k1...)
extras_require['full'] = [pkg for sublist in extras_require['full'] = [pkg for sublist in