Constraint dependencies for docs build

Without this patch, new library releases (even if not specifically
related to sphinx or docs) can break the docs build. For example, the
latest Werkzeug release is breaking the docs for the stable/stein branch
due to an import error that was fixed in later branches. We shouldn't be
letting new library releases affect the docs environment for the same
reason we want to control the other tox environments. This change adds
-c to the docs tox environment so ensure that all libraries installed in
this environment are known good versions.

Change-Id: I7cec5478bd276594485ed3ce434ba8dda1975ce4
This commit is contained in:
Colleen Murphy 2020-02-14 10:34:27 -08:00 committed by Kristi Nikolla
parent 9ee3d337f7
commit 13410383cf
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ max-complexity=24
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
.[ldap,memcache,mongodb]
commands=