summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@est.tech>2022-09-05 16:51:19 +0200
committerStephen Finucane <stephenfin@redhat.com>2022-09-14 19:00:51 +0100
commit95ac6392a0dbfd816f6300c860a8d8dd2e04bdd3 (patch)
treeb8a98f0f1e06d8598832cb05653ba65aa3a4762f
parentadde6d913fd13b8c2369fa32e15fddf52b42a874 (diff)
downloadoslo-concurrency-stable/ussuri.tar.gz
[stable-only] Cap virtualenv for py37stable/ussuri
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: I8c457d06b79cacc770db62eac1d8e4459052d5ba
-rw-r--r--.zuul.yaml1
-rw-r--r--tox.ini4
2 files changed, 4 insertions, 1 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index b0af3fe..53abc23 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -3,7 +3,6 @@
- check-requirements
- lib-forward-testing-python3
- openstack-cover-jobs
- - openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
diff --git a/tox.ini b/tox.ini
index 012bbad..c121592 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,10 @@
minversion = 3.2.0
envlist = py37,pep8
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