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. We use lxml which requires a number of underlying packages. [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html Change-Id: Ie635fa5d613cb89f8de8c8c8d5b119621acb926d Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
d63f76a9b2
commit
ce3122c2f1
14
bindep.txt
Normal file
14
bindep.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# This is a cross-platform list tracking distribution packages needed for install and tests;
|
||||||
|
# see https://docs.openstack.org/infra/bindep/ for additional information.
|
||||||
|
|
||||||
|
build-essential [platform:dpkg test]
|
||||||
|
gcc [platform:rpm test]
|
||||||
|
libxml2-dev [platform:dpkg test]
|
||||||
|
libxslt1-dev [platform:dpkg test]
|
||||||
|
libxslt-devel [platform:rpm test]
|
||||||
|
python-dev [platform:dpkg test]
|
||||||
|
python-devel [platform:rpm test]
|
||||||
|
python3-dev [platform:dpkg test]
|
||||||
|
python3-devel [platform:rpm test]
|
||||||
|
libpcre3-dev [platform:dpkg test]
|
||||||
|
pcre-devel [platform:rpm test]
|
10
tox.ini
10
tox.ini
@ -62,6 +62,16 @@ local-check-factory = oslo_vmware.hacking.checks.factory
|
|||||||
basepython = python3
|
basepython = python3
|
||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
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.
|
||||||
|
deps = bindep
|
||||||
|
commands = bindep test
|
||||||
|
|
||||||
[testenv:lower-constraints]
|
[testenv:lower-constraints]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
Reference in New Issue
Block a user