diff options
author | likui <likui@yovole.com> | 2020-10-30 13:47:38 +0800 |
---|---|---|
committer | likui <likui@yovole.com> | 2020-10-30 13:47:38 +0800 |
commit | a4beff11a257e75e35dc7ad22d6bf1018e1de4a0 (patch) | |
tree | 5cbffc309d53801a28222cfcf2d694d1f9765c3b | |
parent | a76efde6c4ee4272f0740a1dc22f2ff9d52a7bee (diff) | |
download | python-troveclient-a4beff11a257e75e35dc7ad22d6bf1018e1de4a0.tar.gz |
Update 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>.
[1] https://review.opendev.org/#/c/722814/
Change-Id: Ieb7bf715f4d28814afe6b791fde90ab114d9793a
-rw-r--r-- | tox.ini | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ setenv = VIRTUAL_ENV={envdir} usedevelop = True install_command = pip install {opts} {packages} 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 = find . -type f -name "*.pyc" -delete @@ -47,7 +47,7 @@ commands = [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 = rm -rf doc/html doc/build @@ -55,7 +55,7 @@ commands = [testenv:releasenotes] 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 -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |