[Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

Bruce Southey bsouthey at gmail.com
Wed Mar 23 12:29:58 EDT 2011


On 03/23/2011 11:07 AM, Ralf Gommers wrote:
> Hi,
>
> I am pleased to announce the availability of the first beta of NumPy
> 1.6.0. Due to the extensive changes in the Numpy core for this
> release, the beta testing phase will last at least one month. Please
> test this beta and report any problems on the Numpy mailing list.
>
> Sources and binaries can be found at:
> http://sourceforge.net/projects/numpy/files/NumPy/1.6.0b1/
> For (preliminary) release notes see below.
>
> Enjoy,
> Ralf
>
>
>
[snip]
Python 3.1 failed to build it due to import error of _inspect module and 
Python2.4 failed 'test_iterator.test_iter_broadcasting_errors'. Yet all 
tests passed on Python versions 2.5, 2.6 and 2.7.

Bruce
PS I do want to go through the bugs I indicated but I have not found 
sufficient time.

Python3.1 error:

Traceback (most recent call last):
   File "setup.py", line 201, in <module>
     setup_package()
   File "setup.py", line 178, in setup_package
     from numpy.distutils.core import setup
   File 
"/home/bsouthey/python/numpystuff/numpy-1.6.0b1/numpy/distutils/__init__.py", 
line 22, in <module>
     import numpy.distutils.ccompiler
   File 
"/home/bsouthey/python/numpystuff/numpy-1.6.0b1/numpy/distutils/ccompiler.py", 
line 15, in <module>
     from numpy.distutils.exec_command import exec_command
   File 
"/home/bsouthey/python/numpystuff/numpy-1.6.0b1/numpy/distutils/exec_command.py", 
line 58, in <module>
     from numpy.compat import open_latin1
   File 
"/home/bsouthey/python/numpystuff/numpy-1.6.0b1/numpy/compat/__init__.py", 
line 11, in <module>
     import _inspect
ImportError: No module named _inspect

Python 2.4 failed test:
$ python2.4 -c "import numpy; numpy.test()"
Running unit tests for numpy
NumPy version 1.6.0b1
NumPy is installed in /usr/local/lib/python2.4/site-packages/numpy
Python version 2.4.6 (#1, Sep 13 2010, 15:54:12) [GCC 4.4.4 20100630 
(Red Hat 4.4.4-10)]
nose version 0.11.2
.............................................................................................................................................................................F...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.................................................................................................K......................K....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SS............
======================================================================
FAIL: test_iterator.test_iter_broadcasting_errors
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/local/lib/python2.4/site-packages/nose/case.py", line 186, 
in runTest
     self.test(*self.arg)
   File 
"/usr/local/lib/python2.4/site-packages/numpy/core/tests/test_iterator.py", 
line 639, in test_iter_broadcasting_errors
     'Message "%s" doesn\'t contain operand shape (2,3)' % msg)
   File "/usr/local/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 34, in assert_
     raise AssertionError(msg)
AssertionError: Message "non-broadcastable output operand with shape 
(%zd,%zd) doesn't match the broadcast shape (%zd,%zd,%zd)" doesn't 
contain operand shape (2,3)

----------------------------------------------------------------------
Ran 3382 tests in 19.454s

FAILED (KNOWNFAIL=3, SKIP=3, failures=1)





More information about the NumPy-Discussion mailing list