diff options
author | Hervé Beraud <hberaud@redhat.com> | 2020-11-04 10:47:22 +0100 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2020-11-04 10:47:22 +0100 |
commit | d4a4b6d13313d6cba4c78380cde79005c64ef1ee (patch) | |
tree | e318a8da3508de2e3537122e0329c778945615c0 | |
parent | 43f97597021f0a5a53a4c167bdabf5c28a22b9b3 (diff) | |
download | oslo-context-d4a4b6d13313d6cba4c78380cde79005c64ef1ee.tar.gz |
Use TOX_CONSTRAINTS_FILE
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: I6e159fccb36d1c68beb2b20357311b618106bc3e
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ ignore_basepython_conflict = true [testenv] basepython = python3 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} @@ -23,7 +23,7 @@ commands = {posargs} [testenv:docs] whitelist_externals = rm 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}/doc/requirements.txt commands = rm -fr doc/build |