[MacPorts] #15855: BUG: py25-scipy test suites fail
#15855: BUG: py25-scipy test suites fail ---------------------------------+------------------------------------------ Reporter: pedro.dhb@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: scipy | ---------------------------------+------------------------------------------ I compiled py25-scipy with gcc 4.3 and it doesn't pass the test suite. The first time I installed scipy numpy passed all the test suites. After unistalling and reinstalling scipy the test suite error increased and numpy failed some tests. I attached scipy and numpy tests' output Leopard 10.5.4 -- Ticket URL: <http://trac.macports.org/ticket/15855> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15855: BUG: py25-scipy test suites fail ----------------------------------+----------------------------------------- Reporter: pedro.dhb@gmail.com | Owner: ram@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: scipy ----------------------------------+----------------------------------------- Changes (by ram@macports.org): * owner: macports-tickets@lists.macosforge.org => ram@macports.org * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/15855#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15855: BUG: py25-scipy test suites fail ----------------------------------+----------------------------------------- Reporter: pedro.dhb@gmail.com | Owner: ram@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: scipy ----------------------------------+----------------------------------------- Changes (by ram@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macports.org/ticket/15855#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15855: BUG: py25-scipy test suites fail ----------------------------------+----------------------------------------- Reporter: pedro.dhb@gmail.com | Owner: ram@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: scipy ----------------------------------+----------------------------------------- Changes (by ram@macports.org): * status: assigned => closed * resolution: => worksforme Comment: I don't get these after uninstalling and reinstalling: NumPy: {{{
import numpy numpy.test() Numpy is installed in /opt/local/lib/python2.5/site-packages/numpy Numpy version 1.1.0 Python version 2.5.2 (r252:60911, Jun 24 2008, 19:15:08) [GCC 4.0.1 (Apple Inc. build 5465)] <snip> Ran 1283 tests in 3.290s
OK <unittest._TextTestResult run=1283 errors=0 failures=0> }}} SciPy: {{{
import scipy scipy.test() <snip> =============== FAIL: Solve: single precision complex
Traceback (most recent call last): File "/opt/local/lib/python2.5/site- packages/scipy/linsolve/umfpack/tests/test_umfpack.py", line 32, in check_solve_complex_without_umfpack assert_array_almost_equal(a*x, b) File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 255, in assert_array_almost_equal header='Arrays are not almost equal') File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 240, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 20.0%) x: array([ 1.00000000+0.j, 1.99999809+0.j, 3.00000000+0.j, 4.00000048+0.j, 5.00000000+0.j], dtype=complex64) y: array([1, 2, 3, 4, 5]) ---------------------------------------------------------------------- Ran 1583 tests in 8.117s FAILED (failures=1) <unittest._TextTestResult run=1583 errors=0 failures=1> }}} Which is nothing to worry about. -- Ticket URL: <http://trac.macports.org/ticket/15855#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15855: BUG: py25-scipy test suites fail ----------------------------------+----------------------------------------- Reporter: pedro.dhb@gmail.com | Owner: ram@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: scipy ----------------------------------+----------------------------------------- Changes (by pedro.dhb@gmail.com): * status: closed => reopened * resolution: worksforme => Comment: scipy.test('1', '10') You will surely get the same errors -- Ticket URL: <http://trac.macports.org/ticket/15855#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15855: BUG: py25-scipy test suites fail ----------------------------------+----------------------------------------- Reporter: pedro.dhb@gmail.com | Owner: ram@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: scipy ----------------------------------+----------------------------------------- Comment (by ram@macports.org): Are you getting hit by any of these errors in a production script? -- Ticket URL: <http://trac.macports.org/ticket/15855#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15855: BUG: py25-scipy test suites fail ----------------------------------+----------------------------------------- Reporter: pedro.dhb@gmail.com | Owner: ram@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: scipy ----------------------------------+----------------------------------------- Changes (by ram@macports.org): * status: reopened => closed * resolution: => worksforme Comment: closing as worksforme, if you are running into these errors in a production script reopen -- Ticket URL: <http://trac.macports.org/ticket/15855#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts