Red Hat Bugzilla – Bug 895783
Port pogo's use of PIL to support Pillow for F19
Last modified: 2016-01-31 20:57:48 EST
Created attachment 679243 [details]
Patch to use the form of import of PIL that is pillow compatible
Description of problem:
Fedora 19 is going to stop shipping python-imaging (PIL) and start shipping python-pillow instead. Rationale can be found on the feature page: https://fedoraproject.org/wiki/Features/Pillow . pillow should be compatible with PIL at the code level but the import statement changes slightly.
PIL supports both of these:
from PIL import Image
Pillow only supports the latter form.
I grepped through the pogo source and found some occurrences of "import Image". I'll attach a patch that updates these to the new form of import.
Thanks for that info and the patch. I've filed a bug upstream:
I will provide new packages next days.
May I assume that the Pillow package will have a "Provides: python-imaging" tag? So I wouldn't have to change the runtime requirements for the time being, as long as we don't have a Pillow package in Rawhide yet.
(In reply to comment #2)
> May I assume that the Pillow package will have a "Provides: python-imaging"
> tag? So I wouldn't have to change the runtime requirements for the time
> being, as long as we don't have a Pillow package in Rawhide yet.
Sorry for the blurb. I've read the Wiki page again, which says there will be backward compatibility in terms of package names.
There was a new upstream version fixed recently which will fix the issue. New packages for Rawhide and F18 have been build:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.