[Numpy-discussion] ANN: NumPy 1.7.2rc1 release

Christian K. ckkart at hoc.net
Sun Nov 10 19:06:00 EST 2013


Am 03.11.13 13:42, schrieb Julian Taylor:
> Hi all,
>
> I'm happy to announce the release candidate of Numpy 1.7.2.
> This is a bugfix only release supporting Python 2.4 - 2.7 and 3.1 - 3.3.
>
> More than 37 issues were fixed, the most important issues are listed in
> the release notes:
> https://github.com/numpy/numpy/blob/v1.7.2rc1/doc/release/1.7.2-notes.rst
>
> It is supposed to not break any existing code, so please test the
> releases and report any issues you find.
>
> Source tarballs and release notes can be found at
> https://sourceforge.net/projects/numpy/files/NumPy/1.7.2rc1/.
> Currently only Windows installers are available. OS X installer will
> follow soon.

On OSX compilation succeeds (with some errors though) but test() fails.

Attached is the full output.

Christian

-------------- next part --------------
Python 2.7.5 |Anaconda 1.6.1 (x86_64)| (default, Jun 28 2013, 22:20:13) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.7.2rc1'
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.7.2rc1
NumPy is installed in /Users/ck/anaconda/lib/python2.7/site-packages/numpy
Python version 2.7.5 |Anaconda 1.6.1 (x86_64)| (default, Jun 28 2013, 22:20:13) [GCC 4.0.1 (Apple Inc. build 5493)]
nose version 1.3.0
.......................................................................................................................................................FFFFF......................................................................................................................................................................................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.....................................................................................................................................................................................................................................................................................................................................................................................................................................F.........................................................................................K......................................................................................................K...SK.S.......S............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.....................................................................................................................................................................................................SFRuntimeError: module compiled against API version 9 but this version of numpy is 7
E....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
ERROR: Failure: ImportError (cannot import name nanmean)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/lib/tests/test_nanfunctions.py", line 10, in <module>
    from numpy.lib import (
ImportError: cannot import name nanmean

======================================================================
ERROR: Failure: ImportError (numpy.core.multiarray failed to import)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/linalg/tests/test_gufuncs_linalg.py", line 61, in <module>
    import numpy.linalg._gufuncs_linalg as gula
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/linalg/_gufuncs_linalg.py", line 124, in <module>
    from . import _umath_linalg as _impl
ImportError: numpy.core.multiarray failed to import

======================================================================
FAIL: test_deprecations.TestArrayToIndexDeprecation.test_array_to_index_deprecation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 284, in test_array_to_index_deprecation
    self.assert_deprecated(operator.index, args=(np.array([1]),))
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 90, in assert_deprecated
    % (len(self.log), num))
AssertionError: 0 warnings found but 1 expected

======================================================================
FAIL: test_deprecations.TestBooleanArgumentDeprecation.test_bool_as_int_argument
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 257, in test_bool_as_int_argument
    self.assert_deprecated(np.reshape, args=(a, (True, -1)))
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 90, in assert_deprecated
    % (len(self.log), num))
AssertionError: 0 warnings found but 1 expected

======================================================================
FAIL: test_deprecations.TestFloatNonIntegerArgumentDeprecation.test_indexing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 148, in test_indexing
    assert_deprecated(lambda: a[0.0])
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 146, in assert_deprecated
    self.assert_deprecated(*args, exceptions=(IndexError,), **kwargs)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 90, in assert_deprecated
    % (len(self.log), num))
AssertionError: 0 warnings found but 1 expected

======================================================================
FAIL: test_deprecations.TestFloatNonIntegerArgumentDeprecation.test_non_integer_argument_deprecations
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 238, in test_non_integer_argument_deprecations
    self.assert_deprecated(np.reshape, args=(a, (1., 1., -1)), num=2)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 90, in assert_deprecated
    % (len(self.log), num))
AssertionError: 0 warnings found but 2 expected

======================================================================
FAIL: test_deprecations.TestFloatNonIntegerArgumentDeprecation.test_slicing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 193, in test_slicing
    assert_deprecated(lambda: a[0.0:])
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 190, in assert_deprecated
    self.assert_deprecated(*args, exceptions=(IndexError,), **kwargs)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_deprecations.py", line 90, in assert_deprecated
    % (len(self.log), num))
AssertionError: 0 warnings found but 1 expected

======================================================================
FAIL: test_str (test_scalarprint.TestRealScalars)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/core/tests/test_scalarprint.py", line 26, in test_str
    assert_(res == val)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/testing/utils.py", line 35, in assert_
    raise AssertionError(msg)
AssertionError

======================================================================
FAIL: Check mode='full' FutureWarning.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ck/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/linalg/tests/test_deprecations.py", line 17, in test_qr_mode_full_future_warning
    assert_warns(DeprecationWarning, np.linalg.qr, a, mode='full')
  File "/Users/ck/anaconda/lib/python2.7/site-packages/numpy/testing/utils.py", line 1481, in assert_warns
    % func.__name__)
AssertionError: No warning raised when calling qr

----------------------------------------------------------------------
Ran 4846 tests in 31.028s

FAILED (KNOWNFAIL=5, SKIP=5, errors=2, failures=7)
<nose.result.TextTestResult run=4846 errors=2 failures=7>


More information about the NumPy-Discussion mailing list