[MacPorts] #42917: py-pil: conflicts with py-Pillow

MacPorts noreply at macports.org
Tue Mar 18 12:30:46 PDT 2014


#42917: py-pil: conflicts with py-Pillow
-----------------------+-------------------
  Reporter:  devans@…  |      Owner:  jmr@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:            |   Keywords:
      Port:  py-pil    |
-----------------------+-------------------

Comment (by stromnov@…):

 Yes, Pillow is a fork of PIL, which incorporates some long awaited patches
 and supports py3k. (Actually, PIL 1.1.7 was released more than 4 years
 ago).

 PIL and Pillow use the same Python namespace 'PIL', so those packages
 can't be both installed at the same time.

 Also, Pillow is not 100%-compatible drop-in for PIL:

 PIL allows:
 {{{
 #!python
 import Image  # old style
 ...
 from PIL import Image
 ...
 import PIL.Image
 }}}
 while Pillow don't support first variant, and some outdated packages,
 which depends on old PIL style, will require some patching.

-- 
Ticket URL: <https://trac.macports.org/ticket/42917#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list