Bug 893804 - F19 moving from python-PIL to python-pillow. Small patch needed
F19 moving from python-PIL to python-pillow. Small patch needed
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: bkchem (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jon Ciesla
Fedora Extras Quality Assurance
:
Depends On:
Blocks: PILLOW
  Show dependency treegraph
 
Reported: 2013-01-09 18:42 EST by Toshio Ernie Kuratomi
Modified: 2013-01-15 13:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-15 13:10:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch to use the form of import of PIL that is pillow compatible (6.31 KB, patch)
2013-01-09 18:42 EST, Toshio Ernie Kuratomi
no flags Details | Diff

  None (edit)
Description Toshio Ernie Kuratomi 2013-01-09 18:42:08 EST
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 Jon Ciesla 2013-01-15 07:46:40 EST
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 12:22:10 EST
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 Jon Ciesla 2013-01-15 13:10:04 EST
Ok, thanks.

Note You need to log in before you can comment on or make changes to this bug.