Bug 895783 - Port pogo's use of PIL to support Pillow for F19
Summary: Port pogo's use of PIL to support Pillow for F19
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pogo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PILLOW
TreeView+ depends on / blocked
 
Reported: 2013-01-16 01:36 UTC by Toshio Ernie Kuratomi
Modified: 2016-02-01 01:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-29 17:17:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to use the form of import of PIL that is pillow compatible (419 bytes, patch)
2013-01-16 01:36 UTC, Toshio Ernie Kuratomi
no flags Details | Diff

Description Toshio Ernie Kuratomi 2013-01-16 01:36:30 UTC
Created attachment 679243 [details]
Patch to use the form of import of PIL that is pillow compatible

Description of problem:

Fedora 19 is going to stop shipping python-imaging (PIL) and start shipping python-pillow instead.  Rationale can be found on the feature page: https://fedoraproject.org/wiki/Features/Pillow .  pillow should be compatible with PIL at the code level but the import statement changes slightly.

PIL supports both of these:

import Image

from PIL import Image

Pillow only supports the latter form.

I grepped through the pogo source and found some occurrences of "import Image".  I'll attach a patch that updates these to the new form of import.

Comment 1 Mario Blättermann 2013-01-16 20:08:39 UTC
Thanks for that info and the patch. I've filed a bug upstream:
https://bugs.launchpad.net/pogo/+bug/1100442

I will provide new packages next days.

Comment 2 Mario Blättermann 2013-01-20 18:21:51 UTC
May I assume that the Pillow package will have a "Provides: python-imaging" tag? So I wouldn't have to change the runtime requirements for the time being, as long as we don't have a Pillow package in Rawhide yet.

Comment 3 Mario Blättermann 2013-01-21 18:28:57 UTC
(In reply to comment #2)
> May I assume that the Pillow package will have a "Provides: python-imaging"
> tag? So I wouldn't have to change the runtime requirements for the time
> being, as long as we don't have a Pillow package in Rawhide yet.

Sorry for the blurb. I've read the Wiki page again, which says there will be backward compatibility in terms of package names.

There was a new upstream version fixed recently which will fix the issue. New packages for Rawhide and F18 have been build:

http://koji.fedoraproject.org/koji/taskinfo?taskID=4890486 (f18)
http://koji.fedoraproject.org/koji/taskinfo?taskID=4890546

Comment 4 Fedora Admin XMLRPC Client 2013-01-29 15:34:28 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Toshio Ernie Kuratomi 2013-01-29 17:17:46 UTC
Thanks!


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