diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-06-08 17:38:12 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-06-08 17:40:45 +0200 |
commit | 0b0401f8bb23fa57bac13e14b522c9755cba05f7 (patch) | |
tree | bb37f8663852c82b237f89a1fb032be4feb74564 /tox.ini | |
parent | e1d0b3c543fc470a0459a18be3dee5a151ed79ed (diff) | |
download | qutebrowser-0b0401f8bb23fa57bac13e14b522c9755cba05f7.tar.gz qutebrowser-0b0401f8bb23fa57bac13e14b522c9755cba05f7.zip |
py312: Tell tox/virtualenv to upgrade pip
Otherwise we run into a Python 3.12 incompatibility with pkg_resources:
https://github.com/pypa/pip/issues/11501
Also needs PIP_REQUIRE_VIRTUALENV=0 because otherwise pip seems to
falsely assume it's installing things system-wide, weirdly.
Should probably be removed once there is a newer virtualenv, which
vendors a newer pip, which vendors a newer pkg_resources...
See #7727
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ setenv = pyqt{62,63,64,65}: PYTEST_QT_API=pyqt6 pyqt{62,63,64,65}: QUTE_QT_WRAPPER=PyQt6 cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report= + py312: VIRTUALENV_PIP=23.1.2 + py312: PIP_REQUIRE_VIRTUALENV=0 passenv = PYTHON DISPLAY |