Add local bindep.txt

As it was announced [1] global bindep-fallback.txt was removed and now
projects need to have a local bindep.txt to be able to install binary
dependencies for testing.

In documentation zuul job graphviz package ('dot' command) is needed.
Without that the job fails with:
    dot command 'dot' cannot be run (needed for graphviz output),
    check the graphviz_dot setting


Change-Id: I5efddfc72e9dc0dd1b8b9e1e37708e1d30ef3c39
This commit is contained in:
Elod Illes 2019-06-27 12:57:48 +02:00
parent 74cc8cfe13
commit feac47186d
2 changed files with 19 additions and 0 deletions

bindep.txt Normal file
View File

@ -0,0 +1,7 @@
# This is a cross-platform list tracking distribution packages needed for install and tests;
# see for additional information.
# graphviz is necessary for documentation build
graphviz [!platform:gentoo]
media-gfx/graphviz [platform:gentoo]

View File

@ -48,6 +48,18 @@ deps =
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files, and develop mode disabled
# explicitly to avoid unnecessarily installing the checked-out repo too (this
# further relies on "tox.skipsdist = True" above).
deps = bindep
commands = bindep test
usedevelop = False
basepython = python3
deps =