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.
This commit is contained in:
Paul Mairo 2023-07-22 12:22:53 +02:00
parent 4e67a1727a
commit ed70741587
1 changed files with 3 additions and 0 deletions

View File

@ -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':