Bug#656230: python-dbus: Recommends on python-gobject | python-gtk ( 2.10) when it is very rarely needed
On 17/01/12 15:44, Scott Kitterman wrote: Python-gobject is only used in the dbus-python test suite and in gobject_service.py. The reason for the recommendation is primarily to support dbus.mainloop.gobject, which is necessary to subscribe to signals or call asynchronous methods (unless you use python-qt4-dbus, which provides an out-of-tree dbus.mainloop.qt with similar behaviour). I consider that functionality to be considerably more core than gobject_service. You're right that dbus-python does not itself strictly depend on pygobject (the dbus-python-using application still needs to run the GLib main loop, somehow), so the recommendation could easily change to python-gi | python-gobject-2 | python-gobject (| python-qt4-dbus, even) if preferred? It seems wise to recommend some way to make the package useful, though, and most of its functionality (including the bits described in its own tutorial) is inaccessible without a supported main loop. Note: Barry Warsaw asked me to file this and he intends to address it. The python3 branch we've both been working on upstream, which will be in the next upstream release, uses PyGI for gobject_service - but that's a relatively minor/non-essential use of GLib, compared with the main loop glue. S -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#656230: python-dbus: Recommends on python-gobject | python-gtk ( 2.10) when it is very rarely needed
Thanks for the additional analysis. Adding python-qt4-dbus as an additional alternate Recommends would address my concern.
Bug#656230: python-dbus: Recommends on python-gobject | python-gtk ( 2.10) when it is very rarely needed
Package: python-dbus Version: 0.84.0-2 Severity: normal Python-gobject is only used in the dbus-python test suite and in gobject_service.py. All packages that make use of the ExportedGObject and ExportedGObjectType classes in gobject_service.py already depend on python-gobject, so the only affect the recommends has is to cause it to be installed in systems that don't need it. Please drop to suggests. Note: Barry Warsaw asked me to file this and he intends to address it. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports') Architecture: i386 (i686) Kernel: Linux 3.0.0-14-generic-pae (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-dbus depends on: ii libc62.13-20ubuntu5 Embedded GNU C Library: Shared lib ii libdbus-1-3 1.4.14-1ubuntu1 simple interprocess messaging syst ii libdbus-glib-1-2 0.94-4 simple interprocess messaging syst ii libglib2.0-0 2.30.0-0ubuntu4 GLib library of C routines ii python 2.7.2-7ubuntu2 interactive high-level object-orie ii python2.62.6.7-4ubuntu1 An interactive high-level object-o ii python2.72.7.2-5ubuntu1 An interactive high-level object-o Versions of packages python-dbus recommends: ii python-gobject3.0.0-0ubuntu4 Python 2.x bindings for gobject-in Versions of packages python-dbus suggests: pn python-dbus-dbg none (no description available) pn python-dbus-doc none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org