From 978d3a4c066aefa9f2d93ecf935e52887bc28685 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 21 Oct 2024 13:10:54 -0400 Subject: [PATCH] pin older pip for tox under py37 this is suddenly failing due to a non-py37 syntax in pip/_vendor/typing_extensions.py. Not clear why the failure has just started however as there is no new version of pip recently. Change-Id: I783e2341424a1dad206a7ab668900475fd8d30c5 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 26254801d7..d872bbc8fe 100644 --- a/tox.ini +++ b/tox.ini @@ -98,6 +98,9 @@ setenv= PYTHONNOUSERSITE=1 PYTEST_EXCLUDES=-m "not memory_intensive and not mypy" + # ensure older pip is installed for EOL python versions + py37: VIRTUALENV_PIP=24.0 + PYTEST_COLOR={tty:--color=yes} MYPY_COLOR={tty:--color-output} -- 2.47.3