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

MacPorts noreply at macports.org
Tue Mar 18 12:58: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 devans@…):

 Replying to [comment:1 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.

 Thanks for the clear explanation.  I take it then that Pillow is the
 recommended choice for new development or is that a political statement?

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


More information about the macports-tickets mailing list