summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristi Nikolla <kristi@nikolla.me>2020-02-19 20:23:23 -0500
committerKristi Nikolla <kristi@nikolla.me>2020-02-19 20:23:23 -0500
commitf2f79a9a643a550c07b3eaee54074822e2d2eece (patch)
tree26ab5e5a74fb8223a4657835953ef4caa0b2d17f
parent8f537ed542698ebeb20d110d766b26320733effe (diff)
downloadkeystone-f2f79a9a643a550c07b3eaee54074822e2d2eece.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 stein instead of master. Change-Id: Ieeb198b32a791ebf0218897b63086e04ccd34fd3
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 9acdc699f..fd62ffa7b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -129,6 +129,7 @@ max-complexity=24
[testenv:docs]
basepython = python3
deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stein}
-r{toxinidir}/doc/requirements.txt
.[ldap,memcache,mongodb]
commands=