Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Fig is broken, cannot run at all. Version-Release number of selected component (if applicable): 0.7.1-1.fc21.x86_64 How reproducible: run fig -f <somefile.yaml> up Steps to Reproduce: 1. Run fig Actual results: [airlangga@chaika doctrack]$ fig -f fig-dev.yml 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 571, in resolve raise VersionConflict(dist,req) # XXX put more info here pkg_resources.VersionConflict: (requests 2.5.0 (/usr/lib/python2.7/site-packages), Requirement.parse('requests>=2.2.1,<2.5.0')) Expected results: [airlangga@chaika doctrack]$ fig -f fig-dev.yml up Creating doctrack_dbdev_1... Creating doctrack_webdev_1... Attaching to doctrack_dbdev_1, doctrack_webdev_1 .... .... Additional info: Downgrading python-docker-py to version 0.5.3-2.fc21 solve the problem.
This looks like a bug in python-docker-py, which has the following in it's setup.py: 'requests >= 2.2.1, < 2.5.0', F22 contains python-requests 2.5.0 as of now. [0] [0] https://apps.fedoraproject.org/packages/python-requests
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Matej, it's not a bug. Upstream tried to workaround an issue in urllib3: https://github.com/docker/docker-py/issues/406 Is this still an issue? I can see there is python-requests==2.3.0 available in f21: $ rpm -q python-requests python-requests-2.3.0-3.fc21.noarch $ koji latest-build f21 python-requests Build Tag Built by ---------------------------------------- -------------------- ---------------- python-requests-2.3.0-3.fc21 f21 spot That should definitely satisfy the condition: 'requests >= 2.2.1, < 2.5.0',
I read from https://apps.fedoraproject.org/packages/python-requests latest build is version 2.5.0-3.fc21 and not 2.3.0. Using rpm confirm 2.5.0 is installed on my f21. [airlangga@chaika ~]$ rpm -q python-requests python-requests-2.5.0-3.fc21.noarch For now I locked down python-docker-py version to 0.5.3-2 to make fig work.
You are right! $ koji latest-build f21-updates python-requests Build Tag Built by ---------------------------------------- -------------------- ---------------- python-requests-2.5.0-3.fc21 f21-updates ralph Will patch docker-py. The original issue is related to boot2docker, which we don't use (I hope) in Fedora anyway.
python-docker-py-0.7.1-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-docker-py-0.7.1-3.fc21
Package python-docker-py-0.7.1-3.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 python-docker-py-0.7.1-3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-3844/python-docker-py-0.7.1-3.fc21 then log in and leave karma (feedback).
Looks good. No problem so far with fig. Thanks! Karma sent!
python-docker-py-0.7.1-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.