-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to Python 3 #787
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I have built fedora (29) RPMS to do some testing (if you're interested, you can find rpm and src.rpm at: https://steadydecline.net/public/sugar-python3/) . While the toolkit and such work, and most activities run (both python2 as well as python3 ones), sugar itself does not, due to a dependency on gwebsockets (sugar -> jarabe -> gwebsockets ) gwebsockets hasn't been maintained since 2014, and currently does not support python3 what is your plan? Port gwebsockets to python 3? Or just like telepathy, remove the dependency and use gi.repositories directly? I'm asking, as I might spend a bit of time on porting gwebsockets, but wouldn't want to waste my time if you've decided to go another route. P.S. this is the error in shell.log: Traceback (most recent call last): |
Well.. since the port seemed trivial, I've given porting gwebsocket a shot, please see https://steadydecline.net/public/sugar-python3/ for a full set of RPM and .src.rpm that should lead to a running sugar desktop. Sugar starts for me now with gwebsockets-python3, and the Python 3 port of Browse works, the Python 2 Physics activity works as well... some others (e.g. Speak) seem broken. And there's still quite a bit of chatter in shell.log about porting issues... see below. I've submitted the python3 port of gwebsockets to redhat bugzilla, let's see if they update it.. ----------- shell.log for a quick session... quite a few string decode issues and others due to porting issues -------------
|
Thanks. We had already ported gwebsockets, and tagged 0.5, see repository. Your port seems about the same, except for imports in the test harness, which we haven't got working yet. You might let Fedora know that we have a new version ready. I've raised separate issues for the other errors. Thanks for testing on Fedora. |
Port Sugar to Python 3 and the Sugar Toolkit for GTK+ 3, providing a Python 3 implementation of this package with no Python 2 dependencies.
Requires most of sugarlabs/sugar-toolkit-gtk3#382, most of sugarlabs/sugar-datastore#7 and some of sugarlabs/hello-world#2 to be completed.
Progress goals:
src/jarabe
,extensions
,make local Fedora and Debian packages for testing by others.this is an issue for tracking a major project which is larger than one person's contributions, so developers should make pull requests to satisfy any of these items, and not ask to own the issue.
The text was updated successfully, but these errors were encountered: