diff options
author | Elod Illes <elod.illes@est.tech> | 2022-09-05 17:17:54 +0200 |
---|---|---|
committer | Elod Illes <elod.illes@est.tech> | 2022-09-05 17:17:54 +0200 |
commit | 2d063aee7fdb0fcfa2cc5d251364be4a3d2e20b3 (patch) | |
tree | 6a3901a6b8fbee986ec0542c012d7226ea846c42 | |
parent | 17c38af16d53cb28bd635c0b925aa78cf8e342ba (diff) | |
download | oslo-policy-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: I62cab0d31eb111294752897aeb77f854348806d4
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,10 @@ minversion = 3.1 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 |