GNOME Bugzilla – Bug 757086
Dist using automake 1.11 not compatible with python 3.2+
Last modified: 2015-11-01 15:42:24 UTC
The 3.18.1 release had to be redone as it was distchecked with automake 1.11. This resulted in a py-compile getting shipped which doesn't support python 3.2+. While there is a custom py-compile in /m4, updating it doesn't help as it doesn't get used by automake here (neither 1.11 nor 1.15). Any ideas/documentation on how automake scripts are supposed to be overridden by local versions? If anyone wants to try older automake: AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 ./autogen.sh A solution is to bump the automake version to 1.12.6 and remove the custom py-compile.
Created attachment 314055 [details] [review] Bump automake version to 1.12.6 Required to a get a new enough py-compile which supports the __pycache__ directories for newer Python 3 versions. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847 Also remove m4/py-compile which doesn't seem to get used in either 1.11 or 1.15 here (the automake shipped version gets copied in in all cases here..??)
Review of attachment 314055 [details] [review]: I don't see any issue with this. It looks like automake 1.12.6 was released almost 3 years ago [1] Please remove the question from the latter part of the commit message and push. Thanks. [1] https://lists.gnu.org/archive/html/autotools-announce/2012-12/msg00000.html
Thanks. https://git.gnome.org/browse/pygobject/commit/?id=72ab17963e81fb63f7238123c359be8d83a529f4