summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristi Nikolla <kristi@nikolla.me>2020-02-19 20:17:57 -0500
committerKristi Nikolla <kristi@nikolla.me>2020-02-19 20:17:57 -0500
commit3a59d3e28d97db6f64d5a16493ecb2ce7d7dda38 (patch)
treec9d5855392c5f0be03c3f04546478b146663b89e
parent08f02c1a208b0aa872c3b8540d553f1d9780fbfb (diff)
downloadkeystone-3a59d3e28d97db6f64d5a16493ecb2ce7d7dda38.tar.gz
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. Manual port of 13410383cf55699f756c6ce01301d7e67c65b575 edited to reference train instead of master. Change-Id: I987918023525ff165ada691feda23ee86c7e36de
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d9b67ef11..5df49d45a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -135,6 +135,7 @@ max-complexity=24
[testenv:docs]
basepython = python3
deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/train}
-r{toxinidir}/doc/requirements.txt
.[ldap,memcache,mongodb]
commands=