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:
Michael Johnson 2019-06-28 16:30:10 -07:00
parent 1ad5c9801a
commit 524c4aa259
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ setenv =
NOSE_OPENSTACK_SHOW_ELAPSED=1
CLIENT_NAME=neutron-lbaas-dashboard
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}/test-requirements.txt
whitelist_externals = npm
@ -44,7 +44,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
whitelist_externals = rm
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}/doc/requirements.txt
commands =