Bug 896257 - Update tucan import of PIL for F19 switch to Pillow
Update tucan import of PIL for F19 switch to Pillow
Product: Fedora
Classification: Fedora
Component: tucan (Show other bugs)
All Linux
unspecified Severity high
: ---
: ---
Assigned To: Simon
Fedora Extras Quality Assurance
Depends On:
Blocks: PILLOW
  Show dependency treegraph
Reported: 2013-01-16 17:25 EST by Stephen Gallagher
Modified: 2013-01-29 14:00 EST (History)
3 users (show)

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

Attachments (Terms of Use)
Change imports of PIL Library so they'll work with pillow (897 bytes, patch)
2013-01-16 17:25 EST, Stephen Gallagher
no flags Details | Diff

  None (edit)
Description Stephen Gallagher 2013-01-16 17:25:50 EST
Created attachment 679884 [details]
Change imports of PIL Library so they'll work with pillow

Description of problem:

Fedora 19 is switching from using python-imaging (PIL) to python-pillow.  This is mostly backwards compatible but importing the python-imaging relevant libraries is undergoing a change.  In PIL, the libraries could either be imported like this:

import Image

or like this:

from PIL import Image

In python-pillow (and thus, Fedora19+), only the latter will work.  I've grepped the sources of wavextract and found a few import statements that need to be updated.  Patch attached to fix those.  Patch should be upstreamable as PIL supports both the old and new forms of the import.

Version-Release number of selected component (if applicable):
Comment 1 Toshio Ernie Kuratomi 2013-01-29 12:18:28 EST
If I don't hear anything back from you, I'll go ahead and use provenpackager powers to apply this patch to the RawHide package next week.  I'll leave sending the patch to upstream up to you, though.
Comment 2 Rahul Sundaram 2013-01-29 13:09:45 EST
upstream is dead. there is atleast one open security issue.  other distributions have abandoned this package.  I have posted about this to devel list.
Comment 3 Simon 2013-01-29 13:16:40 EST
yeah it seems so that upstream is dead. I mailed him about the security issue and about python-pillow. he never mailed back :-(
maybe we should really remove tucan, too!
Comment 4 Rahul Sundaram 2013-01-29 13:59:57 EST
I have already done that for Fedora.  If you could do that for EPEL, we would be done.
Comment 5 Simon 2013-01-29 14:00:49 EST
yeah, i will do that!

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