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:
parent
4f42a815bd
commit
16fd046c71
4
tox.ini
4
tox.ini
|
@ -183,6 +183,10 @@ extension =
|
||||||
paths = ./designate/hacking
|
paths = ./designate/hacking
|
||||||
|
|
||||||
[testenv:lower-constraints]
|
[testenv:lower-constraints]
|
||||||
|
skip_install = True
|
||||||
|
commands =
|
||||||
|
python -m pip install --no-deps -U .
|
||||||
|
stestr run {posargs}
|
||||||
deps =
|
deps =
|
||||||
-c{toxinidir}/lower-constraints.txt
|
-c{toxinidir}/lower-constraints.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue