{{{
♦ deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line
3241, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line
3225, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line
3254, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line
583, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line
900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line
786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pillow' distribution was not
found and is required by deluge
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3282>
Deluge <https://deluge-torrent.org/>
Deluge Project
* component: Unknown => Packaging
* milestone: needs verified => 2.0.4
Comment:
Deluge specifies `pillow` in setup.py `install_requires` and uses
entry_points so looks up the requirements but because `pillow-simd` cannot
be installed at the same time as `pillow` you see the error.
Although it is optional, I am hesitant to remove it from setup requires as
I would then need to create an extras section with documentation on
installing this.
There are workarounds but I feel downstream developers should not have to
deal with this. However I will have a bit more of think about what to do
with this.
In the meantime you could patch `setup.py` before install or
`requires.txt` after install.
Refs:
- https://github.com/uploadcare/pillow-simd/issues/17
- https://github.com/uploadcare/pillow-simd/issues/37
- https://github.com/thumbor/thumbor/issues/1072
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3282#comment:1>
* status: new => closed
* resolution: => Fixed
Comment:
Fixed by moving pillow to `extra_requires`: [8fb25f71f30733]
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3282#comment:2>