[Python-modules-team] Bug#566795: python-launchpadlib: Always depend on python-simplejson

Martin Pitt martin.pitt at ubuntu.com
Mon Jan 25 08:13:50 UTC 2010

Package: python-launchpadlib
Version: 1.5.4-1
Severity: important
Tags: patch
User: ubuntu-devel at 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 Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
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
diff -u python-launchpadlib-1.5.4/debian/changelog python-launchpadlib-1.5.4/debian/changelog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100125/0a4c4af1/attachment.pgp>

More information about the Python-modules-team mailing list