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
This commit is contained in:
Clark Boylan 2023-04-21 13:39:52 -07:00 committed by Clark Boylan
parent 0354a8c52d
commit f910bbac74

View File

@ -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