summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorlikui <likui@yovole.com>2020-11-01 16:37:32 +0800
committerlikui <likui@yovole.com>2020-11-01 16:37:32 +0800
commit26e431498bc2b0c1876c9527aee6d6617e79f415 (patch)
tree0b7789d0da208ddf8b9aab26718226ad06ffd981 /tox.ini
parentc75e23e81ff0235b133f386405e1f93befa40c6f (diff)
downloadswift-26e431498bc2b0c1876c9527aee6d6617e79f415.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 lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: I7e3cdef5b1bcb28019055d29dbd95073e92882fc
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f73886f58..2eb017420 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_COVER_BRANCHES=1
NOSE_COVER_HTML_DIR={toxinidir}/cover
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 = find {envdir} ( -type f -o -type l ) -name "*.py[co]" -delete