diff options
author | Elod Illes <elod.illes@est.tech> | 2022-09-05 16:58:54 +0200 |
---|---|---|
committer | Elod Illes <elod.illes@est.tech> | 2022-09-21 16:29:18 +0200 |
commit | f854aee80f3f6373a60dd0dd495e8a6281213702 (patch) | |
tree | 119e77e60b2a01151edc2d494ef42d1743b0bf7e | |
parent | 4e16d837629c935e1a12f3bb55c77e1f64289ce0 (diff) | |
download | oslo-db-stable/train.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.
Conflicts:
tox.ini
NOTE(elod.illes): conflict is caused by tox.ini cleanup patch, that was
added in ussuri: I37c608d9da6bffe2f24e0e1fbeb4e8d350089850
Change-Id: Icd879239a2e51e3360774010f8811001357a1f74
(cherry picked from commit 5625eeabfcf9996b1e1546f592ff0e5ead8a31a9)
-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] whitelist_externals = |