diff options
author | jiaqi07 <wangjiaqi07@inspur.com> | 2022-07-25 10:49:54 +0800 |
---|---|---|
committer | jiaqi07 <wangjiaqi07@inspur.com> | 2022-07-26 08:39:13 +0800 |
commit | 4edad6b58f1086e9a656e958ee162a24901e7e4c (patch) | |
tree | 0b37a06b14e9529416907d95f7b8fbe2a127e877 | |
parent | d7b1d57cae738183f8d85413e942402a8a4efb31 (diff) | |
download | keystone-4edad6b58f1086e9a656e958ee162a24901e7e4c.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: Id78b5ab392ac52a52731c87a4c06cbad1516ea85
-rw-r--r-- | tox.ini | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9,7 +9,7 @@ usedevelop = True setenv = PYTHONDONTWRITEBYTECODE=1 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}/test-requirements.txt .[ldap,memcache,mongodb] commands = @@ -43,7 +43,7 @@ passenv = FAST8_NUM_COMMITS # NOTE(browne): This is required for the integration test job of the bandit # project. Please do not remove. 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 .[bandit] commands = bandit -r keystone -x 'keystone/tests/*' @@ -85,7 +85,7 @@ passenv = [testenv:functional] 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}/test-requirements.txt setenv = OS_TEST_PATH=./keystone/tests/functional commands = @@ -123,7 +123,7 @@ max-complexity=24 [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 .[ldap,memcache,mongodb] commands= |