summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlikui <likui@yovole.com>2020-11-01 16:02:34 +0800
committerlikui <likui@yovole.com>2020-11-03 13:18:58 +0800
commit24a4b13a28148ce217c3b9d321ce06db48e0ad1f (patch)
tree9f1c8db561d4ad55d29f8b0f061d94e9ee52fa75
parentc3ab4a7ca74185ef32e0a32b3eeb62847743e00a (diff)
downloadironic-python-agent-24a4b13a28148ce217c3b9d321ce06db48e0ad1f.tar.gz
Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use uppper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: Ibd7895fe3856a179b9f90104015057a38a062aa9
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index db526e3e..ef75d18c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,7 @@ setenv =
LANGUAGE=en_US
LC_ALL=en_US.utf-8
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}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}