From d117e41e8850cbffaec3ce7daa3792fe2c4f4a62 Mon Sep 17 00:00:00 2001 From: Elod Illes Date: Mon, 5 Sep 2022 17:54:54 +0200 Subject: [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. NOTE(stephenfin): Modified to remove the (failing) l-c job. Change-Id: I9f54f2845167efb5ad0f52d6574747af0b5de7e9 --- .zuul.yaml | 1 - tox.ini | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 923a8c1..53abc23 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,7 +2,6 @@ templates: - check-requirements - lib-forward-testing-python3 - - openstack-lower-constraints-jobs - openstack-cover-jobs - openstack-python3-ussuri-jobs - periodic-stable-jobs diff --git a/tox.ini b/tox.ini index a233505..b2b57e1 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,10 @@ minversion = 3.1.0 envlist = cover,docs,pep8,py37,pylint,update-states ignore_basepython_conflict = True +# 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] basepython = python3 -- cgit v1.2.1