Bug 1602160

Summary: python-socketIO-client: An incompatible websocket library is conflicting with the one we need.
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-socketIO-clientAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jv+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-socketIO-client-0.7.2-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-17 22:33:35 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:
Bug Depends On: 1397826    
Bug Blocks: 1565020    

Description Miro Hrončok 2018-07-17 22:19:46 UTC
Description of problem: python3-socketIO-client and python2-socketIO-client has broken dependencies, it doesn't work with: An incompatible websocket library is conflicting with the one we need.


Version-Release number of selected component (if applicable):
python-socketIO-client-0.7.0-7.fc29
python-websocket-client-0.47.0-3.fc29

How reproducible: Easy


Steps to Reproduce:
1. run python3 or python2
2. >>> import socketIO_client


Actual results:
An incompatible websocket library is conflicting with the one we need.
You can remove the incompatible library and install the correct one
by running the following commands:

yes | pip uninstall websocket websocket-client
pip install -U websocket-client
(python exists with exit code 1)

Expected results:
socketIO_client imports fine

Additional info:
even when there is an error, a library should raise ImportError, not exit with 1.


This makes dependent packages FTBFS. Namely python-ripe-atlas-cousteau:

https://koji.fedoraproject.org/koji/taskinfo?taskID=28289764

+ /usr/bin/python2 setup.py check nosetests
running check
running nosetests
running egg_info
writing requirements to ripe.atlas.cousteau.egg-info/requires.txt
writing ripe.atlas.cousteau.egg-info/PKG-INFO
writing namespace_packages to ripe.atlas.cousteau.egg-info/namespace_packages.txt
writing top-level names to ripe.atlas.cousteau.egg-info/top_level.txt
writing dependency_links to ripe.atlas.cousteau.egg-info/dependency_links.txt
reading manifest file 'ripe.atlas.cousteau.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ripe.atlas.cousteau.egg-info/SOURCES.txt'
An incompatible websocket library is conflicting with the one we need.
You can remove the incompatible library and install the correct one
by running the following commands:
yes | pip uninstall websocket websocket-client
pip install -U websocket-client
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.yGcm23 (%check)