Bug 893804

Summary: F19 moving from python-PIL to python-pillow. Small patch needed
Product: [Fedora] Fedora Reporter: Toshio Ernie Kuratomi <a.badger>
Component: bkchemAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, mtasaka, terje.rosten
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-15 18:10:04 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-09 23:42:08 UTC
Created attachment 675944 [details]
Patch to use the form of import of PIL that is pillow compatible

Description of problem:

python-imaging is going to be replaced by python-pillow in F19.  For rationale, see the Feature page: https://fedoraproject.org/wiki/Features/Pillow

python-imaging (PIL) supports being imported via either of:

import Image

from PIL import Image


Pillow, however, only supports the latter.  I grepped through bkchem and found some places where import Image is used.  Will attach a patch to fix these.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Gwyn Ciesla 2013-01-15 12:46:40 UTC
Will pillow Provide python-imaging or should I switch the Requires to python-pillow at some point?

Comment 2 Toshio Ernie Kuratomi 2013-01-15 17:22:10 UTC
The package that is currently slated to be reviewed http://smani.fedorapeople.org/python-pillow-1.7.8-1.fc19.src.rpm

does Provide python-imaging.  The compatibility is supposed to be good so it makes sense for it to continue to do so.

At some point we might want to clean that up so that we're using the actual package name but it'll likely be years into the future before the python-imaging Provides goes away.

Comment 3 Gwyn Ciesla 2013-01-15 18:10:04 UTC
Ok, thanks.