diff options
author | Elod Illes <elod.illes@est.tech> | 2022-09-05 16:51:19 +0200 |
---|---|---|
committer | Elod Illes <elod.illes@est.tech> | 2022-09-21 14:44:21 +0200 |
commit | 503981962a6524458590ec05b3a27daf3cc9ad56 (patch) | |
tree | 772e2d4009fe484a0ea66a8588441abbe5a3b62d /tox.ini | |
parent | f4d2dd88174e5abdb43dab1958e1798ae177a3a7 (diff) | |
download | oslo-concurrency-503981962a6524458590ec05b3a27daf3cc9ad56.tar.gz |
[stable-only] Cap virtualenv for py37stable/train
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.
Conflicts:
.zuul.yaml
tox.ini
NOTE(elod.illes): conflict in .zuul.yaml is caused by ussuri job
template changes; conflict in tox.ini is caused by cleanup patch
I2ab1eb99a61695bfbc7ecc66f215b1cb991007dd.
Change-Id: I8c457d06b79cacc770db62eac1d8e4459052d5ba
(cherry picked from commit 95ac6392a0dbfd816f6300c860a8d8dd2e04bdd3)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ [tox] minversion = 2.0 envlist = py27,py37,pep8 +# 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} |