summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2020-11-04 10:46:42 +0100
committerHervé Beraud <hberaud@redhat.com>2020-11-04 10:46:42 +0100
commit07cf5c0fc631cfce5ca07a18e3cac24ad0fee60c (patch)
tree83a7ed4cce02147ac4789a38fa1df81d98668a25
parentdec0089a7a5351cc8ff52cd59f25e5baa40b6659 (diff)
downloadoslo-concurrency-07cf5c0fc631cfce5ca07a18e3cac24ad0fee60c.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: Ib833cd6818e7071cf3e85f77966e9c02a4026efd
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 534cc65..57b5ead 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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
# We want to support both vanilla stdlib and eventlet monkey patched
whitelist_externals = env
@@ -27,7 +27,7 @@ commands = {posargs}
[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://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build