From 16fd046c71d8c418bb144e9f70dde681420261ad Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Wed, 14 Oct 2020 22:14:10 -0700 Subject: Fix lower-constraints test not constraining properly When running the lower-constraints test we are currently using pip install -e . to install the source. This caused python libraries to unintentionally getting upgraded beyond the intended constraints. Change-Id: Ie05efab2f52fe3e1641c9863f6f85c813158e748 (cherry picked from commit 568b559b67b0d9a663172d681fe887bf06feea0a) --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 0a3b3e4b..36743b3a 100644 --- a/tox.ini +++ b/tox.ini @@ -183,6 +183,10 @@ extension = paths = ./designate/hacking [testenv:lower-constraints] +skip_install = True +commands = + python -m pip install --no-deps -U . + stestr run {posargs} deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt -- cgit v1.2.1