Red Hat Bugzilla – Bug 1277162
Wrong dependency version number for pillow.
Last modified: 2015-11-30 02:18:57 EST
Description of problem:
Repotlab has a wrong version number for the pillow dependency.
setup.py contains :
install_requires=['pillow ==2.0.0, >=2.4.0','pip>=1.4.1', 'setuptools>=2.2']
Pillow cannot be ==2.0.0 and >=2.4.0 in the same time.
Version-Release number of selected component (if applicable):
All the time.
Steps to Reproduce:
1. Install python-reportlab on fedora23
Cannot run any python module using reportlab. For example :
Traceback (most recent call last):
File "/usr/bin/rst2pdf", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pillow==2.0.0,>=2.4.0' distribution was not found and is required by reportlab
Pillow dependency should be >=2.4.0
This bug is fix in the 3.2.0 upstream version.
I also run into this issue and cannot use rst2pdf w/o some tweaks.
And I found that 3.2.0 version was built for F24 already  and
confirmed that I can rebuild it for F23 also with mock (mockbuild)
and that rebuilt one works w/o any apparent issues as far as I tested.
Could you please build the newer version for F23 (current stable) also?
I took over as maintainer for python-reportlab after it reported as in danger of being orphaned in a Rawhide report about a month ago. However, for some reason I've only been granted commit access in the Rawhide branch; and my commit requests for the Fedora 22 and Fedora 23 branches are still pending in PkgDB. I'll try to bump those requests to the admins, and update the package in those branches as soon as I'm on the ACLs to do so.
*** This bug has been marked as a duplicate of bug 1267446 ***