From f910bbac74cabd8fc9233250b725d7f995eec4c3 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 21 Apr 2023 13:39:52 -0700 Subject: [PATCH] Pin virtualenv in tox environments Virtualenv 20.22.0 dropped support for python<=3.6 (including 2.7). We still want to run tests under 2.7. Work around this by capping off virtualenv in tox's requires list. Change-Id: I4868cd5a8a958f04ac782e0963c52a118b2f5ebf --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index f6ef3aa36..c67abc8bf 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,9 @@ minversion = 1.6 skipsdist = True envlist = linters ignore_basepython_conflict = True +# Necessary for python 2.7 support +requires = + virtualenv<20.22.0 [testenv] basepython = python3