After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626252 - Migrate from PyGTK to PyGObject introspection-based bindings
Migrate from PyGTK to PyGObject introspection-based bindings
Status: RESOLVED FIXED
Product: accerciser
Classification: Applications
Component: general
unspecified
Other Linux
: Immediate major
: ---
Assigned To: Accerciser Developers
Accerciser Developers
Depends on: 657120 657399
Blocks: 625902 626218
 
 
Reported: 2010-08-06 16:59 UTC by André Klapper
Modified: 2011-08-29 23:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32



Description André Klapper 2010-08-06 16:59:02 UTC
Grep'ing for pygtk-2.0 it seems that this module uses the stable bindings provided by PyGTK. 

As it is unlikely that anybody will continue maintaining these stable bindings, applications using PyGTK should be ported to using the dynamic Python bindings provided by PyGObject (now that PyGI has been merged into PyGObject).
The feedback on migration provided by application maintainers will also help PyGObject to improve its dynamic bindings.

Please see http://live.gnome.org/GnomeGoals/PythonIntrospectionPorting for more information and guidelines.

For help there is a mailing list at http://www.daa.com.au/mailman/listinfo/pygtk . For getting involved in the development of pygobject there is a mailing list at http://mail.gnome.org/mailman/listinfo/python-hackers-list . There is also the #python IRC channel on irc.gimp.net.

./src/accerciser:import pygtk
./src/accerciser:pygtk.require('2.0')
Comment 1 André Klapper 2011-01-17 21:04:19 UTC
[Removing 3.0 target as this is not a hard blocker, but a nice to have]
Comment 2 Javier Hernández 2011-04-28 00:29:17 UTC
hi!

I'm actually working on this. I have some code in a personal accerciser mirror in gitorious: http://gitorious.org/accerciser-mirror/accerciser-mirror/commits/pygtk-pygi-conversion

regards!
Comment 3 Javier Hernández 2011-06-24 21:52:47 UTC
I moved my personal mirror to github, and related code is in pygtk-pygi-conversion-3.0 branch [1]

At this moment I have a quite stabilized main application and two plugins, the interface view and the event monitor, so, I hope this can be finished soon.

Cheers!

[1]: https://github.com/javihernandez/accerciser-mirror/branches/pygtk-pygi-conversion-3.0
Comment 4 Javier Jardón (IRC: jjardon) 2011-08-14 16:56:53 UTC
Hello Javier, what is the status of this?
Comment 5 Javier Hernández 2011-08-22 22:58:17 UTC
Hi Javier!

At this moment this code is allocated in a separate branch in gnome's git [1], and it needs more testing/bugfixing. I'm having some problems detecting some issues (most of them with introspection), but the code is getting stable. At this moment there are a lot of changes in the a11y stack, so at this moment our work in accerciser is focused in this task.

Addingly, I'll update this bug as it needs.

Regards!

[1] http://git.gnome.org/browse/accerciser/log/?h=pygi
Comment 6 Javier Hernández 2011-08-29 23:15:41 UTC
I'm closing this bug because 'pygi' branch has been merged into master.

At this moment there are some issues that needs some work, but the application is working as it should.

Regards!