[Sugar-devel] Migration to Python 3

Tony Anderson tony_anderson at usa.net
Wed Jun 29 13:46:19 EDT 2016


Hi, Walter

What does this do to the installed size of a release (e.g. on XO-1)?

Tony

On 06/29/2016 07:42 PM, Walter Bender wrote:
> We will keep the Python 2 libraries around.
>
> -walter
>
> On Wed, Jun 29, 2016 at 1:36 PM, Tony Anderson <tony_anderson at usa.net 
> <mailto:tony_anderson at usa.net>> wrote:
>
>     What is the impact of this on our library of Sugar activities.
>     Will we install both Pythons?
>
>     Tony
>
>
>     On 06/29/2016 04:53 PM, Walter Bender wrote:
>>
>>
>>     On Sun, Jun 26, 2016 at 5:14 PM, Sam Parkinson
>>     <sam.parkinson3 at gmail.com <mailto: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 <mailto:dave at lab6.com>> wrote:
>>>         Hi
>>>
>>>         http://lwn.net/Articles/690676/
>>>         <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
>>         <mailto:Sugar-devel at lists.sugarlabs>.org
>>         <mailto:Sugar-devel at lists.sugarlabs.org>http://lists.sugarlabs.org/listinfo/sugar-devel
>>         <http://lists.sugarlabs.org/listinfo/sugar-devel>
>>
>>
>>
>>
>>
>>
>>     -- 
>>     Walter Bender
>>     Sugar Labs
>>     http://www.sugarlabs.org
>>
>>
>>
>>     _______________________________________________
>>     Sugar-devel mailing list
>>     Sugar-devel at lists.sugarlabs.org
>>     <mailto:Sugar-devel at lists.sugarlabs.org>
>>     http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>     _______________________________________________
>     Sugar-devel mailing list
>     Sugar-devel at lists.sugarlabs.org
>     <mailto:Sugar-devel at lists.sugarlabs.org>
>     http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>
>
> -- 
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160629/1d21ff96/attachment-0001.html>


More information about the Sugar-devel mailing list