Red Hat Bugzilla – Bug 893804
F19 moving from python-PIL to python-pillow. Small patch needed
Last modified: 2013-01-15 13:10:04 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:
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):
Steps to Reproduce:
Will pillow Provide python-imaging or should I switch the Requires to python-pillow at some point?
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.