Bug#580869: Missing dependency on python-json

Michael Biebl biebl at debian.org
Wed Dec 21 12:04:22 UTC 2011


Hi Guido,

$ grep "import json" * -R
src/gnome-shell-jhbuild.in:    import json
src/gnome-shell-extension-tool.in:    import js

Looking at src/gnome-shell-extension-tool.in:

try:
    import json
except ImportError:
    try:
        import simplejson as json
    except ImportError:
        print 'The Python simplejson module is required'
        sys.exit(1)


And finally looking at the package description of of python-simplejson,
it is mentioned that the json module is directly included in python 2.6
onwards.

Currently gnome-shell has a dependency on python (>= 2.5).
So we either bump that, or add an explicit dependency on
python-simplejson. That said, given that for wheezy python2.5 is no
longer available, it probably doesn't make that much of a difference

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111221/9c9355be/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list