Created attachment 679886 [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 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): trac-spamfilter-plugin-0.4.7-0.13.20110716svn10756.fc18
Raised upstream: http://trac.edgewall.org/ticket/11031 I'll update Rawhide in a few days unless upstream has some objections.
Thanks! I'll try to remember to ping this bug when the python-pillow package finishes review. Since it Provides and Obsoletes python-imaging, packages which use the old style of import will stop working when that enters the repository.
The python-pillow package has passed review. It will enter rawhide in a short time. Note that this package will then fail to import PIL unless a version with the updated imports is built. https://bugzilla.redhat.com/show_bug.cgi?id=908114
No response from upstream so I've done a patched build anyway, updating to a new branch for trac 1.0 support.