Edgewall Software

Opened 9 years ago

Last modified 7 years ago

#12133 closed defect

Dependency not satisfied even if pillow installed — at Initial Version

Reported by: Ryan J Ollos Owned by: Dirk Stöcker
Priority: normal Milestone: plugin - spam-filter
Component: plugin/spamfilter Version:
Severity: normal Keywords:
Cc: Dirk Stöcker Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In #11031 / [11730] the code was modified to support pillow in addition to pil. However, since [4188], the package PIL is required in setup.py. Installing Pillow doesn't seem to be sufficient to satisfy the dependency.

I don't see a simple way to specify Pillow or PIL in setup.py's extras_require. It might be easiest, since PIL doesn't seem to be maintained any longer, to just require Pillow.

# ./trac-hacks.org/pve/bin/python
Python 2.7.9 (default, Mar  1 2015, 12:57:24) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.get_distribution('pillow').version
'2.9.0'

For now I just use the following in my install scripts:

sed -i -e 's/pil/pillow/g' $src/spam-filter/setup.py

Change History (0)

Note: See TracTickets for help on using tickets.