Fix pip-missing-reqs

The gate-nova-pip-missing-reqs job on the experimental queue is failing
and pointing out several missing runtime dependencies from
requirements.txt.

Also, we need to ignore the nova/test.py file during the scan since
pip-missing-reqs doesn't include test-requirements.txt.

requests
--------
nova/scheduler/filters/trusted_filter.py:50 dist=requests
nova/api/ec2/__init__.py:30 dist=requests

prettytable
-----------
nova/openstack/common/cliutils.py:29 dist=prettytable

python-keystoneclient
---------------------
nova/context.py:22 dist=python-keystoneclient
nova/network/neutronv2/api.py:21 dist=python-keystoneclient
nova/compute/manager.py:42 dist=python-keystoneclient
nova/volume/cinder.py:27 dist=python-keystoneclient
nova/context.py:23 dist=python-keystoneclient
nova/network/neutronv2/api.py:23 dist=python-keystoneclient
nova/network/neutronv2/api.py:24 dist=python-keystoneclient
nova/volume/cinder.py:28 dist=python-keystoneclient
nova/keymgr/barbican.py:25 dist=python-keystoneclient
nova/network/neutronv2/api.py:22 dist=python-keystoneclient

netifaces
---------
nova/compute/utils.py:21 dist=netifaces

setuptools
----------
nova/openstack/common/versionutils.py:26 dist=setuptools
nova/virt/xenapi/image/bittorrent.py:18 dist=setuptools

Closes-Bug: #1453857

Change-Id: If880d76cf3e47c14b370d63313330996e09f5ab8
This commit is contained in:
Matt Riedemann 2015-05-14 11:37:28 -07:00
parent 498fab3111
commit 9a69ad82c0
2 changed files with 6 additions and 1 deletions

View File

@ -15,18 +15,23 @@ WebOb>=1.2.3
greenlet>=0.3.2
PasteDeploy>=1.5.0
Paste
PrettyTable>=0.7,<0.8
sqlalchemy-migrate>=0.9.5
netaddr>=0.7.12
netifaces>=0.10.4
paramiko>=1.13.0
pyasn1
Babel>=1.3
iso8601>=0.1.9
jsonschema>=2.0.0,<3.0.0
python-cinderclient>=1.2.1
python-keystoneclient>=1.3.0
python-neutronclient>=2.3.11,<3
python-glanceclient>=0.17.1
requests>=2.5.2
six>=1.9.0
stevedore>=1.3.0 # Apache-2.0
setuptools
websockify>=0.6.0,<0.7
oslo.concurrency>=1.8.0 # Apache-2.0
oslo.config>=1.11.0 # Apache-2.0

View File

@ -88,4 +88,4 @@ import_exceptions = nova.i18n
# of the requirements.txt files
deps = pip_missing_reqs
-rrequirements.txt
commands=pip-missing-reqs -d --ignore-file=nova/tests/* nova
commands=pip-missing-reqs -d --ignore-file=nova/tests/* --ignore-file=nova/test.py nova