[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: I562dcde92227a8d5827de6fec4871e83365f9bea
This commit is contained in:
Elod Illes 2022-09-05 15:54:54 +02:00 committed by Stephen Finucane
parent 824d1d8250
commit 80bbd9cde3
2 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,6 @@
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti

View File

@ -2,6 +2,10 @@
minversion = 3.2.0
envlist = py37,pep8,docs
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