diff options
author | Elod Illes <elod.illes@est.tech> | 2019-06-27 12:57:48 +0200 |
---|---|---|
committer | Elod Illes <elod.illes@est.tech> | 2019-06-27 18:08:32 +0200 |
commit | caf65ed26066b5f7d13cc50e67f1df852414b2dc (patch) | |
tree | 1d507a01d11db6bd1ccb42b960419c1a43037368 | |
parent | 9462fd2c71f2252a487e218f2bd106abd58c9b0e (diff) | |
download | stevedore-stable/stein.tar.gz |
Add local bindep.txtstable/stein
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
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html
Change-Id: I5efddfc72e9dc0dd1b8b9e1e37708e1d30ef3c39
(cherry picked from commit feac47186d79569bb564e18216e07f18ed5ccd8b)
-rw-r--r-- | bindep.txt | 7 | ||||
-rw-r--r-- | tox.ini | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/bindep.txt b/bindep.txt new file mode 100644 index 0000000..7a2df73 --- /dev/null +++ b/bindep.txt @@ -0,0 +1,7 @@ +# This is a cross-platform list tracking distribution packages needed for install and tests; +# see https://docs.openstack.org/infra/bindep/ for additional information. + +# graphviz is necessary for documentation build +graphviz [!platform:gentoo] +media-gfx/graphviz [platform:gentoo] + @@ -48,6 +48,18 @@ deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +[testenv:bindep] +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 + [testenv:lower-constraints] basepython = python3 deps = |