URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

Jarrod Millman
On Mon, May 19, 2008 at 7:15 PM, David Cournapeau
<[hidden email]> wrote:
>    Sorry for the delay, but it is now ready: numpy "superpack"
> installers for numpy 1.1.0rc1:
>
> http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy-1.1.0rc1-win32-superpack-python2.5.exe
> http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy-1.1.0rc1-win32-superpack-python2.4.exe
>
> (Python 2.4 binaries are not there yet). This binary should work on any
> (32 bits) CPU on windows, and in particular should solve the recurring
> problem of segfault/hangs on older CPU with previous binary releases.

Hello,

Please test the Windows binaries.  So far I have only seen two
testers.  I can't tag the release until I know that our binary
installers work on a wide variety of Windows machines.

Thanks,

--
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

Alan G Isaac
On Tue, 20 May 2008, Jarrod Millman apparently wrote:
> Please test the Windows binaries.

What tests would you like? ::

    >>> np.test(level=1)
    Numpy is installed in C:\Python25\lib\site-packages\numpy
    Numpy version 1.1.0rc1
    Python version 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.13
    ...  
    OK
    <unittest._TextTestResult run=1004 errors=0 failures=0>

This is on an old machine (Pentium 3 (no SSE 2)) running Win 2000.

Cheers,
Alan



_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

cdavid
Alan G Isaac wrote:

> What tests would you like? ::
>
>     >>> np.test(level=1)
>     Numpy is installed in C:\Python25\lib\site-packages\numpy
>     Numpy version 1.1.0rc1
>     Python version 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.13
>     ...  
>     OK
>     <unittest._TextTestResult run=1004 errors=0 failures=0>
>
> This is on an old machine (Pentium 3 (no SSE 2)) running Win 2000.
>  

Joy, no more crashing on machines without SSE2 :) That's exactly the
point of this 'new' installer.

cheers,

David
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

josef.pktd
Testing the windows installers

On an 8 years old Windows 2000 with Intel processor (which ?) no sse,
installed numpy-1/1/0rc1-nosse.exe
  * with Python 2.4.3 (no ctypes)
    - numpy.test(): 1001 test OK, no errors or failures
    - numpy.test(): 1271 tests, errors=12, failures=1
    no crash, some previous numpy crashed python
 * with Python 2.5.1
     - numpy.test(): 1004 test OK, no errors or failures
    - numpy.test(): 1277 tests, errors=12, failures=1

On Windows XP with Intel Pentium M on notebook with SSE2, installed
numpy-1.1.0rc1-sse2.exe

{{{
>>> import numpy
>>> numpy.test()
Numpy is installed in C:\Programs\Python25\lib\site-packages\numpy
Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310
32 bit (Int
el)]
...
Ran 1004 tests in 1.469s

OK
<unittest._TextTestResult run=1004 errors=0 failures=0>
}}}

running all tests:
{{{
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test(all=True)
Numpy is installed in C:\Programs\Python25\lib\site-packages\numpy
Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310
32 bit (Int
el)]
...
Ran 1277 tests in 5.890s

FAILED (failures=1, errors=12)
<unittest._TextTestResult run=1277 errors=12 failures=1>
}}}

if I run numpy.test() or numpy.test(level=1) again, it does not go
back to the original smaller number (1004) of tests,
instead it still picks up some of the tests with errors
{{{
>>> numpy.test(level=1)
Numpy is installed in C:\Programs\Python25\lib\site-packages\numpy
Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310
32 bit (Int
el)]
....
Ran 1021 tests in 1.500s

FAILED (errors=10)
<unittest._TextTestResult run=1021 errors=10 failures=0>
}}}

most errors are similar to (as in an open ticket)
  File "C:\Programs\Python25\Lib\site-packages\numpy\ma\tests
\test_mrecords.py",
 line 142, in test_set_mask
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

So, installer works well on these two windows computers

Josef
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

josef.pktd


joep wrote:
> Testing the windows installers
>
> On an 8 years old Windows 2000 with Intel processor (which ?) no sse,
> installed numpy-1/1/0rc1-nosse.exe
>   * with Python 2.4.3 (no ctypes)
>     - numpy.test(): 1001 test OK, no errors or failures

typo: missed with option all=True:
     - numpy.test(all=True): 1271 tests, errors=12, failures=1
>     no crash, some previous numpy crashed python

>  * with Python 2.5.1
>     - numpy.test(): 1004 test OK, no errors or failures

typo: missed with option all=True
>     - numpy.test(all=True): 1277 tests, errors=12, failures=1
>
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

Alan G Isaac
On Tue, 20 May 2008, joep apparently wrote:
> missed with option all=True:

Yes, I also see this with numpy.test(all=True).
(Same old machine (no SSE2) running Win 2000.)

Alan



======================================================================
ERROR: Test creation by view
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 51, in test_byview
    assert_equal_records(mbase._data, base._data.view(recarray))
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test filling the array
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 258, in test_filled
    assert_equal(mrecfilled['c'], np.array(('one','two','N/A'), dtype='|S8'))
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests fields retrieval
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 62, in test_get
    assert_equal(getattr(mbase,field), mbase[field])
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 104, in assert_equal
    desired.tolist(),
  File "C:\Python25\Lib\site-packages\numpy\ma\core.py", line 2552, in tolist
    result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test pickling
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 243, in test_pickling
    assert_equal_records(mrec_._data, mrec._data)
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_elements (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 185, in test_set_elemen
ts
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests setting fields.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 104, in test_set_fields

    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_mask (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 142, in test_set_mask
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test tolist.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 269, in test_tolist
    assert_equal(mrec.tolist(),
  File "C:\Python25\Lib\site-packages\numpy\ma\mrecords.py", line 474, in tolist
    result = narray(self.filled().tolist(), dtype=object)
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test construction from records.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 312, in test_fromrecord
s
    assert_equal_records(pa,mpa)
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests construction from records w/ mask.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 333, in test_fromrecord
s_wmask
    _mrec = fromrecords(nrec.tolist(), dtype=ddtype, mask=[0,1,0,])
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: check_testUfuncRegression (numpy.ma.tests.test_old_ma.TestUfuncs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_old_ma.py", line 657, in check_testUfuncRe
gression
    uf = getattr(umath, f)
NameError: global name 'umath' is not defined

======================================================================
ERROR: Tests whether the subclass is kept.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_subclassing.py", line 86, in check_data_su
bclassing
    assert_equal(xmsub._data, xsub)
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 106, in assert_equal
    return assert_array_equal(actual, desired, err_msg)
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 201, in assert_array_equal
    header='Arrays are not equal')
  File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 185, in assert_array_compare
    reduced = reduced.tolist()
  File "C:\Python25\Lib\site-packages\numpy\ma\core.py", line 2552, in tolist
    result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
FAIL: Ticket #652
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\linalg\tests\test_regression.py", line 32, in test_eig_b
uild
    assert_array_almost_equal(va, rva)
  File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 255, in assert_array_almost_equa
l
    header='Arrays are not almost equal')
  File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 240, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 46.1538461538%)
 x: array([  1.03221168e+02 +0.00000000e+00j,
        -1.91843603e+01 +0.00000000e+00j,
         1.82126812e+01 +0.00000000e+00j,...
 y: array([  1.03221168e+02 +0.j        ,  -1.91843603e+01 +0.j        ,
        -6.04004526e-01+15.84422474j,  -6.04004526e-01-15.84422474j,
        -1.13692929e+01 +0.j        ,  -6.57612485e-01+10.41755503j,...

----------------------------------------------------------------------
Ran 1277 tests in 16.640s

FAILED (failures=1, errors=12)
<unittest._TextTestResult run=1277 errors=12 failures=1>
>>>



_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Mac Installer: please test it

Tommy Grav
Doing the same on a the Mac installer also returns 3 failures and 12  
errors with all=True.
Installer works fine though :)

[skathi:~] tgrav% python
ActivePython 2.5.1.1 (ActiveState Software Inc.) based on
Python 2.5.1 (r251:54863, May  1 2007, 17:40:00)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.test(all=True)
Numpy is installed in /Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/site-packages/numpy
Numpy version 1.1.0rc1
Python version 2.5.1 (r251:54863, May  1 2007, 17:40:00) [GCC 4.0.1  
(Apple Computer, Inc. build 5250)]

...................................................../Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
numpy/core/ma.py:609: UserWarning: Cannot automatically convert masked  
array to numeric because data
     is masked in one or more locations.
   warnings.warn("Cannot automatically convert masked array to "\
F.......................................................................
........................................................................
........................................................................
.......................................................................F
F......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EEE.EEEE...E..EE.................................E....E..............................
======================================================================
ERROR: Test creation by view
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 51, in  
test_byview
     assert_equal_records(mbase._data, base._data.view(recarray))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 74, in  
assert_equal_records
     assert_equal(getattr(a,f), getattr(b,f))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 103, in  
assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test filling the array
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 258, in  
test_filled
     assert_equal(mrecfilled['c'], np.array(('one','two','N/A'),  
dtype='|S8'))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 103, in  
assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests fields retrieval
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 62, in  
test_get
     assert_equal(getattr(mbase,field), mbase[field])
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 104, in  
assert_equal
     desired.tolist(),
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/core.py", line 2552, in tolist
     result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test pickling
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 243, in  
test_pickling
     assert_equal_records(mrec_._data, mrec._data)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 74, in  
assert_equal_records
     assert_equal(getattr(a,f), getattr(b,f))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 103, in  
assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_elements (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 185, in  
test_set_elements
     assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests setting fields.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 104, in  
test_set_fields
     assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_mask (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 142, in  
test_set_mask
     assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test tolist.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 269, in  
test_tolist
     assert_equal(mrec.tolist(),
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/mrecords.py", line 474, in tolist
     result = narray(self.filled().tolist(), dtype=object)
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test construction from records.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 312, in  
test_fromrecords
     assert_equal_records(pa,mpa)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 74, in  
assert_equal_records
     assert_equal(getattr(a,f), getattr(b,f))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 103, in  
assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests construction from records w/ mask.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 333, in  
test_fromrecords_wmask
     _mrec = fromrecords(nrec.tolist(), dtype=ddtype, mask=[0,1,0,])
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: check_testUfuncRegression (numpy.ma.tests.test_old_ma.TestUfuncs)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_old_ma.py", line 657, in  
check_testUfuncRegression
     uf = getattr(umath, f)
NameError: global name 'umath' is not defined

======================================================================
ERROR: Tests whether the subclass is kept.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/tests/test_subclassing.py", line 86,  
in check_data_subclassing
     assert_equal(xmsub._data, xsub)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 106, in  
assert_equal
     return assert_array_equal(actual, desired, err_msg)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 201, in  
assert_array_equal
     header='Arrays are not equal')
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/testutils.py", line 185, in  
assert_array_compare
     reduced = reduced.tolist()
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/ma/core.py", line 2552, in tolist
     result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
FAIL: check_testUfuncRegression (numpy.core.tests.test_ma.TestUfuncs)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/core/tests/test_ma.py", line 692, in  
check_testUfuncRegression
     self.failUnless(eqmask(ur.mask, mr.mask))
AssertionError

======================================================================
FAIL: test_basic (numpy.core.tests.test_multiarray.TestView)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/core/tests/test_multiarray.py", line  
843, in test_basic
     assert_array_equal(y, [67305985, 134678021])
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/testing/utils.py", line 248, in  
assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/testing/utils.py", line 240, in  
assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not equal

(mismatch 100.0%)
  x: array([16909060, 84281096])
  y: array([ 67305985, 134678021])

======================================================================
FAIL: test_keywords (numpy.core.tests.test_multiarray.TestView)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/core/tests/test_multiarray.py", line  
852, in test_keywords
     assert_array_equal(y,[[513]])
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/testing/utils.py", line 248, in  
assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/numpy/testing/utils.py", line 240, in  
assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not equal

(mismatch 100.0%)
  x: array([[258]], dtype=int16)
  y: array([[513]])

----------------------------------------------------------------------
Ran 1313 tests in 3.741s

FAILED (failures=3, errors=12)
<unittest._TextTestResult run=1313 errors=12 failures=3>
 >>>

_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Mac Installer: please test it

George Nurser-2
Hmm. I also get some problems with test(all=True)
2 failures (though they look spurious to me) + 18 errors.

Intel MBP, 10.5.2, macPython 2.5.2, apple gcc 4.0.1

George Nurser.
>>> numpy.test(all=True)
Numpy is installed in
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy
Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1
(Apple Computer, Inc. build 5363)]
....
======================================================================
ERROR: Ticket #396
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_regression.py",
line 602, in check_poly1d_nan_roots
    self.failUnlessRaises(np.linalg.LinAlgError,getattr,p,"r")
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
line 661, in __getattr__
    return roots(self.coeffs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
line 124, in roots
    roots = _eigvals(A)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
line 40, in _eigvals
    return eigvals(arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/decomp.py",
line 478, in eigvals
    return eig(a,b=b,left=0,right=0,overwrite_a=overwrite_a)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/decomp.py",
line 150, in eig
    a1 = asarray_chkfinite(a)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/function_base.py",
line 527, in asarray_chkfinite
    raise ValueError, "array must not contain infs or NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
ERROR: Ticket #396
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_regression.py",
line 602, in check_poly1d_nan_roots
    self.failUnlessRaises(np.linalg.LinAlgError,getattr,p,"r")
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
line 661, in __getattr__
    return roots(self.coeffs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
line 124, in roots
    roots = _eigvals(A)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
line 37, in _eigvals
    return eigvals(arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/decomp.py",
line 478, in eigvals
    return eig(a,b=b,left=0,right=0,overwrite_a=overwrite_a)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/decomp.py",
line 150, in eig
    a1 = asarray_chkfinite(a)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/function_base.py",
line 527, in asarray_chkfinite
    raise ValueError, "array must not contain infs or NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
ERROR: Tests the confidence intervals of the trimmed mean.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_morestats.py",
line 43, in test_trimmedmeanci
    assert_equal(numpy.round(trimmed_mean_ci(data,0.2),1), [561.8, 630.6])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/morestats.py",
line 200, in trimmed_mean_ci
    tstde = trimmed_stde(data, proportiontocut=proportiontocut, axis=axis)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mstats.py",
line 210, in trimmed_stde
    return _trimmed_stde_1D(data.ravel(), proportiontocut)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mstats.py",
line 204, in _trimmed_stde_1D
    winstd = winsorized.stdu()
AttributeError: 'MaskedArray' object has no attribute 'stdu'

======================================================================
ERROR: test_hdquantiles (numpy.ma.tests.test_morestats.TestQuantiles)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_morestats.py",
line 97, in test_hdquantiles
    hdq = hdquantiles_sd(data,[0.25, 0.5, 0.75])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/morestats.py",
line 168, in hdquantiles_sd
    result = _hdsd_1D(data.compressed(), p)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/morestats.py",
line 144, in _hdsd_1D
    xsorted = numpy.sort(data.compressed())
AttributeError: 'numpy.ndarray' object has no attribute 'compressed'

======================================================================
ERROR: Test creation by view
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 51, in test_byview
    assert_equal_records(mbase._data, base._data.view(recarray))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test filling the array
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 258, in test_filled
    assert_equal(mrecfilled['c'], np.array(('one','two','N/A'), dtype='|S8'))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests fields retrieval
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 62, in test_get
    assert_equal(getattr(mbase,field), mbase[field])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 104, in assert_equal
    desired.tolist(),
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/core.py",
line 2552, in tolist
    result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test pickling
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 243, in test_pickling
    assert_equal_records(mrec_._data, mrec._data)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_elements (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 185, in test_set_elements
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests setting fields.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 104, in test_set_fields
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_mask (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 142, in test_set_mask
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test tolist.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 269, in test_tolist
    assert_equal(mrec.tolist(),
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mrecords.py",
line 474, in tolist
    result = narray(self.filled().tolist(), dtype=object)
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test construction from records.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 312, in test_fromrecords
    assert_equal_records(pa,mpa)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests construction from records w/ mask.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 333, in test_fromrecords_wmask
    _mrec = fromrecords(nrec.tolist(), dtype=ddtype, mask=[0,1,0,])
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests the trimmed mean standard error.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mstats.py",
line 144, in test_trimmed_stde
    assert_almost_equal(trimmed_stde(data,0.2), 56.1, 1)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mstats.py",
line 210, in trimmed_stde
    return _trimmed_stde_1D(data.ravel(), proportiontocut)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mstats.py",
line 204, in _trimmed_stde_1D
    winstd = winsorized.stdu()
AttributeError: 'MaskedArray' object has no attribute 'stdu'

======================================================================
ERROR: Tests the Winsorization of the data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mstats.py",
line 150, in test_winsorization
    assert_almost_equal(winsorize(data).varu(), 21551.4, 1)
AttributeError: 'MaskedArray' object has no attribute 'varu'

======================================================================
ERROR: check_testUfuncRegression (numpy.ma.tests.test_old_ma.TestUfuncs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_old_ma.py",
line 657, in check_testUfuncRegression
    uf = getattr(umath, f)
NameError: global name 'umath' is not defined

======================================================================
ERROR: Tests whether the subclass is kept.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_subclassing.py",
line 86, in check_data_subclassing
    assert_equal(xmsub._data, xsub)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 106, in assert_equal
    return assert_array_equal(actual, desired, err_msg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 201, in assert_array_equal
    header='Arrays are not equal')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 185, in assert_array_compare
    reduced = reduced.tolist()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/core.py",
line 2552, in tolist
    result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
FAIL: Tests the Marits-Jarrett estimator
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_morestats.py",
line 36, in test_mjci
    assert_almost_equal(mjci(data),[55.76819,45.84028,198.8788],5)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 134, in assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 227, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 193, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 33.3333333333%)
 x: array([  55.76818915,   45.84027529,  198.8787528 ])
 y: array([  55.76819,   45.84028,  198.8788 ])

======================================================================
FAIL: Test quantiles 1D - w/ mask.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mstats.py",
line 60, in test_1d_mask
    [24.833333, 50.0, 75.166666])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 134, in assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 227, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 193, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 66.6666666667%)
 x: array([ 24.83333333,  50.        ,  75.16666667])
 y: array([ 24.833333,  50.      ,  75.166666])

----------------------------------------------------------------------
Ran 1292 tests in 2.053s

FAILED (failures=2, errors=18)
<unittest._TextTestResult run=1292 errors=18 failures=2>
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Mac Installer: please test it

Pierre GM-2
Mmh, wait a minute:
* There shouldn't be any mstats.py nor morestats.py in numpy.ma any longer: I
moved the packages to scipy.stats along their respective unittests.
* The corresponding tests work fine on my machine...
* The RuntimeError that shows up w/ mrecords is a recent problem, not related
to numpy.ma: something changed with the .tolist() method.

_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Mac Installer: please test it

George Nurser-2
2008/5/21 Pierre GM <[hidden email]>:
> Mmh, wait a minute:
> * There shouldn't be any mstats.py nor morestats.py in numpy.ma any longer: I
> moved the packages to scipy.stats along their respective unittests.

Right. I hadn't deleted the previous
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy

After doing that, I get just 12 errors; no failures.
The errors are related to
* ma/tests/test_mrecords.py
* ma/tests/test_old_ma.py
* ma/tests/test_subclassing.py

-George.

Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1
(Apple Computer, Inc. build 5363)]
...
.......................................................................EEE.EEEE...E..EE.................................E....E..............................
======================================================================
ERROR: Test creation by view
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 51, in test_byview
    assert_equal_records(mbase._data, base._data.view(recarray))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test filling the array
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 258, in test_filled
    assert_equal(mrecfilled['c'], np.array(('one','two','N/A'), dtype='|S8'))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests fields retrieval
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 62, in test_get
    assert_equal(getattr(mbase,field), mbase[field])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 104, in assert_equal
    desired.tolist(),
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/core.py",
line 2552, in tolist
    result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test pickling
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 243, in test_pickling
    assert_equal_records(mrec_._data, mrec._data)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_elements (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 185, in test_set_elements
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests setting fields.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 104, in test_set_fields
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_mask (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 142, in test_set_mask
    assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test tolist.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 269, in test_tolist
    assert_equal(mrec.tolist(),
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mrecords.py",
line 474, in tolist
    result = narray(self.filled().tolist(), dtype=object)
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test construction from records.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 312, in test_fromrecords
    assert_equal_records(pa,mpa)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 74, in assert_equal_records
    assert_equal(getattr(a,f), getattr(b,f))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 103, in assert_equal
    return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests construction from records w/ mask.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py",
line 333, in test_fromrecords_wmask
    _mrec = fromrecords(nrec.tolist(), dtype=ddtype, mask=[0,1,0,])
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: check_testUfuncRegression (numpy.ma.tests.test_old_ma.TestUfuncs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_old_ma.py",
line 657, in check_testUfuncRegression
    uf = getattr(umath, f)
NameError: global name 'umath' is not defined

======================================================================
ERROR: Tests whether the subclass is kept.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_subclassing.py",
line 86, in check_data_subclassing
    assert_equal(xmsub._data, xsub)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 106, in assert_equal
    return assert_array_equal(actual, desired, err_msg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 201, in assert_array_equal
    header='Arrays are not equal')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py",
line 185, in assert_array_compare
    reduced = reduced.tolist()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/core.py",
line 2552, in tolist
    result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

----------------------------------------------------------------------
Ran 1277 tests in 1.624s

FAILED (errors=12)
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|

Re: URGENT: Re: 1.1.0rc1, Win32 Installer: please test it

Paul Moore-7
In reply to this post by Jarrod Millman
Jarrod Millman wrote:
> Please test the Windows binaries.  So far I have only seen two
> testers.  I can't tag the release until I know that our binary
> installers work on a wide variety of Windows machines.

For what it's worth, I got this:

System information for \\GANDALF:
Uptime:                    0 days 0 hours 55 minutes 8 seconds
Kernel version:            Microsoft Windows XP, Multiprocessor Free
Product type:              Professional
Product version:           5.1
Service pack:              3
Kernel build number:       2600
Registered organization:
Registered owner:          Gustav
Install date:              05/12/2006, 14:22:51
Activation status:         Error reading status
IE version:                7.0000
System root:               C:\WINDOWS
Processors:                2
Processor speed:           2.4 GHz
Processor type:            AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Physical memory:           2046 MB
Video driver:              NVIDIA GeForce 7950 GT

The installet installed the SSE3 version.

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.test(all=True)
Numpy is installed in C:\Apps\Python\lib\site-packages\numpy
Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32
bit (Intel)]
   Found 18/18 tests for numpy.core.tests.test_defmatrix
   Found 3/3 tests for numpy.core.tests.test_errstate
   Found 3/3 tests for numpy.core.tests.test_memmap
   Found 283/283 tests for numpy.core.tests.test_multiarray
   Found 70/70 tests for numpy.core.tests.test_numeric
   Found 36/36 tests for numpy.core.tests.test_numerictypes
   Found 12/12 tests for numpy.core.tests.test_records
   Found 140/140 tests for numpy.core.tests.test_regression
   Found 7/7 tests for numpy.core.tests.test_scalarmath
   Found 2/2 tests for numpy.core.tests.test_ufunc
   Found 16/16 tests for numpy.core.tests.test_umath
   Found 63/63 tests for numpy.core.tests.test_unicode
   Found 4/4 tests for numpy.distutils.tests.test_fcompiler_gnu
   Found 5/5 tests for numpy.distutils.tests.test_misc_util
   Found 2/2 tests for numpy.fft.tests.test_fftpack
   Found 3/3 tests for numpy.fft.tests.test_helper
   Found 10/10 tests for numpy.lib.tests.test_arraysetops
   Found 1/1 tests for numpy.lib.tests.test_financial
   Found 53/53 tests for numpy.lib.tests.test_function_base
   Found 5/5 tests for numpy.lib.tests.test_getlimits
   Found 6/6 tests for numpy.lib.tests.test_index_tricks
   Found 15/15 tests for numpy.lib.tests.test_io
   Found 1/1 tests for numpy.lib.tests.test_machar
   Found 4/4 tests for numpy.lib.tests.test_polynomial
   Found 1/1 tests for numpy.lib.tests.test_regression
   Found 49/49 tests for numpy.lib.tests.test_shape_base
   Found 15/15 tests for numpy.lib.tests.test_twodim_base
   Found 43/43 tests for numpy.lib.tests.test_type_check
   Found 1/1 tests for numpy.lib.tests.test_ufunclike
   Found 24/24 tests for numpy.lib.tests.test__datasource
   Found 89/89 tests for numpy.linalg.tests.test_linalg
   Found 3/3 tests for numpy.linalg.tests.test_regression
   Found 94/94 tests for numpy.ma.tests.test_core
   Found 15/15 tests for numpy.ma.tests.test_extras
   Found 17/17 tests for numpy.ma.tests.test_mrecords
   Found 36/36 tests for numpy.ma.tests.test_old_ma
   Found 4/4 tests for numpy.ma.tests.test_subclassing
   Found 7/7 tests for numpy.tests.test_random
   Found 16/16 tests for numpy.testing.tests.test_utils
   Found 5/5 tests for numpy.tests.test_ctypeslib
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Ignoring
"Python was built with Visual Studio version 7.1, and extensions need to
be built with the same version of the compiler, but it isn't installed."
(one should fix me in fcompiler/compaq.py)
....................................................................................................................................................................................................................................................................................................................................................F...............................................................................................................EEE.EEEE...E..EE.................................E....E..............................
======================================================================
ERROR: Test creation by view
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
51, in test_byview
     assert_equal_records(mbase._data, base._data.view(recarray))
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
74, in assert_equal_records
     assert_equal(getattr(a,f), getattr(b,f))
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
103, in assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test filling the array
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
258, in test_filled
     assert_equal(mrecfilled['c'], np.array(('one','two','N/A'),
dtype='|S8'))
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
103, in assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests fields retrieval
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
62, in test_get
     assert_equal(getattr(mbase,field), mbase[field])
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
104, in assert_equal
     desired.tolist(),
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\core.py", line 2552,
in tolist
     result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test pickling
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
243, in test_pickling
     assert_equal_records(mrec_._data, mrec._data)
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
74, in assert_equal_records
     assert_equal(getattr(a,f), getattr(b,f))
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
103, in assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_elements (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
185, in test_set_elements
     assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests setting fields.
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
104, in test_set_fields
     assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: test_set_mask (numpy.ma.tests.test_mrecords.TestMRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
142, in test_set_mask
     assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test tolist.
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
269, in test_tolist
     assert_equal(mrec.tolist(),
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\mrecords.py", line
474, in tolist
     result = narray(self.filled().tolist(), dtype=object)
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Test construction from records.
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
312, in test_fromrecords
     assert_equal_records(pa,mpa)
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
74, in assert_equal_records
     assert_equal(getattr(a,f), getattr(b,f))
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
103, in assert_equal
     return _assert_equal_on_sequences(actual.tolist(),
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: Tests construction from records w/ mask.
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line
333, in test_fromrecords_wmask
     _mrec = fromrecords(nrec.tolist(), dtype=ddtype, mask=[0,1,0,])
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
ERROR: check_testUfuncRegression (numpy.ma.tests.test_old_ma.TestUfuncs)
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_old_ma.py", line
657, in check_testUfuncRegression
     uf = getattr(umath, f)
NameError: global name 'umath' is not defined

======================================================================
ERROR: Tests whether the subclass is kept.
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\ma\tests\test_subclassing.py",
line 86, in check_data_subclassing
     assert_equal(xmsub._data, xsub)
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
106, in assert_equal
     return assert_array_equal(actual, desired, err_msg)
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
201, in assert_array_equal
     header='Arrays are not equal')
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\testutils.py", line
185, in assert_array_compare
     reduced = reduced.tolist()
   File "C:\Apps\Python\Lib\site-packages\numpy\ma\core.py", line 2552,
in tolist
     result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array

======================================================================
FAIL: Ticket #652
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"C:\Apps\Python\Lib\site-packages\numpy\linalg\tests\test_regression.py",
line 32, in test_eig_build
     assert_array_almost_equal(va, rva)
   File "C:\Apps\Python\Lib\site-packages\numpy\testing\utils.py", line
255, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "C:\Apps\Python\Lib\site-packages\numpy\testing\utils.py", line
240, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 53.8461538462%)
  x: array([  1.03221168e+02 +0.j        ,  -1.91843603e+01 +0.j        ,
          1.82126812e+01 +0.j        ,  -1.13692929e+01 +0.j        ,
         -6.04004526e-01+15.84422474j,  -6.04004526e-01-15.84422474j,...
  y: array([  1.03221168e+02 +0.j        ,  -1.91843603e+01 +0.j        ,
         -6.04004526e-01+15.84422474j,  -6.04004526e-01-15.84422474j,
         -1.13692929e+01 +0.j        ,  -6.57612485e-01+10.41755503j,...

----------------------------------------------------------------------
Ran 1277 tests in 2.531s

FAILED (failures=1, errors=12)
<unittest._TextTestResult run=1277 errors=12 failures=1>
 >>>

_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion