PyGObject 2.28.3 breaks ABI

Bug #765398 reported by Johan Dahlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygobject
Unknown
Unknown
pygobject (Ubuntu)
Fix Released
High
Martin Pitt
Natty
Fix Released
High
Martin Pitt

Bug Description

PyGObject earlier than 2.28.3 includes a change which breaks the ABI with previous bindings. It makes application using kiwi or sqlkit libraries broken in natty. pida, lottanzb, gazpacho, flumotion and stoq is a short list of affected applications.

Please update to 2.28.4 which should be pretty safe. In case it's considered unsafe, just apply this patch http://git.gnome.org/browse/pygobject/patch/?id=cc0e8423f36486d15f751bd3c14351edda28538d

Related branches

Revision history for this message
Johan Dahlin (jdahlin-deactivatedaccount) wrote :

Upstream bug describing the rational is https://bugzilla.gnome.org/show_bug.cgi?id=646437

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Johan for pointing out. I read about it last night, but didn't file a bug about it yet.

Changed in pygobject (Ubuntu Natty):
status: New → Triaged
importance: Undecided → High
milestone: none → ubuntu-11.04
Revision history for this message
Martin Pitt (pitti) wrote :

Unfortunately the release of pygobject 2.28.4 was a bit premature, as it removed the workaround for the broken GLib.Variant.new_variant. This was only fixed in the yet unreleased g-i upstream git head, and not fixed at all in glib itself yet. Thus using the pygobject 2.28.4 release with the latest releases of glib and g-i is currently broken still.

I'll just cherrypick the patch for this then.

Martin Pitt (pitti)
Changed in pygobject (Ubuntu Natty):
assignee: nobody → Martin Pitt (pitti)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pygobject - 2.28.3-1ubuntu1

---------------
pygobject (2.28.3-1ubuntu1) natty; urgency=low

  * Add 00git-fix-abi-break.patch: Backport upstream commit cc0e8423 to
    restore ABI compatibility with previous versions, to unbreak metaclass
    hackery done in a lot of applications. Thanks to Johan Dahlin for pointing
    this out. (Note, we can't upgrade to 2.28.4 release yet, as this still
    needs a new g-i release first) (LP: #765398)
 -- Martin Pitt <email address hidden> Tue, 19 Apr 2011 10:03:33 +0200

Changed in pygobject (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.