From bc12179412dd2ff7dcd6aef30f9e625eab020247 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 24 Jun 2019 22:21:33 +0200 Subject: [PATCH] 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 --- bindep.txt | 2 ++ tox.ini | 1 + 2 files changed, 3 insertions(+) create mode 100644 bindep.txt diff --git a/bindep.txt b/bindep.txt new file mode 100644 index 000000000..5774e51c1 --- /dev/null +++ b/bindep.txt @@ -0,0 +1,2 @@ +graphviz [!platform:gentoo] +media-gfx/graphviz [platform:gentoo] diff --git a/tox.ini b/tox.ini index 4d249389c..90b34bb56 100644 --- a/tox.ini +++ b/tox.ini @@ -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