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 neutron-lbaas-dashboard. [1] http://lists.openstack.org/pipermail/openstack-discuss/ \ 2019-May/006478.html Change-Id: Ie7aa9f2806b7f6d1fdc60fb94a515b99bd7fcc76
This commit is contained in:
parent
1ad5c9801a
commit
524c4aa259
4
tox.ini
4
tox.ini
|
@ -15,7 +15,7 @@ setenv =
|
||||||
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||||
CLIENT_NAME=neutron-lbaas-dashboard
|
CLIENT_NAME=neutron-lbaas-dashboard
|
||||||
DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings
|
DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings
|
||||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals = npm
|
whitelist_externals = npm
|
||||||
|
@ -44,7 +44,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
whitelist_externals = rm
|
whitelist_externals = rm
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue