diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-06-26 14:24:11 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-06-26 14:39:54 +0200 |
commit | 93c7fdd60c0f1f0d26415525914fdca997b06c42 (patch) | |
tree | c102bdb52a4b079084ee6a9925e20de73a96d5ba /doc | |
parent | b9855b910448b504ab34ef11e91caab62c39c8e6 (diff) | |
download | qutebrowser-93c7fdd60c0f1f0d26415525914fdca997b06c42.tar.gz qutebrowser-93c7fdd60c0f1f0d26415525914fdca997b06c42.zip |
Initial Python 3.7 drop
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changelog.asciidoc | 6 | ||||
-rw-r--r-- | doc/contributing.asciidoc | 14 | ||||
-rw-r--r-- | doc/install.asciidoc | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 5f2e945e6..20d940f0e 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -57,9 +57,9 @@ Added Removed ~~~~~~~ -- Support for Python 3.6 is dropped, as it's been - https://discuss.python.org/t/python-3-6-rides-into-the-sunset/12964[end-of-life upstream] - since December 2021. Python 3.7.0 or newer is now required. +- Python 3.8.0 or newer is now required. + - Support for Python 3.6 and 3.7 is dropped, as they both reached + their [end of life] in December 2021 and June 2023, respectively. - Support for Qt/PyQt before 5.15.0 and QtWebEngine before 5.15.2 are now dropped, as older Qt versions are https://endoflife.date/qt[end-of-life upstream] since mid/late 2020 diff --git a/doc/contributing.asciidoc b/doc/contributing.asciidoc index d99dc41ef..c2c791c89 100644 --- a/doc/contributing.asciidoc +++ b/doc/contributing.asciidoc @@ -111,9 +111,9 @@ unittests and several linters/checkers. Currently, the following tox environments are available: * Tests using https://www.pytest.org[pytest]: - - `py37`, `py38`, ...: Run pytest for python 3.7/3.8/... with the system-wide PyQt. - - `py37-pyqt512`, ..., `py37-pyqt515`: Run pytest with the given PyQt version (`py37-*` also works). - - `py37-pyqt515-cov`: Run with coverage support (other Python/PyQt versions work too). + - `py38`, `py39`, ...: Run pytest for python 3.8/3.9/... with the system-wide PyQt. + - `py38-pyqt515`, ..., `py38-pyqt65`: Run pytest with the given PyQt version (`py39-*` etc. also works). + - `py38-pyqt515-cov`: Run with coverage support (other Python/PyQt versions work too). * `flake8`: Run various linting checks via https://pypi.python.org/pypi/flake8[flake8]. * `vulture`: Run https://pypi.python.org/pypi/vulture[vulture] to find unused code portions. @@ -171,16 +171,16 @@ Examples: ---- # run only pytest tests which failed in last run: -tox -e py37 -- --lf +tox -e py38 -- --lf # run only the end2end feature tests: -tox -e py37 -- tests/end2end/features +tox -e py38 -- tests/end2end/features # run everything with undo in the generated name, based on the scenario text -tox -e py37 -- tests/end2end/features/test_tabs_bdd.py -k undo +tox -e py38 -- tests/end2end/features/test_tabs_bdd.py -k undo # run coverage test for specific file (updates htmlcov/index.html) -tox -e py37-cov -- tests/unit/browser/test_webelem.py +tox -e py38-cov -- tests/unit/browser/test_webelem.py ---- Specifying the backend for tests diff --git a/doc/install.asciidoc b/doc/install.asciidoc index c8be798df..63c6e95fc 100644 --- a/doc/install.asciidoc +++ b/doc/install.asciidoc @@ -38,7 +38,7 @@ version (Qt 5.7, based on a Chromium from March 2016). Furthermore, it packages Ubuntu 16.04 doesn't come with an up-to-date engine (a new enough QtWebKit, or QtWebEngine) and also comes with Python 3.5. -You should be able to install a newer Python (3.7+) using the +You should be able to install a newer Python (3.8+) using the https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa[deadsnakes PPA] or https://github.com/pyenv/pyenv[pyenv], and then proceed to <<tox,install qutebrowser in a virtualenv>>. However, this is currently untested. If you @@ -452,7 +452,7 @@ This installs all needed Python dependencies in a `.venv` subfolder This comes with an up-to-date Qt/PyQt including a pre-compiled QtWebEngine binary, but has a few caveats: -- Make sure your `python3` is Python 3.7 or newer, otherwise you'll get a "No +- Make sure your `python3` is Python 3.8 or newer, otherwise you'll get a "No matching distribution found" error and/or qutebrowser will not run. - It only works on 64-bit x86 systems, with other architectures you'll get the same error. |