summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangboye <zhangboye@inspur.com>2020-12-24 15:56:42 +0800
committerTakashi Kajinami <tkajinam@redhat.com>2022-06-22 03:03:13 +0900
commitbcc9ebf8b737fdc231b463c8e0ef462043536492 (patch)
tree461bd9e36ed18bbb8efd688979682eac8466a02f
parent8f784480a30570a46f0fbea18ce4368da353aa83 (diff)
downloadheat-cfntools-bcc9ebf8b737fdc231b463c8e0ef462043536492.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>. Change-Id: Icf1d095143abe1c3f2165f262fb390c5becb535b
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 8f10fa6..1a84e4d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ ignore_basepython_conflict = true
basepython = python3
setenv = VIRTUAL_ENV={envdir}
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}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
@@ -34,6 +34,6 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
[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 -b html doc/source doc/build/html