summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mairo <herrmpr@gmail.com>2023-07-22 12:22:53 +0200
committerPaul Mairo <herrmpr@gmail.com>2023-07-22 12:22:53 +0200
commited70741587d0d7f5cc90b2f510c38474a7ad9375 (patch)
tree2920a3237b76d9ac354a84fa8cc7c35571490c89
parent4e67a1727a4e3babbae1320068d15a6cd2b3f4fb (diff)
downloadqutebrowser-ed70741587d0d7f5cc90b2f510c38474a7ad9375.tar.gz
qutebrowser-ed70741587d0d7f5cc90b2f510c38474a7ad9375.zip
Create a workaround to install PyQT 6.5.2 until release
Right now the version of PyQT available on PyPI is 6.5.1 and it's buggy with Qutebrowser, this is a quick hack to get it working until it's released early next week.
-rwxr-xr-xscripts/mkvenv.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py
index 5f52792c6..9e9c1f4a2 100755
--- a/scripts/mkvenv.py
+++ b/scripts/mkvenv.py
@@ -504,6 +504,9 @@ def install_pyqt(venv_dir, args):
install_pyqt_binary(venv_dir, args.pyqt_version)
if args.pyqt_snapshot:
install_pyqt_shapshot(venv_dir, args.pyqt_snapshot.split(','))
+ # Workaround until pyqt 6.5.2 is released on pypi
+ elif args.pyqt_version in ("6.5", "6", "auto"):
+ install_pyqt_shapshot(venv_dir, ["PyQt6-Qt6", "PyQt6-WebEngine-Qt6"])
elif args.pyqt_type == 'source':
install_pyqt_source(venv_dir, args.pyqt_version)
elif args.pyqt_type == 'link':