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:
Andreas Jaeger 2016-06-27 10:06:48 +02:00
parent f199d9638f
commit c7bb38d557
5 changed files with 34 additions and 18 deletions

22
AUTHORS
View File

@ -1,16 +1,6 @@
PROJECT COORDINATOR:
François Rossigneux <francois.rossigneux@inria.fr>
MAIN DEVELOPERS:
François Rossigneux <francois.rossigneux@inria.fr>
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:
Andreas Jaeger <aj@suse.com>
François Rossigneux <francois.rossigneux@inria.fr>
Jeremy Stanley <fungi@yuggoth.org>
Julien Danjou <julien@danjou.info>
Swann Croiset <swann.croiset@bull.net>
venkatamahesh <venkatamaheshkotha@gmail.com>

18
other-requirements.txt Normal file
View File

@ -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]

View File

@ -4,7 +4,7 @@ flask
iso8601
kombu
oslo.config
pbr>=0.5,<0.6
pbr>=1.6
pyserial
pysnmp
python-keystoneclient

View File

@ -18,5 +18,5 @@
import setuptools
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)

View File

@ -4,3 +4,11 @@ envlist = pep8
[testenv:pep8]
deps = pep8==1.4
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