python-glanceclient has a bad version dep on python-prettytable

Bug #1073275 reported by Justin Shepherd
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-glanceclient (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

 dpkg -l python-glanceclient
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================================-============================================-========================================================================================================
ii python-glanceclient 1:0.5.1.8.cdc06d9+git201210051430~precise-0u Client library for Openstack glance server.

# apt-cache show python-glanceclient | grep -i Depends
Depends: python-httplib2, python-keystoneclient, python-prettytable, python-setuptools, python-warlock, python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8)

========

However, python-glance client has a dep on prettytable>=0.6,<0.7

Traceback (most recent call last):
  File "/usr/bin/glance", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: prettytable>=0.6,<0.7

If you have python-prettytable-0.5-1ubuntu2 installed, it will not upgrade and will throw this error.

Related branches

Chuck Short (zulcss)
Changed in python-glanceclient (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-glanceclient - 1:0.6.0-0ubuntu1

---------------
python-glanceclient (1:0.6.0-0ubuntu1) raring; urgency=low

  [ Adam Gandelman ]
  * Ensure python-prettytable >= 0.6. (LP: #1073275)
  * debian/control, pydist-overrides: Add python-openssl override.

  [ Chuck Short ]
  * New usptream release.
 -- Chuck Short <email address hidden> Fri, 23 Nov 2012 10:22:06 -0600

Changed in python-glanceclient (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.