[Scipy-tickets] [SciPy] #1476: easy_install of 0.9.0 fails on OS X 10.7 (Lion)

SciPy Trac scipy-tickets@scipy....
Mon Jul 18 16:57:07 CDT 2011


#1476: easy_install of 0.9.0 fails on OS X 10.7 (Lion)
--------------------------+-------------------------------------------------
 Reporter:  tacoe         |       Owner:  cdavid     
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build issues  |     Version:  0.9.0      
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by deadshort):

 @rgommers:

 Messy. I'm not sure there's a simple correct answer. The C99 spec
 recommends wrapping something or other behind {{{_ _STDC_IEC_559_COMPLEX_
 _}}}, but it hard to read in a comfortingly solid prescription for much of
 anything. Pre-C99 complex was essentially undefined (i.e. implementation-
 dependent), right?

 @toolchain:

 I have been using +gcc44 +no_atlas, and scipy builds and installs, but
 then fails 6 BLAS-related tests. I feel I should test a few variations.

 {{{
 ======================================================================
 FAIL: test_asum (test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/lib/blas/tests/test_blas.py", line 58, in test_asum
     assert_almost_equal(f([3,-4,5]),12)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
     raise AssertionError(msg)
 AssertionError:
 Arrays are not almost equal to 7 decimals
  ACTUAL: 0.0
  DESIRED: 12

 ======================================================================
 FAIL: test_dot (test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/lib/blas/tests/test_blas.py", line 67, in test_dot
     assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
     raise AssertionError(msg)
 AssertionError:
 Arrays are not almost equal to 7 decimals
  ACTUAL: 0.0
  DESIRED: -9

 ======================================================================
 FAIL: test_nrm2 (test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/lib/blas/tests/test_blas.py", line 78, in test_nrm2
     assert_almost_equal(f([3,-4,5]),math.sqrt(50))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
     raise AssertionError(msg)
 AssertionError:
 Arrays are not almost equal to 7 decimals
  ACTUAL: 0.0
  DESIRED: 7.0710678118654755

 ======================================================================
 FAIL: test_asum (test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/tests/test_blas.py", line 57, in test_asum
     assert_almost_equal(f([3,-4,5]),12)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
     raise AssertionError(msg)
 AssertionError:
 Arrays are not almost equal to 7 decimals
  ACTUAL: 0.0
  DESIRED: 12

 ======================================================================
 FAIL: test_dot (test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/tests/test_blas.py", line 66, in test_dot
     assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
     raise AssertionError(msg)
 AssertionError:
 Arrays are not almost equal to 7 decimals
  ACTUAL: 0.0
  DESIRED: -9

 ======================================================================
 FAIL: test_nrm2 (test_blas.TestFBLAS1Simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/tests/test_blas.py", line 83, in test_nrm2
     assert_almost_equal(f([3,-4,5]),math.sqrt(50))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
     raise AssertionError(msg)
 AssertionError:
 Arrays are not almost equal to 7 decimals
  ACTUAL: 0.0
  DESIRED: 7.0710678118654755

 ======================================================================
 FAIL: test_expon (test_morestats.TestAnderson)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/stats/tests/test_morestats.py", line 72, in
 test_expon
     assert_array_less(crit[:-1], A)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 869, in assert_array_less
     header='Arrays are not less-ordered')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 613, in assert_array_compare
     chk_same_position(x_id, y_id, hasval='inf')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/testing/utils.py", line 588, in chk_same_position
     raise AssertionError(msg)
 AssertionError:
 Arrays are not less-ordered

 x and y inf location mismatch:
  x: array([ 0.911,  1.065,  1.325,  1.587])
  y: array(inf)

 ----------------------------------------------------------------------
 Ran 4722 tests in 45.268s

 FAILED (KNOWNFAIL=18, SKIP=31, failures=7)
 <nose.result.TextTestResult run=4722 errors=0 failures=7>
 >>>

 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1476#comment:12>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list