summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2020-11-04 10:50:51 +0100
committerHervé Beraud <hberaud@redhat.com>2021-01-14 10:56:36 +0100
commitd20434cf3a72f7d0a88a5bd76b547a3a11077b4e (patch)
tree2d80d0a5ab133ac6a4a834b9759ba3f7b1f0f0a6
parent5c01e16192735d73dda45a0f8871d143f2c16052 (diff)
downloadoslo-serialization-d20434cf3a72f7d0a88a5bd76b547a3a11077b4e.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: If7d6b78ce39b9d629095ed461f0cb154ed6ed9bf
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 0973c33..fc568d6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ ignore_basepython_conflict = true
[testenv]
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}
@@ -26,7 +26,7 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_serializ
[testenv:docs]
whitelist_externals = rm
deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build