Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1155510 - websocket-client version conflict
Summary: websocket-client version conflict
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fig
Version: 21
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Stuchlik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-22 09:14 UTC by Sylvain Pasche
Modified: 2016-02-01 02:15 UTC (History)
2 users (show)

Fixed In Version: fig-1.0.0-4.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-06 10:27:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sylvain Pasche 2014-10-22 09:14:23 UTC
Hi,

Looks like fig expects a version of websocket-client that isn't compatible with the current python-websocket-client version on F21.

dnf install fig
[...]
Installed:
  PyYAML.x86_64 3.11-6.fc21                  docker-io.x86_64 1.2.0-5.fc21               fig.x86_64 1.0.0-1.fc21                     libyaml.x86_64 0.1.6-5.fc21
  python-chardet.noarch 2.2.1-2.fc21         python-docker-py.x86_64 0.5.0-1.fc21        python-dockerpty.noarch 0.2.3-1.fc21        python-docopt.noarch 0.6.1-5.fc21
  python-requests.noarch 2.3.0-3.fc21        python-texttable.noarch 0.8.1-4.fc21        python-urllib3.noarch 1.8.2-4.fc21          python-websocket-client.noarch 0.14.1-3.fc21

Complete!
[root@fedora_next ~]# fig
Traceback (most recent call last):
  File "/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: websocket-client>=0.11.0,<0.12

$ rpm -q python-websocket-client
python-websocket-client-0.14.1-3.fc21.noarch

Comment 1 Matej Stuchlik 2014-10-22 09:25:51 UTC
Again, thanks, looks like I shouldn't fedpkg update in a rush. I'll see if the test suite passes with newer websocket-client and if it does, I'll remove the strict version requirement. Does that seem alright to you?

Comment 2 Sylvain Pasche 2014-10-22 10:04:26 UTC
Sounds good. According to https://github.com/docker/fig/issues/101#issuecomment-35484189, the version requirement was to match docker-py requirement and I see that it only requires 'websocket-client >= 0.11.0' now (https://github.com/docker/docker-py/blob/master/setup.py#L15).

Comment 3 Fedora Update System 2014-10-23 14:27:16 UTC
fig-1.0.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-1.0.0-3.fc21

Comment 4 Fedora Update System 2014-10-23 16:21:01 UTC
Package fig-1.0.0-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 fig-1.0.0-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-13523/fig-1.0.0-3.fc21
then log in and leave karma (feedback).

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

Comment 6 Fedora Update System 2014-12-06 10:27:36 UTC
fig-1.0.0-4.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.