Add upper-constraints.txt to releasenotes tox environment

Without these dependencies, the releasenotes build does not actually
work.

Change-Id: I76285c90efec07edc25b22a846379e6d600fa036
This commit is contained in:
98k 2019-01-09 18:02:09 +00:00
parent 4aeddfe587
commit 6a4b68bddc
1 changed files with 3 additions and 1 deletions

View File

@ -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