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:
parent
0354a8c52d
commit
f910bbac74
3
tox.ini
3
tox.ini
@ -3,6 +3,9 @@ minversion = 1.6
|
|||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = linters
|
envlist = linters
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
# Necessary for python 2.7 support
|
||||||
|
requires =
|
||||||
|
virtualenv<20.22.0
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
Reference in New Issue
Block a user