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
This commit is contained in:
parent
e1d0b3c543
commit
0b0401f8bb
2
tox.ini
2
tox.ini
|
|
@ -16,6 +16,8 @@ setenv =
|
||||||
pyqt{62,63,64,65}: PYTEST_QT_API=pyqt6
|
pyqt{62,63,64,65}: PYTEST_QT_API=pyqt6
|
||||||
pyqt{62,63,64,65}: QUTE_QT_WRAPPER=PyQt6
|
pyqt{62,63,64,65}: QUTE_QT_WRAPPER=PyQt6
|
||||||
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
|
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
|
||||||
|
py312: VIRTUALENV_PIP=23.1.2
|
||||||
|
py312: PIP_REQUIRE_VIRTUALENV=0
|
||||||
passenv =
|
passenv =
|
||||||
PYTHON
|
PYTHON
|
||||||
DISPLAY
|
DISPLAY
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue