diff options
author | likui <likui@yovole.com> | 2020-11-01 16:37:32 +0800 |
---|---|---|
committer | likui <likui@yovole.com> | 2020-11-01 16:37:32 +0800 |
commit | 26e431498bc2b0c1876c9527aee6d6617e79f415 (patch) | |
tree | 0b7789d0da208ddf8b9aab26718226ad06ffd981 /tox.ini | |
parent | c75e23e81ff0235b133f386405e1f93befa40c6f (diff) | |
download | swift-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.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |