Created attachment 678529 [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 nml source and found some occurrences of "import Image". I'll attach a patch that updates these to the new form of import.
I plan on bringing this into Fedora right through upstream. Upstream request here: http://dev.openttdcoop.org/issues/4799
Applied upstream: http://dev.openttdcoop.org/projects/nml/repository/revisions/013ceeaee4d1 Will be in next release which will in turn land in Fedora as soon as it's released. Thanks so far.
Cool. I'll try to remember to ping this bug when python-pillow is reviewed and approved for fedora. (Since it will Provide and Obsolete python-imaging, packages that have the old import statements will stop working when that enters the repository).
The python-pillow package has now passed review. It will enter rawhide soon. This package will be unable to import PIL once that happens unless a version with the changed imports is built. https://bugzilla.redhat.com/show_bug.cgi?id=908114
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Patch added long ago ;) Will be in next upstream release.