GNOME Bugzilla – Bug 682422
Build errors with Python 2.5 and 2.6
Last modified: 2012-08-23 04:54:30 UTC
As noted here: https://bugzilla.gnome.org/show_bug.cgi?id=682320 pygobject should work with python >= 2.5 but there are currently some build errors with these versions: Python 2.5: make pygi-info.c:1433:9: error: request for member 'ob_refcnt' in something not a structure or union Python 2.6: make check AttributeError: 'tuple' object has no attribute 'major' I'm sure there might be others after these are fixed but opened this just for initial tracking.
I fixed the tests for Python 2.6 in http://git.gnome.org/browse/pygobject/commit/?id=6123e6f5001ca5eaea18123d8a53525abab31a45 The decorators are not really working, but at least the tests run. As the build for 2.5 has been broken for ages without anyone noticing or complaining, I bumped configure.ac to require 2.6 as the minimum Python version now.