Bug 850975 - python-novaclient missing dependency on python-setuptools
Summary: python-novaclient missing dependency on python-setuptools
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-novaclient
Version: 1.0 (Essex)
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 2.0 Folsom
Assignee: Pádraig Brady
QA Contact: Yaniv Kaul
URL:
Whiteboard:
: 849479 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-23 00:35 UTC by Pádraig Brady
Modified: 2016-01-04 14:46 UTC (History)
3 users (show)

Fixed In Version: python-novaclient-2.10.0-1.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 849477
Environment:
Last Closed: 2012-12-13 14:28:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pádraig Brady 2012-08-23 00:35:18 UTC
+++ This bug was initially created as a clone of Bug #849477 +++

[root@f17 ~]# yum install python-novaclient
[root@f17 ~]# nova
Traceback (most recent call last):
  File "/bin/nova", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources


[root@f17 ~]# yum install python-setuptools 
[root@f17 ~]# nova
usage: nova [--debug] [--os_username OS_USERNAME] [--os_password OS_PASSWORD]

--- Additional comment from pbrady on 2012-08-19 23:03:56 EDT ---

Hmm I might just remove the install_requires from setup.py
That seems at first glance redundant with distro packaging.

--- Additional comment from apevec on 2012-08-22 09:41:51 EDT ---

Not sure if install_requires will help, client binary (in all nova/glance/keystone/quantum clients) is actually generated by setuptools and uses pkg_resources.load_entry_point

Let's just add setuptools as a runtime dependency in all clients, I'll clone this to other OpenStack *client components.

--- Additional comment from updates on 2012-08-22 12:30:31 EDT ---

python-novaclient-2012.1-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-novaclient-2012.1-2.fc17

--- Additional comment from updates on 2012-08-22 12:51:24 EDT ---

python-novaclient-2012.1-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-novaclient-2012.1-2.el6

Comment 1 Alan Pevec 2012-08-23 22:28:57 UTC
*** Bug 849479 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.