diff options
author | likui <likui@yovole.com> | 2020-11-02 15:55:58 +0800 |
---|---|---|
committer | Luigi Toscano <ltoscano@redhat.com> | 2021-03-10 19:29:07 +0100 |
commit | 4ac8efc93ec8cc454ddbca05ee4520f787674c68 (patch) | |
tree | 40cc20d2ba3a36033b87be0e69a3d8c6c54e98ca /tox.ini | |
parent | 7a0d07c16d20fcb1e12368aa0ec20e2f53130f3a (diff) | |
download | python-cinderclient-4ac8efc93ec8cc454ddbca05ee4520f787674c68.tar.gz |
Use 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: I26f4c8fcaaaf0eca5e5d6fcb6fd443b56ea41f35
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -20,7 +20,7 @@ setenv = passenv = *_proxy *_PROXY 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 @@ -35,7 +35,7 @@ commands = [testenv:pylint] 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 pylint==2.6.0 commands = bash tools/lintstack.sh @@ -56,7 +56,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 = sphinx-build -W -b html doc/source doc/build/html @@ -73,7 +73,7 @@ allowlist_externals = [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 |