commit | d783a82901fea42152d71e65ca64dfaacdad866b | [log] [tgz] |
---|---|---|
author | wu.shiming <wushiming@yovole.com> | Tue Nov 17 14:04:29 2020 +0800 |
committer | wu.shiming <wushiming@yovole.com> | Tue Nov 17 14:04:29 2020 +0800 |
tree | 80ed5e2018b923c3c3b390f98ea7be45ecb503e2 | |
parent | 224e7246e8ddd8f06ee6f4a4bb329073cd6ff346 [diff] [blame] |
Update 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: I67b55e739b5c33f7d16f4750ff557d2d9218ea21
diff --git a/tox.ini b/tox.ini index eecd16e..3c18fbf 100644 --- a/tox.ini +++ b/tox.ini
@@ -14,7 +14,7 @@ OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true} OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true} 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}