Package: python-launchpadlib
Version: 1.5.4-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

https://launchpad.net/bugs/510129 reports that installing
python-launchpadlib does not automatically pull in python-simplejson,
although it is a required dependency. This causes consumers of
p-launchpadlib to crash with

  ImportError: No module named simplejson

Please apply the patch that we did in Ubuntu:

  * debian/control: Always depend on python-simplejson, drop the alternative
    "python2.6" dependency. While python2.6 also ships a json module, it has
    at least a different module name, and possibly even a different API.
    (LP: #510129)

Thank you for considering!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u python-launchpadlib-1.5.4/debian/control 
python-launchpadlib-1.5.4/debian/control
--- python-launchpadlib-1.5.4/debian/control
+++ python-launchpadlib-1.5.4/debian/control
@@ -12,7 +13,7 @@
 
 Package: python-launchpadlib
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-simplejson | python (>= 
2.6), python-httplib2 (>= 0.4.0), python-wadllib, python-lazr.restfulclient (>= 
0.9.10), python-lazr.uri, python-oauth
+Depends: ${python:Depends}, ${misc:Depends}, python-simplejson, 
python-httplib2 (>= 0.4.0), python-wadllib, python-lazr.restfulclient (>= 
0.9.10), python-lazr.uri, python-oauth
 Description: Launchpad web services client library
  A free Python library for scripting Launchpad through its web services
  interface.
diff -u python-launchpadlib-1.5.4/debian/changelog 
python-launchpadlib-1.5.4/debian/changelog

Attachment: signature.asc
Description: Digital signature

Reply via email to