summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author98k <18552437190@163.com>2019-01-09 18:02:09 +0000
committer98k <18552437190@163.com>2019-01-09 18:02:39 +0000
commit6a4b68bddc671807727416e92e745e3cc05c6b3a (patch)
treee769a729e7b1fd40e52ae8e4f1606dcce3982ec0
parent4aeddfe587f10e5cb4b6e29bf706872817b6d166 (diff)
downloadpython-glanceclient-6a4b68bddc671807727416e92e745e3cc05c6b3a.tar.gz
Add upper-constraints.txt to releasenotes tox environment
Without these dependencies, the releasenotes build does not actually work. Change-Id: I76285c90efec07edc25b22a846379e6d600fa036
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 85f5f3a..ff2139e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -69,7 +69,9 @@ commands =
[testenv:releasenotes]
basepython = python3
-deps = -r{toxinidir}/doc/requirements.txt
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/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