diff options
author | Hervé Beraud <hberaud@redhat.com> | 2020-11-04 10:52:45 +0100 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2020-11-04 10:52:45 +0100 |
commit | 333b7375fd7a65e4eec35f6668bbf38408bc3ef1 (patch) | |
tree | e09ffa2109b32af26fed3ef2f638b99218102b90 | |
parent | 12e73eaf436ad7ff2db62f4621a9f74dbba07d00 (diff) | |
download | oslotest-333b7375fd7a65e4eec35f6668bbf38408bc3ef1.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: I9b345814296b5c6269d2634fc42b947f95cad389
-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 -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -28,7 +28,7 @@ commands = {posargs} [testenv:docs] 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 = sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html |