Heads up: Upcoming python-pillow 2.2 breaks "import _imaging"

Kevin Fenzi kevin at scrye.com
Wed Jul 3 16:49:47 UTC 2013


On Mon, 01 Jul 2013 01:35:14 +0200
Sandro Mani <manisandro at gmail.com> wrote:

> Hello all,
> 
> As described here [1], the upcoming python-pillow 2.2 will break
> "import _imaging", and "from PIL.Image import core as _imaging"
> should be used instead). This does not break backwards compatibility
> with python-pillow < 2.2.
> 
> Python-pillow-2.2 will probably land in rawhide some time next
> weekend. In the meantime, maintainers of packages requiring
> python-imaging or python-pillow should check if this breakage affects
> them. The following quick hacky script [2] shows that the following
> packages might need to be adapted:
> 
> !! calibre-0:0.9.36-1.fc20.x86_64 may contain _imaging import:
> usr/lib64/calibre/calibre/test_build.py:        import _imaging, 
> _imagingmath, _imagingft
> usr/lib64/calibre/calibre/test_build.py:        _imaging,
> _imagingmath, _imagingft
> usr/lib64/calibre/calibre/test_build.py:        from PIL import 
> _imaging, _imagingmath, _imagingft
> usr/lib64/calibre/calibre/test_build.py:    _imaging, _imagingmath, 
> _imagingft

Note that this is a test script thats not run as part of the build,
however, it is shipped in the rpm for people to use, so we do need to
fix it. 

Can you whip up a patch? Otherwise I can try and do so... 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130703/8b8738d7/attachment.sig>


More information about the devel mailing list