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 5b40d3d908)
This commit is contained in:
Michael Johnson 2022-04-04 22:16:23 +00:00
parent 59eebe8805
commit 08d56f8713
1 changed files with 1 additions and 0 deletions

View File

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