Bug 1169852

Summary: fig fails to start with error "pkg_resources.DistributionNotFound: docker-py>=0.5,<0.6"
Product: [Fedora] Fedora Reporter: amrithakalliyat <amrithakalliyat>
Component: figAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: jberan, mstuchli
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fig-1.0.0-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-12 04:10:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description amrithakalliyat 2014-12-02 14:52:58 UTC
Description of problem:

It looks fig works with only "docker-py>=0.5,<0.6" , but this version check is not happening while installing fig.


Version-Release number of selected component (if applicable):

fig-1.0.0-4.fc21.x86_64


How reproducible:

# yum install fig --enablerepo=updates-testing
# This install fig-1.0.0-4.fc21.x86_64 and python-docker-py.x86_64 0:0.6.0-1.fc21 as dependency from updates-testing repo.
# fig

Traceback (most recent call last):
  File "/usr/bin/fig", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2713, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 567, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: docker-py>=0.5,<0.6


Actual results:

fig fails to start with error "pkg_resources.DistributionNotFound: docker-py>=0.5,<0.6"

Expected results:

fig should not install docker < 0.6 as dependency. 
fig should start with out any error.


Additional info:

Comment 1 Fedora Update System 2014-12-03 12:37:41 UTC
fig-1.0.0-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-1.0.0-5.fc21

Comment 2 Matej Stuchlik 2014-12-03 12:39:53 UTC
The problem was that setup.py needlessly (AFAICS) specifies upper bound on docker-py version and bunch of other requires. I've removed the upper bound from all of them.

Comment 3 Fedora Update System 2014-12-03 16:05:57 UTC
Package fig-1.0.0-5.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fig-1.0.0-5.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16187/fig-1.0.0-5.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-12-12 04:10:59 UTC
fig-1.0.0-5.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.