From e78d4fc21a5a3f832c12558ce46d1589e92067fc Mon Sep 17 00:00:00 2001 From: Elod Illes Date: Mon, 5 Sep 2022 17:52:43 +0200 Subject: [PATCH] [stable-only] Cap virtualenv for py37 py37 test started to fail with latest virtualenv (20.16.4) as it bundles setuptools 65.3.0, which causes installation problems under py37. (Note: with py38 the problem does not occur). This patch sets virtualenv<20.16.4 to unblock the gate as virtualenv 20.16.3 bundles setuptools 63.4.1, with which py37 gate works well. Change-Id: I3c6ffea4b84096cfce87bdff1e24339b1c36a3b0 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 16d4d16..a623152 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,10 @@ [tox] minversion = 2.0 envlist = py27,py37,pep8,docs +# Pin setuptools via virtualenv as latest virtualenv pulls in 65.3.0 +# version of setuptools for py37, which causes installation problems +# (virtualenv 20.16.3 uses setuptools 63.4.1). +requires = virtualenv<20.16.4 [testenv] install_command = pip install {opts} {packages}