[Numpy-discussion] ANN: NumPy 1.2.0

Matthieu Brucher matthieu.brucher@gmail....
Mon Sep 29 03:00:08 CDT 2008


I've tested the latest Numpy on a RHEL 4, and I got this result :

Running unit tests for numpy
NumPy version 1.2.0
NumPy is installed in /.../BRUCHER/local/lib/python2.5/site-packages/numpy
Python version 2.5.2 (r252:60911, Sep 29 2008, 09:47:20) [GCC Intel(R)
C++ gcc 3.4 mode]
nose version 0.10.3
...........................................................................................................................................................................................................................................................................................................................................................................................................................................FFF.............K............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ctypes
is not available on this python: skipping the test (import error was:
ctypes is not available.)
.No distutils available, skipping test.
.....
======================================================================
FAIL: test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'log'>,
-0.5, 1j, 1, -1, True)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/pau112/INNO/BRUCHER/local/lib/python2.5/site-packages/nose/case.py",
line 182, in runTest
    self.test(*self.arg)
  File "/data/pau112/INNO/BRUCHER/local/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 333, in _check_branch_cut
    assert np.all(np.absolute(y0.imag - ym.imag*im_sign) < atol), (y0, ym)
AssertionError: (array([-0.69314718+3.14159265j]),
array([-0.69314718+3.14159265j]))

======================================================================
FAIL: test_umath.TestComplexFunctions.test_branch_cuts(<ufunc
'log10'>, -0.5, 1j, 1, -1, True)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/pau112/INNO/BRUCHER/local/lib/python2.5/site-packages/nose/case.py",
line 182, in runTest
    self.test(*self.arg)
  File "/data/pau112/INNO/BRUCHER/local/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 333, in _check_branch_cut
    assert np.all(np.absolute(y0.imag - ym.imag*im_sign) < atol), (y0, ym)
AssertionError: (array([-0.30103+1.36437635j]), array([-0.30103+1.36437635j]))

======================================================================
FAIL: test_umath.TestComplexFunctions.test_branch_cuts(<ufunc
'log1p'>, -1.5, 1j, 1, -1, True)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/pau112/INNO/BRUCHER/local/lib/python2.5/site-packages/nose/case.py",
line 182, in runTest
    self.test(*self.arg)
  File "/data/pau112/INNO/BRUCHER/local/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 333, in _check_branch_cut
    assert np.all(np.absolute(y0.imag - ym.imag*im_sign) < atol), (y0, ym)
AssertionError: (array([-0.69314718+3.14159265j]),
array([-0.69314718+3.14159265j]))

----------------------------------------------------------------------
Ran 1726 tests in 7.533s

FAILED (KNOWNFAIL=1, failures=3)
<nose.result.TextTestResult run=1726 errors=0 failures=3>

So I have 3 failures that are unexpected.

Matthieu

2008/9/26 Jarrod Millman <millman@berkeley.edu>:
> I'm pleased to announce the release of NumPy 1.2.0.
>
> NumPy is the fundamental package needed for scientific computing with
> Python.  It contains:
>
>  * a powerful N-dimensional array object
>  * sophisticated (broadcasting) functions
>  * basic linear algebra functions
>  * basic Fourier transforms
>  * sophisticated random number capabilities
>  * tools for integrating Fortran code.
>
> Besides it's obvious scientific uses, NumPy can also be used as an
> efficient multi-dimensional container of generic data. Arbitrary
> data-types can be defined. This allows NumPy to seamlessly and
> speedily integrate with a wide-variety of databases.
>
> This minor release comes almost four months after the 1.1.0
> release. The major features of this release are a new
> testing framework and huge amount of documentation work. It
> also includes a some minor API breakage scheduled in the
> 1.1 release.
>
> Please note that NumPy 1.2.0 requires Python 2.4 or greater.
>
> For information, please see the release notes:
> http://sourceforge.net/project/shownotes.php?group_id=1369&release_id=628858
>
> You can download the release from here:
> http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
>
> Thank you to everybody who contributed to this release.
>
> Enjoy,
>
> --
> Jarrod Millman
> Computational Infrastructure for Research Labs
> 10 Giannini Hall, UC Berkeley
> phone: 510.643.4014
> http://cirl.berkeley.edu/
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
French PhD student
Information System Engineer
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher


More information about the Numpy-discussion mailing list