summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2023-01-04 18:33:22 -0500
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2023-01-05 11:45:13 -0500
commit22a3169576b3fd91388e7b57ffd39e3760016796 (patch)
tree992e62253d118f85e023b2a607647af2eeacfe4c
parentbc3072318fe3780f9d10e9e94add51ab02328a23 (diff)
downloadpython-cinderclient-stable/zed.tar.gz
[stable-only] Pin tox <49.1.1stable/zed
Continue to use tox 3 in the stable branches. Two changes: - .zuul.yaml: set the ensure_tox_version to use <4, which will tell zuul to install tox<4 if it's not present - tox.ini: set requires=tox<4 so that if tox has been installed already, our tox-based jobs will use tox 3 to run the tests Change-Id: Ica4c0a1d4f861e528ce8995766e82541dc710e0f
-rw-r--r--.zuul.yaml2
-rw-r--r--tox.ini1
2 files changed, 3 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 0ae7d9f..3b177d2 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -38,6 +38,8 @@
tox_envlist: functional-py39
- project:
+ vars:
+ ensure_tox_version: '<4'
templates:
- check-requirements
- lib-forward-testing-python3
diff --git a/tox.ini b/tox.ini
index 142c86e..956e48c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
distribute = False
envlist = py3,pep8
minversion = 3.18.0
+requires = tox<4
skipsdist = True
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file