[Sugar-devel] Migration to Python 3

Walter Bender walter.bender at gmail.com
Wed Jun 29 10:53:16 EDT 2016


On Sun, Jun 26, 2016 at 5:14 PM, Sam Parkinson <sam.parkinson3 at gmail.com>
wrote:

> Sugar is using python2.7 now.
>
> I can assure you that Gtk+ (and all the other gi repository bits) work
> great with python3.  I recently wrote a reddit client in python3 and Gtk+
> and it was just as easy as with python2.
>
> I think think there was a previous GSoC project to investigate such a
> port.  I don't remember that they got a port done.  Who mentored that?
> What happened?
>
> However, I'm pretty sure that they found we had 1 python2 dep; the
> deprecated python-telepathy module.  I'd be happy for us to take
> maintainership of the parts of the python-telepathy module that we use.  We
> just use the bit that gives us constants for the telepathy dbus interfaces,
> and the Channel class (which just wraps the dbus object constructor).
>

They didn't quite finish, but they got far enough to demonstrate that it
will not be too difficult. Maybe we target Python 3 for the release
following this one?

-walter

>
> Thanks,
> Sam
>
>
> On Mon, Jun 27, 2016 at 1:56 AM, Dave Crossland <dave at lab6.com> wrote:
>
> Hi
>
> http://lwn.net/Articles/690676/
>
> "The goal is to reach 50% of [python] packages [working with Python 3] for
> Fedora 25, which is planned for release in November. There are various
> pieces that are still on Python 2, including some desktop toolkits. GTK+2
> support will not be ported to Python 3, which affects GIMP, Inkscape, and
> Sugar that all have Python-based plugins. For the enterprise, Samba is one
> of the biggest projects that remains based on Python 2. Viktorin said he
> would "probably end up porting Samba", which was met with applause.
>
>
> Has Sugar moved to GTK3 completely?
>
> What is the status of migration from Python 2 to Python 3?
>
> --
> Cheers
> Dave
>
>
> _______________________________________________
> Sugar-devel mailing listSugar-devel at lists.sugarlabs.
> <Sugar-devel at lists.sugarlabs.org>org <Sugar-devel at lists.sugarlabs.org>
> http://lists.sugarlabs.org/
> <http://lists.sugarlabs.org/listinfo/sugar-devel>listinfo/sugar-devel
> <http://lists.sugarlabs.org/listinfo/sugar-devel>
> <Sugar-devel at lists.sugarlabs.org>
> <http://lists.sugarlabs.org/listinfo/sugar-devel>
>
>


-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
<http://www.sugarlabs.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160629/3714b0ad/attachment-0001.html>


More information about the Sugar-devel mailing list