Bug 1169852 - fig fails to start with error "pkg_resources.DistributionNotFound: docker-py>=0.5,<0.6"
Summary: fig fails to start with error "pkg_resources.DistributionNotFound: docker-py>...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fig
Version: 21
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matej Stuchlik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-02 14:52 UTC by amrithakalliyat
Modified: 2016-02-01 02:15 UTC (History)
2 users (show)

Fixed In Version: fig-1.0.0-5.fc21
Clone Of:
Environment:
Last Closed: 2014-12-12 04:10:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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