[Numpy-discussion] ANN: NumPy 1.5.1 release candidate 1

Ralf Gommers ralf.gommers@googlemail....
Wed Oct 27 09:30:46 CDT 2010


On Wed, Oct 27, 2010 at 1:23 AM, Friedrich Romstedt
<friedrichromstedt@gmail.com> wrote:
> I found some issues on Mac OS X 10.5 ppc in py2.5.4:
>
> See here:
>
> http://github.com/friedrichromstedt/numpy/tree/release%2F1.5.1rc1%2Fpy2.5-python.org-macosx10.3/release/logs/osx105rh/

The inf/exp failures should be marked as knownfail, they're not
surprising. Not sure about the nextafter and spacing ones (see errors
below).

>
> One more question: Do I have to install gfortran to do full testing?
> I see some S.

If you run the tests with np.test(verbose=2) you can see what's
skipped. gfortran is not needed I think, but makes sense to install it
anyway - the one recommended
athttp://www.scipy.org/Installing_SciPy/Mac_OS_X.
>
> I now say my installer numpy-1.5.1rc1-py2.5-python.org-macosx10.3.dmg,
> built on 10.5, is fully functional and free to the public.  The docs
> look also good now.

Nice, will check and upload to SF.
>
> Why do we not ship with the html docs?  I find them much more useful
> than the pdf.

Limit download size? Html docs can be read at
http://docs.scipy.org/doc/, pdf is for off-line reading, Therefore it
makes more sense to include the pdf in the installer.

Cheers,
Ralf



........................................................................................................Warning:
overflow encountered in add
Warning: invalid value encountered in subtract
Warning: invalid value encountered in subtract
Warning: overflow encountered in add
Warning: invalid value encountered in subtract
Warning: invalid value encountered in subtract
...................................................................................................................................................................................................................................................................................................................................................................K........................................................................................................................................................................................................................................K...K..................Warning:
overflow encountered in ldexp
.....................................F..F..............................K........F....FFFF.....K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_umath.test_nextafterl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/decorators.py",
line 215, in knownfailer
    return f(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 1033, in test_nextafterl
    return _test_nextafter(np.longdouble)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 1019, in _test_nextafter
    assert np.nextafter(one, two) - one == eps
AssertionError

======================================================================
FAIL: test_umath.test_spacingl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/decorators.py",
line 215, in knownfailer
    return f(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 1058, in test_spacingl
    return _test_spacing(np.longdouble)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 1042, in _test_spacing
    assert np.spacing(one) == eps
AssertionError

======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(<ufunc 'exp'>,
inf, 0, inf, 0)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath_complex.py",
line 579, in check_complex_value
    assert_equal(f(z1), z2)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py",
line 256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py",
line 686, 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 596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ inf nanj])
 y: array((inf+0j))

======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath_complex.py",
line 81, in _check_ninf_inf
    raise AssertionError(msgform %(z.real, z.imag))
AssertionError: cexp(-inf, inf) is (nan, nan), expected (+-0, +-0)

======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath_complex.py",
line 94, in _check_inf_inf
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: cexp(inf, inf) is (nan, nan), expected (+-inf, nan)

======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath_complex.py",
line 107, in _check_ninf_nan
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: cexp(-inf, nan) is (nan, nan), expected (+-0, +-0)

======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose/case.py",
line 186, in runTest
    self.test(*self.arg)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_umath_complex.py",
line 120, in _check_inf_nan
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: cexp(-inf, nan) is (nan, nan), expected (+-inf, nan)

----------------------------------------------------------------------
Ran 2992 tests in 50.256s

FAILED (KNOWNFAIL=5, SKIP=1, failures=7)


More information about the NumPy-Discussion mailing list