From Fedora Project Wiki

No edit summary
(link to upstream bug)
Line 5: Line 5:
If your package uses pygtk2, and calls the gtk.gdk.get_pixels_array() function, that package needs to explicitly Require: numpy. In the past, pygtk2 had a Requires on numpy, but since it is only used for that one function (and that function is not commonly used), the Requires has been removed to minimize the install footprint of pygtk2.
If your package uses pygtk2, and calls the gtk.gdk.get_pixels_array() function, that package needs to explicitly Require: numpy. In the past, pygtk2 had a Requires on numpy, but since it is only used for that one function (and that function is not commonly used), the Requires has been removed to minimize the install footprint of pygtk2.


NOTE: This is a temporary workaround which will be resolved in the future. See: INSERT-LINK-TO-PYGTK2-BUG-HERE
NOTE: This is a temporary workaround which may be resolved in the future. See [http://bugzilla.gnome.org/show_bug.cgi?id=591745 gnome bug #591745].

Revision as of 20:55, 13 August 2009

Draft

This is proposed addendum to Packaging/Python

PyGTK2 and Numpy

If your package uses pygtk2, and calls the gtk.gdk.get_pixels_array() function, that package needs to explicitly Require: numpy. In the past, pygtk2 had a Requires on numpy, but since it is only used for that one function (and that function is not commonly used), the Requires has been removed to minimize the install footprint of pygtk2.

NOTE: This is a temporary workaround which may be resolved in the future. See gnome bug #591745.