diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-04-24 09:52:47 -0500 |
---|---|---|
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-04-24 09:52:47 -0500 |
commit | ff42d69aa7fb46f390c8947079ae65163ad11ee4 (patch) | |
tree | 67c32626f984cd9ad1973bccee248e8348c77588 /tox.ini | |
parent | 2cddf595a8cdedbdb844e800d853ea143817b545 (diff) | |
download | nova-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.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |