summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-04-08 07:42:53 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-04-08 07:42:53 -0500
commit2baf5bbc62e15c280a05112c56cc9c2b5d019efc (patch)
treeef41613254cf587c2f6687b5f8e47e55dfbc7d28 /tox.ini
parentf84acb9c05496974e140469496a58f463dc6831e (diff)
downloadglance_store-2baf5bbc62e15c280a05112c56cc9c2b5d019efc.tar.gz
Enforce constraints for docs dependencies
Tox targets for docs jobs were missing the upper constraints enforcement. This adds constrained dependency installation for these targets. Change-Id: I187cfced08ec8dde561b947e797807dbbf723fe6 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 749937c..8c05b46 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,11 +16,15 @@ passenv = OS_TEST_*
commands = stestr run --slowest {posargs}
[testenv:docs]
-deps = -r{toxinidir}/doc/requirements.txt
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+ -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
-deps = -r{toxinidir}/doc/requirements.txt
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+ -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pep8]