On 08/22/2012 09:55 AM, Orion Poplawski wrote:
> On 08/21/2012 10:24 AM, Ondřej Čertík wrote:
>> Hi,
>>
>> I'm pleased to announce the availability of the first beta release of
>> NumPy 1.7.0b1.
>
> Currently in trying to support python 3.3 in Fedora Rawhide (F19) and Fedora
> 18 we are doing:
>
> # Regenerate Cython c sources
> # This is needed with numpy-1.6.2.tar.gz with python 3.3 to avoid an exception
> # with an import call in the generated .c file in the tarball that uses the
> # old default of -1:
> #     File "mtrand.pyx", line 126, in init mtrand
> (numpy/random/mtrand/mtrand.c:20679)
> #   ValueError: level must be >= 0
> # due to the changes in import in 3.3
> # Regenerating with a newer Cython fixes it:
> pushd numpy/random/mtrand/
> rm -v mtrand.c
> cython mtrand.pyx
> popd
>

If I drop the cython generation it builds, but the python 3 test failure I get 
now is:

+ /usr/bin/python3 -c 'import pkg_resources, numpy ; numpy.test()'
/usr/lib/python3.3/site-packages/nose/core.py:247: ResourceWarning: unclosed 
file <_io.TextIOWrapper name='/usr/lib/python3.3/site-packages/nose/usage.txt' 
mode='r' encoding='ANSI_X3.4-1968'>
   os.path.dirname(__file__), 'usage.txt'), 'r').read()
........................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
 ..........
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K......................................................................................................................................................................................................................................................!
 ..........
......................K...................................................E................................................................................................................................................................K....................................................................................................K......................K..........................................................................................................S.............................................................................................................................................................................................................................................................E............................................................................................................................................................................................................................................................................!
 ..........
............................................................................................................................................./usr/lib64/python3.3/zipfile.py:1513:
 
ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpemcede.npz'>
   self.fp = None
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
 ..........
.....................................................................................................................................................................................................................................K....................................................
======================================================================
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
----------------------------------------------------------------------
Ran 4418 tests in 31.180s
FAILED (KNOWNFAIL=6, SKIP=2, errors=2)



-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to