Add doc/requirements.txt to releasenotes tox environment

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

Change-Id: I45bdb011a8b9b4d3b0e70670c0e01b6247ad3762
This commit is contained in:
98k 2019-01-09 18:00:26 +00:00
parent ecc44e3925
commit 65fcf18dc7
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ commands=
[testenv:releasenotes]
# NOTE(Niall Bunting) Does not support constraints.
install_command = pip install -U {opts} {packages}
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
[flake8]