Add test environments for Qt 6.2 and 6.3

This commit is contained in:
Florian Bruhin 2022-04-19 15:46:30 +02:00
parent fdec8e489c
commit 0428ede31e
6 changed files with 38 additions and 1 deletions

View File

@ -138,6 +138,14 @@ jobs:
- testenv: py311-pyqt515
os: ubuntu-20.04
python: "3.11-dev"
### PyQt 6.2 (Python 3.9)
- testenv: py39-pyqt62
os: ubuntu-20.04
python: 3.9
### PyQt 6.3 (Python 3.9)
- testenv: py39-pyqt63
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.2.3
PyQt6-Qt6==6.2.4
PyQt6-sip==13.3.1
PyQt6-WebEngine==6.2.1
PyQt6-WebEngine-Qt6==6.2.4

View File

@ -0,0 +1,4 @@
PyQt6 >= 6.2, < 6.3
PyQt6-Qt6 >= 6.2, < 6.3
PyQt6-WebEngine >= 6.2, < 6.3
PyQt6-WebEngine-Qt6 >= 6.2, < 6.3

View File

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

View File

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

View File

@ -12,7 +12,12 @@ minversion = 3.15
[testenv]
setenv =
PYTEST_QT_API=pyqt5
pyqt{,512,513,514,515,5150}: LINK_PYQT_SKIP=true
QUTE_QT_WRAPPER=PyQt5
pyqt62: PYTEST_QT_API=pyqt6
pyqt62: QUTE_QT_WRAPPER=PyQt6
pyqt63: PYTEST_QT_API=pyqt6
pyqt63: QUTE_QT_WRAPPER=PyQt6
pyqt{,512,513,514,515,5150,62,63}: LINK_PYQT_SKIP=true
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 =
@ -32,6 +37,8 @@ deps =
pyqt514: -r{toxinidir}/misc/requirements/requirements-pyqt-5.14.txt
pyqt515: -r{toxinidir}/misc/requirements/requirements-pyqt-5.15.txt
pyqt5150: -r{toxinidir}/misc/requirements/requirements-pyqt-5.15.0.txt
pyqt62: -r{toxinidir}/misc/requirements/requirements-pyqt-6.2.txt
pyqt63: -r{toxinidir}/misc/requirements/requirements-pyqt-6.3.txt
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -bb -m pytest {posargs:tests}