tags 663740 + upstream
thanks
On Tue, 13 Mar 2012 at 19:21:51 +0100, Martin Pitt wrote:
> Packages should be migrated from the obsolete
> static bindings ("gobject", "glib", "gtk") to the
> gobject-introspection bindings ("from gi.repository import GObject"),
> and update their dependencies to "python-gi" (or -dev for build deps).
This is harder than it looks, unfortunately.
> However, it seems that python-zeitgeist uses neither, so as far as I
> can see the dependency should just be dropped.
It uses glib (python-gobject-2) indirectly. In client.py:
import dbus.mainloop.glib
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
This is really bad behaviour: using a library should not change global
state! If it was acceptable to do this, python-dbus would do it for you
already.
Unfortunately, changing it is an API change for library users:
see <https://bugs.freedesktop.org/show_bug.cgi?id=48904>. Maybe
python-zeitgeist has so few users that nobody cares, but it needs
discussing upstream.
S
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]