Bug 1277162 - Wrong dependency version number for pillow.
Summary: Wrong dependency version number for pillow.
Keywords:
Status: CLOSED DUPLICATE of bug 1267446
Alias: None
Product: Fedora
Classification: Fedora
Component: python-reportlab
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Gordon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-02 14:29 UTC by Matthieu Gautier
Modified: 2015-11-30 07:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-30 07:18:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthieu Gautier 2015-11-02 14:29:15 UTC
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):
Reportlab 3.1.8

How reproducible:
All the time.

Steps to Reproduce:
1. Install python-reportlab on fedora23
2.
3.

Actual results:
Cannot run any python module using reportlab. For example :

$ rst2pdf
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>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
    f(*args, **kwargs)
  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
    return cls._build_from_requirements(__requires__)
  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



Expected results:
Pillow dependency should be >=2.4.0

Additional info:
This bug is fix in the 3.2.0 upstream version.

Comment 1 Satoru SATOH 2015-11-30 02:45:15 UTC
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 [1] 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?


[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=698069

Comment 2 Peter Gordon 2015-11-30 07:18:57 UTC
Hello, Satoru. 

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.

Thanks.

*** This bug has been marked as a duplicate of bug 1267446 ***


Note You need to log in before you can comment on or make changes to this bug.