summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Olof Gunnar Andersson <eandersson@blizzard.com>2020-10-14 22:14:10 -0700
committerErik Olof Gunnar Andersson <eandersson@blizzard.com>2020-10-15 12:01:06 -0700
commit688987ab44e9dc167ba9d5928d72748313196fc9 (patch)
treed181af89bed7bea5b48d9b1e2e7eec1a7684f8e9
parentd7e8b938d7105d7d51dc3f9000b398a3fd7e2c1a (diff)
downloaddesignate-688987ab44e9dc167ba9d5928d72748313196fc9.tar.gz
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)
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ad0dbc6e..58d92fc5 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