Bug 1046817

Summary: Fedora currently packages scipy by replacing its bundled python six with the python six library. These two version of six are different and the changed causes Fedora's scipy to be broken when importing anything from scipy.io
Product: [Fedora] Fedora Reporter: ocefpaf
Component: scipyAssignee: Jef Spaleta <jspaleta>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, jspaleta, orion, tomspur, ttomecek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: scipy-0.14.0-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-06 16:54:31 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 ocefpaf 2013-12-27 00:52:17 UTC
Description of problem:

I just noted that Fedora's scipy remove the bundle six and replace it
with standard python six.  However, they are not the same!

This was discussed here:
https://github.com/scipy/scipy/issues/2848


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


How reproducible:
I'm not a Fedora user and I do not have an installation here to test.  But this import should trigger the issue:


Steps to Reproduce:
from scipy.io import loadmat

Actual results:
"Cannot import reduce"

Expected results:
no error message

Comment 1 Orion Poplawski 2013-12-27 17:40:28 UTC
Seems to work for me:

[root@vmf20 ~]# python
Python 2.7.5 (default, Nov 12 2013, 16:45:54)
[GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.io import loadmat
>>>

Comment 2 Orion Poplawski 2014-05-06 16:54:31 UTC
Reverted.