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 694910 - Port dbus test scripts to Python 3
Port dbus test scripts to Python 3
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: libcryptui
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: Stef Walter
Seahorse Maintainer
Depends on:
Blocks: python3
 
 
Reported: 2013-03-01 01:33 UTC by Russ Adams
Modified: 2013-07-24 15:50 UTC
See Also:
GNOME target: 3.10
GNOME version: ---


Attachments
Work towards porting the test scripts to Python 3. (9.03 KB, patch)
2013-03-23 01:41 UTC, Russ Adams
none Details | Review

Description Russ Adams 2013-03-01 01:33:36 UTC
Python 3 support is a Gnome Goal:

https://live.gnome.org/GnomeGoals/Python3Porting

Seahorse seems to use Python only for testing the dbus seahorse daemon.

dbus-python supports Python 3 as of version 1.0, but Fedora does not yet support version 1.0 of dbus-python.

Per seahorse-list conversation 'Gnome Python 3 Goal' on 2013-02-23, we should wait until both Fedora's and Ubuntu's dbus-python packages support Python 3 before porting.

Please note that Fedora 18 has brought dbus-python to version 1.1.1 for testing as of 2013-02-25: https://admin.fedoraproject.org/updates/dbus-python?_csrf_token=dd04229d50cecaabdc83d3abf28401b1c3447660
Comment 1 Luke Macken 2013-03-18 06:57:25 UTC
It looks like both Fedora and Ubuntu ship a python3-compatible dbus-python now.

Where is the Python code in seahorse that needs porting? I looked in git and couldn't find it.
Comment 2 Russ Adams 2013-03-18 13:26:52 UTC
The dbus test scripts are in the libcryptui library inside the 'tests' directory.

https://git.gnome.org/browse/libcryptui/
Comment 3 Stef Walter 2013-03-19 11:51:21 UTC
Russ, it's worth attaching the libcryptui patches here, if you have them handy.
Comment 4 Russ Adams 2013-03-23 01:41:25 UTC
Created attachment 239598 [details] [review]
Work towards porting the test scripts to Python 3.

See attached for patch work towards porting the test scripts to Python 3.
Comment 5 Javier Jardón (IRC: jjardon) 2013-07-17 20:52:24 UTC
Hi, any update on this?
it would be nice if we can apply the Russ patches for 3.10
Comment 6 Stef Walter 2013-07-24 15:50:46 UTC
Thanks. Pushed to libcryptui git master.