From 3cce8884215e3ae1ddf4f90f7d21483c805aa323 Mon Sep 17 00:00:00 2001 From: Boden R Date: Thu, 7 Jun 2018 14:21:09 -0600 Subject: [PATCH] fix lower constraints targets in tox ini This patch updates tox ini to support both a dev and build target; lower-constraints-dev and lower-constraints respectively. The dev target is for running locally so it manually installs the required projects whereas the build target doesn't as per zuul's required project definition in project.yaml. Also see https://review.openstack.org/#/c/573386/ Change-Id: I0e6cf1ca0f4b07c080ff5a7b221dabedfd8bf6cf --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index a1f7687ec7..0467e8489a 100644 --- a/tox.ini +++ b/tox.ini @@ -161,6 +161,14 @@ commands = [testenv:lower-constraints] basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/doc/requirements.txt + -r{toxinidir}/requirements.txt + +[testenv:lower-constraints-dev] +basepython = python3 commands = pip install -q -e "git+https://git.openstack.org/openstack/networking-l2gw#egg=networking_l2gw" pip install -q -e "git+https://git.openstack.org/openstack/networking-sfc#egg=networking_sfc"