[Numpy-discussion] ANN: NumPy 1.7.0b1 release

Orion Poplawski orion@cora.nwra....
Wed Aug 22 23:24:04 CDT 2012


On 08/22/2012 12:36 PM, Ronan Lamy wrote:
> Le mercredi 22 août 2012 à 10:59 -0600, Orion Poplawski a écrit :
>>>
>>> If I drop the cython generation it builds, but the python 3 test failure I get
>>> now is:
>> ..
>>> ERROR: Ticket #16
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>      File
>>> "/builddir/build/BUILDROOT/numpy-1.7.0-0.2.b1.fc19.x86_64/usr/lib64/python3.3/site-packages/numpy/core/tests/test_regression.py",
>>> line 41, in test_pickle_transposed
>>>        b = pickle.load(f)
>>> EOFError
>>> ======================================================================
>>> ERROR: Failure: ValueError (can't handle version 187 of numpy.ndarray pickle)
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>      File "/usr/lib/python3.3/site-packages/nose/failure.py", line 37, in runTest
>>>        raise self.exc_class(self.exc_val).with_traceback(self.tb)
>>>      File "/usr/lib/python3.3/site-packages/nose/loader.py", line 232, in generate
>>>        for test in g():
>>>      File
>>> "/builddir/build/BUILDROOT/numpy-1.7.0-0.2.b1.fc19.x86_64/usr/lib64/python3.3/site-packages/numpy/lib/tests/test_format.py",
>>> line 429, in test_roundtrip
>>>        arr2 = roundtrip(arr)
>>>      File
>>> "/builddir/build/BUILDROOT/numpy-1.7.0-0.2.b1.fc19.x86_64/usr/lib64/python3.3/site-packages/numpy/lib/tests/test_format.py",
>>> line 420, in roundtrip
>>>        arr2 = format.read_array(f2)
>>>      File
>>> "/builddir/build/BUILDROOT/numpy-1.7.0-0.2.b1.fc19.x86_64/usr/lib64/python3.3/site-packages/numpy/lib/format.py",
>>> line 449, in read_array
>>>        array = pickle.load(fp)
>>> ValueError: can't handle version 187 of numpy.ndarray pickle
>>
>>
>> I should note that I'm taking numpy/core/src/multiarray/scalarapi.c and
>> numpy/core/src/multiarray/scalartypes.c.src from git master, which I thought
>> had the fix for this.
>
> Note that the fix is actually in numpy/core/src/multiarray/methods.c,
> see https://github.com/numpy/numpy/pull/371/

Thanks!

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the NumPy-Discussion mailing list