summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Johnson <johnsomor@gmail.com>2022-04-04 22:16:23 +0000
committerMichael Johnson <johnsomor@gmail.com>2022-04-06 18:08:24 +0000
commit5b40d3d908ca674a8bc112397f008ebce0e0661c (patch)
treef8363c65e26a420e44a90aa421e9d2556cd47ccc
parent0f25a8118ed86fe6951473a1129ef87a5052cb89 (diff)
downloaddesignate-5b40d3d908ca674a8bc112397f008ebce0e0661c.tar.gz
Fix tox docs env to have the correct dependencies
Pip is pulling in unstrained dependencies during the "sibblings" package install step. Normally this is fine as the dependencies have already been installed and it's just installing the package under test. However, with designate there are a lot of overlapping dependencies and pip will end up reinstalling an unconstrained version. In this case it was Jinja2. Change-Id: Ie49f99ba8e86913471ee6cd078f5afd28282c0f5 (cherry picked from commit 30a03e1092b29457e4b79c9c7e33f835f534c857)
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 59cc52af..4c4fcd31 100644
--- a/tox.ini
+++ b/tox.ini
@@ -43,6 +43,7 @@ allowlist_externals =
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
+ -r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build