Please change python-gobject dependencies to python-gi

Owas Lone hello at
Thu Dec 8 12:48:07 UTC 2011

Will this change affect 11.10 packages? I mean do we need seperate
packaging for 11.10 and 12.04 now?

On Wed, Dec 7, 2011 at 4:16 PM, Martin Pitt <martin.pitt at> wrote:
> Hello Ubuntu developers,
> TL;DR: For packages which use the new python gobject-introspection
> bindings (from gi.repository import ...) instead of the old static
> bindings ("import gobject"), please change "python-gobject" build and
> binary dependencies to "python-gi". Same applies to python-gi-cairo.
> and python-gi-dev.
> Background:
> The pygobject package has a bit of a complicated history. It started
> with actually providing the "gobject" static binding and a few others
> such as "glib", then the new GI bindings ("gi.repository") were
> merged, and now it only contains the GI bindings and nothing else. We
> now have a pygobject-2 source package which provides the old static
> bindings for backwards compatibility.
> python-gobject is now a transitional package which pulls in both the
> new python-gi and the compatibility python-gobject-2 packages. The
> goal is to migrate everythign that uses GI to python-gi, so that it's
> easier to see which packages still need to be ported, and that
> pygobject-2 can eventually be removed.
> This change was already done for many packages in main, and I'll also
> follow the progress and do some fixes there, but it's better if more
> people than just me know the background and avoid introducing new
> dependencies to python-gobject.
> Thanks!
> Martin
> --
> Martin Pitt                        |
> Ubuntu Developer (  | Debian Developer  (
> --
> ubuntu-devel mailing list
> ubuntu-devel at
> Modify settings or unsubscribe at:

Owais Lone
hello at

More information about the ubuntu-devel mailing list