A few days ago Olav Vitters announced the GNOME 3.8 goal of porting to Python 3.
This has been discussed on desktop-devel-list@ in the past days, and the foundations for this are now ready:
- pygobject now has a –with-python option. (commit)
- JHBuild now defaults to building pygobject for Python 3, but introduces a “pygobject-python2″ project for the transition phase which provides pygobject built for Python 2. (commit)
- All dependencies to “pygobject” were changed to “pygobject-python2″ to avoid breaking modules. (commit).
So in theory your modules should continue to build and work in jhbuild just fine. Once you ported a module to Python 3, please switch the dependency back to “pygobject” in jhbuild. (This is now also mentioned on https://live.gnome.org/GnomeGoals/Python3Porting)
Please don’t hesitate to ask me or any fellow PyGObject maintainer in cases of trouble; I’m “pitti” in #python on irc.gnome.org.
Thanks!
#1 by chengcai on 2012/11/13 - 07:43
Zitieren
had jhbuild ported to python3?
#2 by Ronaldo Nascimento on 2012/12/01 - 00:37
Zitieren
What does this mean? Does it mean python 3 will have Gtk+ libs or that all C/C++ projects of GNOME will be re-written in Python 3?
#3 by pitti on 2012/12/02 - 10:33
Zitieren
No, it means that all parts of GNOME which are currently written in Python 2 should be converted to Python 3.