Bug 893804 - F19 moving from python-PIL to python-pillow. Small patch needed
Summary: F19 moving from python-PIL to python-pillow. Small patch needed
Alias: None
Product: Fedora
Classification: Fedora
Component: bkchem
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PILLOW
TreeView+ depends on / blocked
Reported: 2013-01-09 23:42 UTC by Toshio Ernie Kuratomi
Modified: 2013-01-15 18:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-01-15 18:10:04 UTC
Type: Bug

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

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:
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.

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