PyGIWarning: Gtk was imported without specifying a version first
Created by: ghost
$ ibus-setup-cangjie cangjie
/usr/bin/ibus-setup-cangjie:35: PyGIWarning: Gtk was imported without specifying
a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that
the right version gets loaded.
from gi.repository import Gtk
/usr/bin/ibus-setup-cangjie:36: PyGIWarning: IBus was imported without specifying
a version first. Use gi.require_version('IBus', '1.0') before import to ensure that
the right version gets loaded.
from gi.repository import IBus
It will not be revealed in "make check", only come out when it is running after installation, and it does not prevent the program running and the program function.
This issue is because of a new method to import these gi modules, I have created a patch here
If you think it is okay, I can help to submit a pull request.