summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2020-04-24 09:52:47 -0500
committerGhanshyam Mann <gmann@ghanshyammann.com>2020-04-24 09:52:47 -0500
commitff42d69aa7fb46f390c8947079ae65163ad11ee4 (patch)
tree67c32626f984cd9ad1973bccee248e8348c77588 /tox.ini
parent2cddf595a8cdedbdb844e800d853ea143817b545 (diff)
downloadnova-ff42d69aa7fb46f390c8947079ae65163ad11ee4.tar.gz
Switch to TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Also stable ussuri branch is also switching to new var so it make sense to may the master also sync with that. - https://review.opendev.org/#/c/722520/ Change-Id: I3ce0bdc2b928ec63161cf0fa4757c43b83f2af09
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index c5119ca798..df9ffbc3b7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,7 @@ setenv =
# TODO(stephenfin): Remove psycopg2 when minimum constraints is bumped to 2.8
PYTHONWARNINGS = ignore::UserWarning:psycopg2
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
passenv =
@@ -157,7 +157,7 @@ description =
# Note that we don't use {[testenv]deps} for deps here because we don't want
# to install (test-)requirements.txt for 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 =
rm -rf doc/build/html doc/build/doctrees