Bug#580869: Missing dependency on python-json

Guido Günther agx at sigxcpu.org
Wed Dec 21 12:49:59 UTC 2011


On Wed, Dec 21, 2011 at 01:04:22PM +0100, Michael Biebl wrote:
> 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
Thanks for looking into this. Bumpong the python dependency should be
fine.
Cheers,
 -- Guido





More information about the pkg-gnome-maintainers mailing list