tox/ci: Add PyQt 6.4

This commit is contained in:
Florian Bruhin 2022-11-24 09:26:30 +01:00
parent ca667d6429
commit a497ce69be
4 changed files with 19 additions and 3 deletions

View File

@ -138,6 +138,10 @@ jobs:
- testenv: py39-pyqt63
os: ubuntu-20.04
python: 3.9
### PyQt 6.4 (Python 3.9)
- testenv: py39-pyqt64
os: ubuntu-20.04
python: 3.9
### macOS Big Sur: PyQt 5.15 (Python 3.9 to match PyInstaller env)
- testenv: py39-pyqt515
os: macos-11

View File

@ -0,0 +1,7 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
PyQt6==6.4.0
PyQt6-Qt6==6.4.1
PyQt6-sip==13.4.0
PyQt6-WebEngine==6.4.0
PyQt6-WebEngine-Qt6==6.4.1

View File

@ -0,0 +1,4 @@
PyQt6 >= 6.4, < 6.5
PyQt6-Qt6 >= 6.4, < 6.5
PyQt6-WebEngine >= 6.4, < 6.5
PyQt6-WebEngine-Qt6 >= 6.4, < 6.5

View File

@ -13,8 +13,8 @@ minversion = 3.20
setenv =
PYTEST_QT_API=pyqt5
QUTE_QT_WRAPPER=PyQt5
pyqt{62,63}: PYTEST_QT_API=pyqt6
pyqt{62,63}: QUTE_QT_WRAPPER=PyQt6
pyqt{62,63,64}: PYTEST_QT_API=pyqt6
pyqt{62,63,64}: QUTE_QT_WRAPPER=PyQt6
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI XDG_* QUTE_* DOCKER QT_QUICK_BACKEND FORCE_COLOR DBUS_SESSION_BUS_ADDRESS
basepython =
@ -33,8 +33,9 @@ deps =
pyqt5152: -r{toxinidir}/misc/requirements/requirements-pyqt-5.15.2.txt
pyqt62: -r{toxinidir}/misc/requirements/requirements-pyqt-6.2.txt
pyqt63: -r{toxinidir}/misc/requirements/requirements-pyqt-6.3.txt
pyqt64: -r{toxinidir}/misc/requirements/requirements-pyqt-6.4.txt
commands =
!pyqt-!pyqt515-!pyqt5152-!pyqt62-!pyqt63: {envpython} scripts/link_pyqt.py --tox {envdir}
!pyqt-!pyqt515-!pyqt5152-!pyqt62-!pyqt63-!pyqt64: {envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -bb -m pytest {posargs:tests}
cov: {envpython} scripts/dev/check_coverage.py {posargs}