[Sugar-devel] development environment native sugar python 3 dependencies not documented

James Cameron quozl at laptop.org
Mon May 20 04:21:49 EDT 2019


Yes, developers of Sugar can use a python3 port of Telepathy Python
during development, but the developers of Fedora, Debian and Ubuntu
prefer that we use a package they already have, rather than make a new
package that only Sugar needs.  I think it would be better to port to
TelepathyGLib first, in order to avoid that problem, and avoid
situation where Sugar can only be installed by hand.

Importing from jarabe should work once we have finished ported it.
https://github.com/sugarlabs/sugar/pull/805

Long term, unrelated to the Port to Python 3, we should try to remove
all imports of jarabe in activity code, and use the toolkit instead.
Other activities affected are Develop, Reflect, and VNC Launcher.
Sugargame doesn't have an import jarabe,

On Mon, May 20, 2019 at 12:49:35PM +0530, ANIKET MATHUR wrote:
> * "python3 version of telepathy". Sorry for the discrepancy.
> 
> On Mon, May 20, 2019 at 12:08 PM ANIKET MATHUR <[1]amathur at ec.iitr.ac.in>
> wrote:
> 
>     Thanks. Used Rahul's port of telepathy for python3. Though have to make
>     some fixes, which I requested [2]here. These changes finally resulted in a
>     successful 
>     python3 toolkit installed on my system so far( it might be possible that I
>     face problems as we proceed further ;-)). Since telepathy is quite an
>     essential module for the python3 toolkit to run, I propose a fork of
>     python3 version of toolkit to SugarLabs and mentioning of it in the
>     native-sugar documentation. This would help developers to set up a testing
>     environment until we completely port to TelepathyGlib.
> 
>     I also have some questions-
>     -Activities like Pippy have import of jarabe module. So do we have a
>     python3 ported version of jarabe.  Do we need it?
>     - Same goes for sugargame, though for it we have a pr opened, which can be
>     reviewed and merged now.
> 
>     On Mon, May 20, 2019 at 6:47 AM James Cameron <[3]quozl at laptop.org> wrote:
> 
>         Yes, the dependencies for the Python 3 build of sugar-toolkit-gtk3 are
>         not yet listed.
> 
>         Yes, the port from Telepathy static binding to TelepathyGLib is
>         necessary, if only to avoid using Rahul's port of Telepathy to Python
>         3.
> 
>         p.s. next time please change subject, as your mail was not on topic
>         for the thread.  I've changed it now.
> 
>         On Sat, May 18, 2019 at 06:25:50PM +0530, ANIKET MATHUR wrote:
>         > Hey,
>         > After installing the toolkit for both the python versions and running
>         "sudo apt
>         > install sucrose" as per the [1]documentation native method,
>         > the packages are installed for python 2 only. There is still a need
>         to manually
>         > install packages like decorator for python 3. So what about
>         telepathy?, isn't
>         > it necessary to port to TelapathyGlib to use toolkit for python 3?
>         Need help.
>         > Thanks!
>         >
>         > On Sat, May 18, 2019 at 8:38 AM James Cameron <[2][4]quozl at laptop.org
>         > wrote:
>         >
>         >     Sugar 0.114 is released, with a few fixes.
>         >
>         >     Downloads;
>         >
>         >         [3][5]http://download.sugarlabs.org/sources/sucrose/glucose/
>         sugar-artwork/
>         >     sugar-artwork-0.114.tar.xz
>         >         [4][6]http://download.sugarlabs.org/sources/sucrose/glucose/
>         >     sugar-datastore/sugar-datastore-0.114.tar.xz
>         >         [5][7]http://download.sugarlabs.org/sources/sucrose/glucose/
>         >     sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>         >         [6][8]http://download.sugarlabs.org/sources/sucrose/glucose/
>         sugar/
>         >     sugar-0.114.tar.xz
>         >
>         >     A v0.114 tag has been pushed to each repository.
>         >
>         >     No dependencies have changed.
>         >
>         >     (After checking the mailing list subscribers for sugar-devel@,
>         there
>         >     are no downstream packagers subscribed.  Use your downstream
>         >     mechanisms to get their attention if necessary.)
>         >
>         >     Brief change log by module below.
>         >
>         >     sugar-artwork
>         >
>         >     * No changes
>         >
>         >     sugar-datastore
>         >
>         >     * No changes
>         >
>         >     sugar-toolkit-gtk3
>         >
>         >     * New translations,
>         >     * Build for either python 2 or python 3 (James Cameron),
>         >     * Fix collaboration call_async (James Cameron),
>         >     * Clean up activity environment variables (James Cameron),
>         >     * Add distributed source to .gitignore (James Cameron),
>         >     * Add flake8 suppression (James Cameron),
>         >
>         >     sugar
>         >
>         >     * Documentation for native environment configurations (James
>         Cameron),
>         >     * Embed popwindow code in activitychooser (Rahul Bothra),
>         >     * Add flake8 suppression (James Cameron),
>         >
>         >     sha256 checksums;
>         >
>         >     0d9c63bf861d6facf8d64046ab76191a6a6b4b54daad778b40e3be1e45aa2db0 
>         >     sugar-artwork/sugar-artwork-0.114.tar.xz
>         >     eb4256f1cbf90a9a7d5dd30446e0d0d1a240db02e3104a6339e2f4497dcda4c8 
>         >     sugar-datastore/sugar-datastore-0.114.tar.xz
>         >     0917276ed41684b885bdac063562fcdfb682660700ee142a02b516a3eeecdbb1 
>         sugar/
>         >     sugar-0.114.tar.xz
>         >     4b8ca467b85b6273fdb3ae86b1afa5071f4c0c6e11a27e9166a394620c2c77e5 
>         >     sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>         >
>         >     --
>         >     James Cameron
>         >     [7][9]http://quozl.netrek.org/
>         >     _______________________________________________
>         >     Sugar-devel mailing list
>         >     [8][10]Sugar-devel at lists.sugarlabs.org
>         >     [9][11]http://lists.sugarlabs.org/listinfo/sugar-devel
>         >
>         > References:
>         >
>         > [1] [12]https://github.com/sugarlabs/sugar/blob/master/docs/
>         development-environment.md
>         > [2] mailto:[13]quozl at laptop.org
>         > [3] [14]http://download.sugarlabs.org/sources/sucrose/glucose/
>         sugar-artwork/sugar-artwork-0.114.tar.xz
>         > [4] [15]http://download.sugarlabs.org/sources/sucrose/glucose/
>         sugar-datastore/sugar-datastore-0.114.tar.xz
>         > [5] [16]http://download.sugarlabs.org/sources/sucrose/glucose/
>         sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>         > [6] [17]http://download.sugarlabs.org/sources/sucrose/glucose/sugar/
>         sugar-0.114.tar.xz
>         > [7] [18]http://quozl.netrek.org/
>         > [8] mailto:[19]Sugar-devel at lists.sugarlabs.org
>         > [9] [20]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>         > _______________________________________________
>         > Sugar-devel mailing list
>         > [21]Sugar-devel at lists.sugarlabs.org
>         > [22]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>         --
>         James Cameron
>         [23]http://quozl.netrek.org/
>         _______________________________________________
>         Sugar-devel mailing list
>         [24]Sugar-devel at lists.sugarlabs.org
>         [25]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] mailto:amathur at ec.iitr.ac.in
> [2] https://github.com/pro-panda/telepathy3/pull/1
> [3] mailto:quozl at laptop.org
> [4] mailto:quozl at laptop.org
> [5] http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/
> [6] http://download.sugarlabs.org/sources/sucrose/glucose/
> [7] http://download.sugarlabs.org/sources/sucrose/glucose/
> [8] http://download.sugarlabs.org/sources/sucrose/glucose/sugar/
> [9] http://quozl.netrek.org/
> [10] mailto:Sugar-devel at lists.sugarlabs.org
> [11] http://lists.sugarlabs.org/listinfo/sugar-devel
> [12] https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
> [13] mailto:quozl at laptop.org
> [14] http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.114.tar.xz
> [15] http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.114.tar.xz
> [16] http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
> [17] http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.114.tar.xz
> [18] http://quozl.netrek.org/
> [19] mailto:Sugar-devel at lists.sugarlabs.org
> [20] http://lists.sugarlabs.org/listinfo/sugar-devel
> [21] mailto:Sugar-devel at lists.sugarlabs.org
> [22] http://lists.sugarlabs.org/listinfo/sugar-devel
> [23] http://quozl.netrek.org/
> [24] mailto:Sugar-devel at lists.sugarlabs.org
> [25] http://lists.sugarlabs.org/listinfo/sugar-devel

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list