diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-06-01 13:54:58 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-06-01 13:54:58 +0200 |
commit | f971cc041f5b3c096ca23e1291005079b8bf3431 (patch) | |
tree | ae3d18c9453c38431d6f5e83bfa365396e5f040d | |
parent | deba7273785638de7ddd6921db0a50d88771e21c (diff) | |
download | qutebrowser-f971cc041f5b3c096ca23e1291005079b8bf3431.tar.gz qutebrowser-f971cc041f5b3c096ca23e1291005079b8bf3431.zip |
ci: Switch to Qt 5.15
-rw-r--r-- | .appveyor.yml | 4 | ||||
-rw-r--r-- | .travis.yml | 20 | ||||
-rw-r--r-- | misc/requirements/requirements-pyqt-5.15.txt | 5 | ||||
-rw-r--r-- | misc/requirements/requirements-pyqt-5.15.txt-raw | 4 | ||||
-rw-r--r-- | misc/requirements/requirements-pyqt.txt | 6 | ||||
-rw-r--r-- | tox.ini | 7 |
6 files changed, 33 insertions, 13 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 0ee670b37..23a96055c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -10,8 +10,8 @@ image: environment: PYTHONUNBUFFERED: 1 - PYTHON: C:\Python37-x64\python.exe - TESTENV: py37-pyqt514 + PYTHON: C:\Python38-x64\python.exe + TESTENV: py38-pyqt515 install: - '%PYTHON% --version' diff --git a/.travis.yml b/.travis.yml index 4ca28c375..28ad24af9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,6 @@ matrix: ### PyQt 5.12 (Python 3.8) - env: TESTENV=py38-pyqt512 - # http://code.qt.io/cgit/qt/qtbase.git/commit/?id=c3a963da1f9e7b1d37e63eedded61da4fbdaaf9a addons: apt: packages: @@ -53,20 +52,31 @@ matrix: ### PyQt 5.13 (Python 3.8) - env: TESTENV=py38-pyqt513 - # http://code.qt.io/cgit/qt/qtbase.git/commit/?id=c3a963da1f9e7b1d37e63eedded61da4fbdaaf9a addons: apt: packages: - libxkbcommon-x11-0 - ### PyQt 5.14 (Python 3.8, with coverage) - - env: TESTENV=py38-pyqt514-cov - # http://code.qt.io/cgit/qt/qtbase.git/commit/?id=c3a963da1f9e7b1d37e63eedded61da4fbdaaf9a + ### PyQt 5.14 (Python 3.8) + - env: TESTENV=py38-pyqt514 addons: apt: packages: - libxkbcommon-x11-0 + ### PyQt 5.15 (Python 3.8, with coverage) + - env: TESTENV=py38-pyqt515-cov + addons: + apt: + packages: + - libxkbcommon-x11-0 + - libxcb-icccm4 + - libxcb-image0 + - libxcb-keysyms1 + - libxcb-randr0 + - libxcb-render-util0 + - libxcb-xinerama0 + ### macOS Mojave (10.14) - os: osx env: TESTENV=py37-pyqt514 OSX=mojave diff --git a/misc/requirements/requirements-pyqt-5.15.txt b/misc/requirements/requirements-pyqt-5.15.txt new file mode 100644 index 000000000..c21b7b742 --- /dev/null +++ b/misc/requirements/requirements-pyqt-5.15.txt @@ -0,0 +1,5 @@ +# This file is automatically generated by scripts/dev/recompile_requirements.py + +PyQt5==5.15.0 # rq.filter: < 6 +PyQt5-sip==12.8.0 +PyQtWebEngine==5.15.0 # rq.filter: < 6 diff --git a/misc/requirements/requirements-pyqt-5.15.txt-raw b/misc/requirements/requirements-pyqt-5.15.txt-raw new file mode 100644 index 000000000..c9eeb9fb7 --- /dev/null +++ b/misc/requirements/requirements-pyqt-5.15.txt-raw @@ -0,0 +1,4 @@ +#@ filter: PyQt5 < 6 +#@ filter: PyQtWebEngine < 6 +PyQt5 >= 5.15, < 6 +PyQtWebEngine >= 5.15, < 6 diff --git a/misc/requirements/requirements-pyqt.txt b/misc/requirements/requirements-pyqt.txt index 90febc2e7..74d86e8d5 100644 --- a/misc/requirements/requirements-pyqt.txt +++ b/misc/requirements/requirements-pyqt.txt @@ -1,5 +1,5 @@ # This file is automatically generated by scripts/dev/recompile_requirements.py -PyQt5==5.14.2 -PyQt5-sip==12.7.2 -PyQtWebEngine==5.14.0 +PyQt5==5.15.0 +PyQt5-sip==12.8.0 +PyQtWebEngine==5.15.0 @@ -4,15 +4,15 @@ # and then run "tox" from this directory. [tox] -envlist = py37-pyqt514-cov,misc,vulture,flake8,pylint,pyroma,check-manifest,eslint +envlist = py37-pyqt515-cov,misc,vulture,flake8,pylint,pyroma,check-manifest,eslint distshare = {toxworkdir} skipsdist = true [testenv] setenv = PYTEST_QT_API=pyqt5 - pyqt{,57,59,510,511,512,513,514}: LINK_PYQT_SKIP=true - pyqt{,57,59,510,511,512,513,514}: QUTE_BDD_WEBENGINE=true + pyqt{,57,59,510,511,512,513,514,515}: LINK_PYQT_SKIP=true + pyqt{,57,59,510,511,512,513,514,515}: QUTE_BDD_WEBENGINE=true cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report= passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI TRAVIS XDG_* QUTE_* DOCKER QT_QUICK_BACKEND basepython = @@ -32,6 +32,7 @@ deps = pyqt512: -r{toxinidir}/misc/requirements/requirements-pyqt-5.12.txt pyqt513: -r{toxinidir}/misc/requirements/requirements-pyqt-5.13.txt pyqt514: -r{toxinidir}/misc/requirements/requirements-pyqt-5.14.txt + pyqt515: -r{toxinidir}/misc/requirements/requirements-pyqt-5.15.txt commands = {envpython} scripts/link_pyqt.py --tox {envdir} {envpython} -bb -m pytest {posargs:tests} |