summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@est.tech>2022-09-05 16:53:35 +0200
committerElod Illes <elod.illes@est.tech>2022-09-05 16:53:35 +0200
commit58c00de5345974d855b943ef0dd4416d137951dd (patch)
tree2091871676e03d7474239b12454132d2924692e6
parent63213f8eca8bafe8b117e92b921457d62d9647e8 (diff)
downloadoslo-config-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. Change-Id: I6c6163c73ab01dfba8c9248903a786bbd837b06c
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 3c8734d..9645ca4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,10 @@ minversion = 3.2.0
distribute = False
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