From 13410383cf55699f756c6ce01301d7e67c65b575 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 14 Feb 2020 10:34:27 -0800 Subject: [PATCH] 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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 4b5b83ffb4..a4967fe1eb 100644 --- a/tox.ini +++ b/tox.ini @@ -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=