Update tox.ini for new upper constraints strategy
The requirements team has defined a new strategy for handling upper constraints[1]. This patch applies those strategies to Octavia dashboard. [1] http://lists.openstack.org/pipermail/openstack-discuss/ \ 2019-May/006478.html Change-Id: I33588ae6f83b25fd765bc1b2f69ae5f1e2fa0184
This commit is contained in:
parent
4b268b775e
commit
9bc0563c0d
6
tox.ini
6
tox.ini
@ -10,7 +10,7 @@ setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
CLIENT_NAME=octavia-dashboard
|
||||
DJANGO_SETTINGS_MODULE=octavia_dashboard.tests.settings
|
||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = npm
|
||||
@ -37,7 +37,7 @@ commands = npm install
|
||||
basepython = python3
|
||||
whitelist_externals = rm
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
@ -49,7 +49,7 @@ commands =
|
||||
basepython = python3
|
||||
whitelist_externals = rm
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user