[anaconda][master][PATCH] Move the pygobject3 dependency to the core package (#1188850)

Martin Kolman mkolman at redhat.com
Wed Feb 4 13:35:41 UTC 2015


On Wed, 2015-02-04 at 14:23 +0100, David Shea wrote:
> On 02/04/2015 01:51 PM, Martin Kolman wrote:
> > The pygobject3 package which provides the gi.repository Python module is
> > also used by non-UI code, so move the dependency to the core package.
> >
> > Signed-off-by: Martin Kolman <mkolman at redhat.com>
> 
> If iutil is the only place using gi.repository out of GUI code, those 
> imports can be moved, or made optional. The only reason iutil has it is 
> for the GLib child watchers, which are only used (and only make sense) 
> when we have a Gtk main loop.
It is also used in many other non-UI places:

pyanaconda/exception.py:45:from gi.repository import GLib
pyanaconda/iutil.py:39:from gi.repository import GLib
pyanaconda/keyboard.py:38:from gi.repository import GLib
pyanaconda/network.py:49:from gi.repository import NetworkManager
pyanaconda/nm.py:22:from gi.repository import Gio, GLib
pyanaconda/nm.py:23:from gi.repository import NetworkManager
pyanaconda/packaging/rpmostreepayload.py:30:from gi.repository import
GLib
pyanaconda/packaging/rpmostreepayload.py:31:from gi.repository import
Gio
pyanaconda/packaging/rpmostreepayload.py:130:        from gi.repository
import OSTree
pyanaconda/packaging/rpmostreepayload.py:262:        from gi.repository
import OSTree
pyanaconda/safe_dbus.py:24:from gi.repository import GLib, Gio

> 
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches




More information about the anaconda-patches mailing list