diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-07-04 14:08:04 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-07-10 15:29:21 +0200 |
commit | af2eabdbfa860300f5eee76182b01bae6e67897f (patch) | |
tree | ad20985068dcedb071db717165db548bed8bf406 | |
parent | 5c299278c2a7348af25725ca3e6d73f9df5f5e03 (diff) | |
download | qutebrowser-af2eabdbfa860300f5eee76182b01bae6e67897f.tar.gz qutebrowser-af2eabdbfa860300f5eee76182b01bae6e67897f.zip |
Add a mkvenv-pypi-old environment
Fixes #4038
See #3662
(cherry picked from commit e80e695a56516de6bea435345f2ae3589c42d127)
-rw-r--r-- | doc/install.asciidoc | 4 | ||||
-rw-r--r-- | tox.ini | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/install.asciidoc b/doc/install.asciidoc index ddf1cd120..f5fccb32e 100644 --- a/doc/install.asciidoc +++ b/doc/install.asciidoc @@ -392,6 +392,10 @@ https://docs.python.org/3/library/venv.html[virtual environment]: $ tox -e mkvenv-pypi ---- +If your system comes with Python 3.5.3 or older (such as Ubuntu 16.04 LTS), use +`tox -e mkvenv-pypi-old` instead. This installs an older Qt version (5.10) due +to bugs in newer versions. + This installs all needed Python dependencies in a `.venv` subfolder. This comes with an up-to-date Qt/PyQt including QtWebEngine, but has a few @@ -62,6 +62,19 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/misc/requirements/requirements-pyqt.txt +# Older PyQt for Python 3.5 +# 5.11.2: https://www.riverbankcomputing.com/pipermail/pyqt/2018-July/040511.html +# 5.10.1: https://github.com/qutebrowser/qutebrowser/issues/3662 +[testenv:mkvenv-pypi-old] +basepython = {env:PYTHON:python3.5} +envdir = {toxinidir}/.venv +commands = {envpython} -c "" +usedevelop = true +deps = + -r{toxinidir}/requirements.txt + PyQt5==5.10 + sip==4.19.8 + [testenv:misc] ignore_errors = true basepython = {env:PYTHON:python3} |