List system dependencies for running common tests
Add an other-requirements.txt file containing a cross-platform list of dependencies needed for running included tox-based tests. Also include a tox environment for convenience calling the bindep[*] utility to list any missing system requirements. This change is self-testing. For other-requirements.txt see also http://docs.openstack.org/infra/manual/drivers.html#package-requirements Update pbr constraints so that pep8 passes [*] http://docs.openstack.org/infra/bindep/ Change-Id: Ic976b8924d965bd8e2ad3216db0355389e102afc
This commit is contained in:
parent
f199d9638f
commit
c7bb38d557
22
AUTHORS
22
AUTHORS
|
@ -1,16 +1,6 @@
|
||||||
PROJECT COORDINATOR:
|
Andreas Jaeger <aj@suse.com>
|
||||||
François Rossigneux <francois.rossigneux@inria.fr>
|
François Rossigneux <francois.rossigneux@inria.fr>
|
||||||
|
Jeremy Stanley <fungi@yuggoth.org>
|
||||||
MAIN DEVELOPERS:
|
Julien Danjou <julien@danjou.info>
|
||||||
François Rossigneux <francois.rossigneux@inria.fr>
|
Swann Croiset <swann.croiset@bull.net>
|
||||||
|
venkatamahesh <venkatamaheshkotha@gmail.com>
|
||||||
CONTRIBUTORS:
|
|
||||||
Jean-Patrick Gelas <jpgelas@ens-lyon.fr>
|
|
||||||
Laurent Lefèvre <laurent.lefevre@inria.fr>
|
|
||||||
|
|
||||||
PLUGINS MAINTAINERS:
|
|
||||||
RRD graph builder : Jean-Patrick Gelas <jpgelas@ens-lyon.fr>
|
|
||||||
WTT file logging : Jean-Patrick Gelas <jpgelas@ens-lyon.fr>
|
|
||||||
|
|
||||||
|
|
||||||
FORMER MAINTAINER:
|
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# This is a cross-platform list tracking distribution packages needed by tests;
|
||||||
|
# see http://docs.openstack.org/infra/bindep/ for additional information.
|
||||||
|
|
||||||
|
build-essential [platform:dpkg]
|
||||||
|
curl
|
||||||
|
gawk
|
||||||
|
groff
|
||||||
|
language-pack-en [platform:ubuntu]
|
||||||
|
libffi-dev [platform:dpkg]
|
||||||
|
libffi-devel [platform:rpm]
|
||||||
|
librrd-dev [platform:dpkg]
|
||||||
|
libselinux-python [platform:rpm]
|
||||||
|
libuuid-devel [platform:rpm]
|
||||||
|
locales [platform:debian]
|
||||||
|
python-dev [platform:dpkg]
|
||||||
|
python-devel [platform:rpm]
|
||||||
|
rrdtool-devel [platform:rpm]
|
||||||
|
uuid-dev [platform:dpkg]
|
|
@ -4,7 +4,7 @@ flask
|
||||||
iso8601
|
iso8601
|
||||||
kombu
|
kombu
|
||||||
oslo.config
|
oslo.config
|
||||||
pbr>=0.5,<0.6
|
pbr>=1.6
|
||||||
pyserial
|
pyserial
|
||||||
pysnmp
|
pysnmp
|
||||||
python-keystoneclient
|
python-keystoneclient
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -18,5 +18,5 @@
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5,<0.6'],
|
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=1.8'],
|
||||||
d2to1=True)
|
d2to1=True)
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -4,3 +4,11 @@ envlist = pep8
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps = pep8==1.4
|
deps = pep8==1.4
|
||||||
commands = pep8 --show-source kwapi setup.py
|
commands = pep8 --show-source kwapi setup.py
|
||||||
|
|
||||||
|
[testenv:bindep]
|
||||||
|
# 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.
|
||||||
|
deps = bindep
|
||||||
|
commands = bindep test
|
||||||
|
|
Loading…
Reference in New Issue