Fix api-ref and docs building

The api-ref tox env is currently failing, see
http://zuul.openstack.org/build/fd7de0dbca1940b08878dd62ea750fe7 for one
example.

Fix it by using the proper requirements file.

Also, add bindep.txt file so that graphviz is available. The recent
change to not install the global fallback broke the docs building.

Change-Id: I3b76f1cb529a675da6ad9ba9bec3b72a66b460a1
This commit is contained in:
Andreas Jaeger 2019-06-24 22:21:33 +02:00
parent faf42a890b
commit bc12179412
2 changed files with 3 additions and 0 deletions

2
bindep.txt Normal file
View File

@ -0,0 +1,2 @@
graphviz [!platform:gentoo]
media-gfx/graphviz [platform:gentoo]

View File

@ -78,6 +78,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:api-ref]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html