Sugar Labs

Port to TelepathyGLib - Cookie Search Activity

The telepathy library does not have its bindings for Python 3, and porting Telepathy to its PyGObject binding is a pre requisite for the Port to Python 3 Project. Telepathy is used in communication between sugar toolkit and sugar datastore and while sharing / collaboration with activities.

Change from

from telepathy.foo import bar

to

import gi
gi.require_version('TelepathyGLib', '0.12')
from gi.repository import TelepathyGLib

along with appropriate changes in method calls and properties.

Porting the toolkit might also require making necessary changes in the activity code.

For doubts, please ask on IRC or comment on the pull request.

IMPORTANT:

Task tags

  • python
  • telepathy
  • telepathyglib

Students who completed this task

Alejandro Garcia

Task type

  • code Code
close

2018