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:10:51 +0000
commit08d56f871311464c7d8f3c1f0c56b2a7f9cd36e1 (patch)
tree5766fd35196d5b97e7cea5d18a2bd43aae9fce4d
parent59eebe88057170d411b04343652ad8da7a14f078 (diff)
downloaddesignate-08d56f871311464c7d8f3c1f0c56b2a7f9cd36e1.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 5b40d3d908ca674a8bc112397f008ebce0e0661c)
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index f44ba538..ce2f462f 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/xena}
+ -r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build