Bug 895783

Summary: Port pogo's use of PIL to support Pillow for F19
Product: [Fedora] Fedora Reporter: Toshio Ernie Kuratomi <a.badger>
Component: pogoAssignee: Jaromír Cápík <jcapik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mario.blaettermann, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-29 17:17:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 894484    
Attachments:
Description Flags
Patch to use the form of import of PIL that is pillow compatible none

Description Toshio Ernie Kuratomi 2013-01-16 01:36:30 UTC
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:

import Image

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.

Comment 1 Mario Blättermann 2013-01-16 20:08:39 UTC
Thanks for that info and the patch. I've filed a bug upstream:
https://bugs.launchpad.net/pogo/+bug/1100442

I will provide new packages next days.

Comment 2 Mario Blättermann 2013-01-20 18:21:51 UTC
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.

Comment 3 Mario Blättermann 2013-01-21 18:28:57 UTC
(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:

http://koji.fedoraproject.org/koji/taskinfo?taskID=4890486 (f18)
http://koji.fedoraproject.org/koji/taskinfo?taskID=4890546

Comment 4 Fedora Admin XMLRPC Client 2013-01-29 15:34:28 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Toshio Ernie Kuratomi 2013-01-29 17:17:46 UTC
Thanks!