summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2020-11-04 10:49:23 +0100
committerHervé Beraud <hberaud@redhat.com>2020-11-04 10:49:23 +0100
commit672919216bdf4209a2976e86f6e58850ffc9478f (patch)
treead20d1b496dbde878ccef4b8fd5f3dac99f4669d
parent089bbd203f56fe41c4652f82e75b4ca3af7c43bc (diff)
downloadoslo-middleware-672919216bdf4209a2976e86f6e58850ffc9478f.tar.gz
Use TOX_CONSTRAINTS_FILE4.2.0
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ [2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I086b5173b45ef5f4ce6691ad33af7903b0fd78e0
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 0c77734..7f2d756 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ basepython = python3
setenv =
VIRTUAL_ENV={envdir}
deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}