Bug #7419

PIL is dead; long live Pillow

Added by ThomasWinwood almost 4 years ago. Updated 5 months ago.

Status:ClosedStart date:2015-01-28
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

The Python Imaging Library has been dead for years, and cannot be installed via pip. There is a supported fork called Pillow which adds Python 3 support and such, but a single trivial API change breaks compatibility.

In general the change is from `import Image` to `from PIL import Image`. Affected files are `actions/real_sprite.py`, `ast/alt_sprites.py` and `main.py`. Other than that, Pillow has made no architectural changes at all, and NML works perfectly with the new dependency.

History

#1 Updated by planetmaker almost 4 years ago

But NML does support pillow. So I'm not sure what exactly you're referring to or pointing out.

#2 Updated by ThomasWinwood almost 4 years ago

  • % Done changed from 0 to 100

Ah, I see the problem. I installed NML through PyPI, which hasn't been updated since 2012 - well before revisions 013ceeaee4d1 and ab7e104b7811 added Pillow support. I didn't check the repository before reporting the bug, because I assumed PyPI had the latest available stable version.

I guess I'm asking for more regular updates pushed to PyPI, since it's rather severely outdated as is - PyPI is how Python users expect to install tools like NML.

#3 Updated by planetmaker 5 months ago

  • Status changed from New to Closed

New NML now again on PyPI

Also available in: Atom PDF