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 568b559b67)
This commit is contained in:
Erik Olof Gunnar Andersson 2020-10-14 22:14:10 -07:00
parent d7e8b938d7
commit 688987ab44
1 changed files with 4 additions and 0 deletions

View File

@ -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