Opened 4 years ago

Closed 3 years ago

#3353 closed bug (Fixed)

Pillow v7 broke install script

Reported by: Skylar Owned by:
Priority: minor Milestone: 2.0.4
Component: Packaging Version: 2.0.0
Keywords: Cc:

Description

I've never submitted a bug report so my deepest apologies if I do something wrong here. I am attempting to build deluge from source on a Raspberry Pi.

setup.py searches for pillow, and installs Pillow 7.x which doesn't have support for Python 2.7, I modified my setup.py to search for "pillow<7" and everything installed properly.

Change History (2)

comment:1 by Skylar, 4 years ago

See: https://pillow.readthedocs.io/en/stable/installation.html#notes for which versions of Pillow support which versions of Python.

ralyks@jarvis:~ $ deluge --version
deluge 2.0.4.dev23
libtorrent: 1.1.11.0
Python: 2.7.16
OS: Linux 4.19.75-v7+

Previous to changing the Pillow version I would receive this error:

  File "/tmp/easy_install-EbLSCM/Pillow-7.0.0/setup.py", line 304
    yield from self.features
             ^
SyntaxError: invalid syntax
Last edited 4 years ago by Skylar (previous) (diff)

comment:2 by Calum, 3 years ago

Component: UnknownPackaging
Resolution: Fixed
Status: newclosed

Thanks for reporting, since this is related to now EOL Python 2.7 we won't be applying any fix for this. However I have changed the dependency to optional anyway so by default won't be installed unless using pip install deluge[all]

Fixed in develop [8fb25f71f30733]

Note: See TracTickets for help on using tickets.