Revert "Try getting PyQt 6.7 from Riverbank server"
This reverts commit 6c4be8ef03.
Possibly easier solution in next commit.
This commit is contained in:
parent
8b44c26146
commit
0f51171141
|
|
@ -4,4 +4,4 @@ PyQt6==6.7.0
|
||||||
PyQt6-Qt6==6.7.0
|
PyQt6-Qt6==6.7.0
|
||||||
PyQt6-sip==13.6.0
|
PyQt6-sip==13.6.0
|
||||||
PyQt6-WebEngine==6.7.0
|
PyQt6-WebEngine==6.7.0
|
||||||
# PyQt6-WebEngine-Qt6==6.7.0
|
PyQt6-WebEngine-Qt6==6.7.0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
|
|
||||||
#@ ignore: PyQt6-WebEngine-Qt6
|
|
||||||
|
|
||||||
PyQt6 >= 6.7, < 6.8
|
PyQt6 >= 6.7, < 6.8
|
||||||
PyQt6-Qt6 >= 6.7, < 6.8
|
PyQt6-Qt6 >= 6.7, < 6.8
|
||||||
PyQt6-WebEngine >= 6.7, < 6.8
|
PyQt6-WebEngine >= 6.7, < 6.8
|
||||||
# PyQt6-WebEngine-Qt6 >= 6.7, < 6.8
|
PyQt6-WebEngine-Qt6 >= 6.7, < 6.8
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ PyQt6==6.7.0
|
||||||
PyQt6-Qt6==6.7.0
|
PyQt6-Qt6==6.7.0
|
||||||
PyQt6-sip==13.6.0
|
PyQt6-sip==13.6.0
|
||||||
PyQt6-WebEngine==6.7.0
|
PyQt6-WebEngine==6.7.0
|
||||||
# PyQt6-WebEngine-Qt6==6.7.0
|
PyQt6-WebEngine-Qt6==6.7.0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
PyQt6
|
PyQt6
|
||||||
PyQt6-Qt6
|
PyQt6-Qt6
|
||||||
PyQt6-WebEngine
|
PyQt6-WebEngine
|
||||||
|
PyQt6-WebEngine-Qt6
|
||||||
# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
|
|
||||||
#@ ignore: PyQt6-WebEngine-Qt6
|
|
||||||
# PyQt6-WebEngine-Qt6
|
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ PyQt6==6.7.0
|
||||||
PyQt6-Qt6==6.7.0
|
PyQt6-Qt6==6.7.0
|
||||||
PyQt6-sip==13.6.0
|
PyQt6-sip==13.6.0
|
||||||
PyQt6-WebEngine==6.7.0
|
PyQt6-WebEngine==6.7.0
|
||||||
# PyQt6-WebEngine-Qt6==6.7.0
|
PyQt6-WebEngine-Qt6==6.7.0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
PyQt6
|
PyQt6
|
||||||
PyQt6-Qt6
|
PyQt6-Qt6
|
||||||
PyQt6-WebEngine
|
PyQt6-WebEngine
|
||||||
|
PyQt6-WebEngine-Qt6
|
||||||
# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
|
|
||||||
#@ ignore: PyQt6-WebEngine-Qt6
|
|
||||||
# PyQt6-WebEngine-Qt6
|
|
||||||
|
|
|
||||||
|
|
@ -249,15 +249,8 @@ def install_pyqt_binary(venv_dir: pathlib.Path, version: str) -> None:
|
||||||
utils.print_error("Non-glibc Linux is not a supported platform for PyQt "
|
utils.print_error("Non-glibc Linux is not a supported platform for PyQt "
|
||||||
"binaries, this will most likely fail.")
|
"binaries, this will most likely fail.")
|
||||||
|
|
||||||
# WORKAROUND for
|
|
||||||
# https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
|
|
||||||
needs_manual_install = version in ["auto", "6", "6.7"]
|
|
||||||
pip_install(venv_dir, '-r', pyqt_requirements_file(version),
|
pip_install(venv_dir, '-r', pyqt_requirements_file(version),
|
||||||
'--only-binary', ','.join(PYQT_PACKAGES),
|
'--only-binary', ','.join(PYQT_PACKAGES))
|
||||||
*(["--no-deps"] if needs_manual_install else []))
|
|
||||||
|
|
||||||
if needs_manual_install:
|
|
||||||
pip_install(venv_dir, "PyQt6-WebEngine-Qt6")
|
|
||||||
|
|
||||||
|
|
||||||
def install_pyqt_source(venv_dir: pathlib.Path, version: str) -> None:
|
def install_pyqt_source(venv_dir: pathlib.Path, version: str) -> None:
|
||||||
|
|
|
||||||
14
tox.ini
14
tox.ini
|
|
@ -51,13 +51,6 @@ deps =
|
||||||
pyqt65: -r{toxinidir}/misc/requirements/requirements-pyqt-6.5.txt
|
pyqt65: -r{toxinidir}/misc/requirements/requirements-pyqt-6.5.txt
|
||||||
pyqt66: -r{toxinidir}/misc/requirements/requirements-pyqt-6.6.txt
|
pyqt66: -r{toxinidir}/misc/requirements/requirements-pyqt-6.6.txt
|
||||||
pyqt67: -r{toxinidir}/misc/requirements/requirements-pyqt-6.7.txt
|
pyqt67: -r{toxinidir}/misc/requirements/requirements-pyqt-6.7.txt
|
||||||
# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
|
|
||||||
# --no-deps since we install from a complete requirements.txt anyways.
|
|
||||||
install_command =
|
|
||||||
pyqt67: python -I -m pip install --no-deps {opts} {packages}
|
|
||||||
!pyqt67: python -I -m pip install {opts} {packages}
|
|
||||||
commands_pre =
|
|
||||||
pyqt67: pip install --extra-index-url https://www.riverbankcomputing.com/pypi/simple/ PyQt6-WebEngine-Qt6
|
|
||||||
commands =
|
commands =
|
||||||
!pyqt-!pyqt515-!pyqt5152-!pyqt62-!pyqt63-!pyqt64-!pyqt65-!pyqt66-!pyqt67: {envpython} scripts/link_pyqt.py --tox {envdir}
|
!pyqt-!pyqt515-!pyqt5152-!pyqt62-!pyqt63-!pyqt64-!pyqt65-!pyqt66-!pyqt67: {envpython} scripts/link_pyqt.py --tox {envdir}
|
||||||
{envpython} -bb -m pytest {posargs:tests}
|
{envpython} -bb -m pytest {posargs:tests}
|
||||||
|
|
@ -200,13 +193,6 @@ passenv =
|
||||||
PYINSTALLER_DEBUG
|
PYINSTALLER_DEBUG
|
||||||
setenv =
|
setenv =
|
||||||
qt5: PYINSTALLER_QT5=true
|
qt5: PYINSTALLER_QT5=true
|
||||||
# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
|
|
||||||
# --no-deps since we install from a complete requirements.txt anyways.
|
|
||||||
install_command =
|
|
||||||
!qt5: python -I -m pip install --no-deps {opts} {packages}
|
|
||||||
qt5: python -I -m pip install {opts} {packages}
|
|
||||||
commands_pre =
|
|
||||||
!qt5: pip install --extra-index-url https://www.riverbankcomputing.com/pypi/simple/ PyQt6-WebEngine-Qt6
|
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/misc/requirements/requirements-pyinstaller.txt
|
-r{toxinidir}/misc/requirements/requirements-pyinstaller.txt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue