[Numpy-discussion] 1.8.0rc1

Christoph Gohlke cgohlke at uci.edu
Wed Oct 2 03:31:49 EDT 2013


On 9/30/2013 8:17 AM, Charles R Harris wrote:
> Hi All,
>
> NumPy 1.8.0rc1 is up now on sourceforge
> <http://sourceforge.net/projects/numpy/files/NumPy/1.8.0rc1/> .The
> binary builds are included except for Python 3.3 on windows, which will
> arrive later. Many thanks to Ralf for the binaries, and to those who
> found and fixed the bugs in the last beta. Any remaining bugs are all my
> fault ;) I hope this will be the last release before final, so please
> test it thoroughly.
>
> Chuck
>

One more: Cython-0.19.1 fails relaxed_strides.test_one_sized with 
"ValueError: ndarray is not C-contiguous". Tested on 
numpy-MKL-1.8.0rc1-win-amd64-py2.7 and msvc9.

https://github.com/cython/cython/blob/0.19.x/tests/memoryview/relaxed_strides.pyx#L29

The relevant test output is attached.

Christoph
-------------- next part --------------
======================================================================
FAIL: test_one_sized (line 29) (relaxed_strides.__test__)
Doctest: relaxed_strides.__test__.test_one_sized (line 29)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\Python27-x64\lib\doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for relaxed_strides.__test__.test_one_sized (line 29)
  File "Cython-0.19.1\BUILD\memoryview\c\relaxed_strides\relaxed_strides.pyd", line unknown line number, in test_one_sized (line 29)

----------------------------------------------------------------------
File "Cython-0.19.1\BUILD\memoryview\c\relaxed_strides\relaxed_strides.pyd", line ?, in relaxed_strides.__test__.test_one_sized (line 29)
Failed example:
    test_one_sized(a)[0]
Exception raised:
    Traceback (most recent call last):
      File "X:\Python27-x64\lib\doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest relaxed_strides.__test__.test_one_sized (line 29)[3]>", line 1, in <module>
        test_one_sized(a)[0]
      File "relaxed_strides.pyx", line 38, in relaxed_strides.test_one_sized (relaxed_strides.c:1379)
      File "stringsource", line 619, in View.MemoryView.memoryview_cwrapper (relaxed_strides.c:7145)
      File "stringsource", line 327, in View.MemoryView.memoryview.__cinit__ (relaxed_strides.c:3555)
    ValueError: ndarray is not C-contiguous


======================================================================
FAIL: test_one_sized (line 29) (relaxed_strides.__test__)
Doctest: relaxed_strides.__test__.test_one_sized (line 29)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\Python27-x64\lib\doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for relaxed_strides.__test__.test_one_sized (line 29)
  File "Cython-0.19.1\BUILD\memoryview\cpp\relaxed_strides\relaxed_strides.pyd", line unknown line number, in test_one_sized (line 29)

----------------------------------------------------------------------
File "Cython-0.19.1\BUILD\memoryview\cpp\relaxed_strides\relaxed_strides.pyd", line ?, in relaxed_strides.__test__.test_one_sized (line 29)
Failed example:
    test_one_sized(a)[0]
Exception raised:
    Traceback (most recent call last):
      File "X:\Python27-x64\lib\doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest relaxed_strides.__test__.test_one_sized (line 29)[3]>", line 1, in <module>
        test_one_sized(a)[0]
      File "relaxed_strides.pyx", line 38, in relaxed_strides.test_one_sized (relaxed_strides.cpp:1379)
      File "stringsource", line 619, in View.MemoryView.memoryview_cwrapper (relaxed_strides.cpp:7145)
      File "stringsource", line 327, in View.MemoryView.memoryview.__cinit__ (relaxed_strides.cpp:3555)
    ValueError: ndarray is not C-contiguous



More information about the NumPy-Discussion mailing list