[SciPy-Dev] ANN: SciPy 0.9.0 beta 1

Ralf Gommers ralf.gommers@googlemail....
Tue Dec 14 06:38:14 CST 2010


On Tue, Dec 14, 2010 at 12:43 AM, Benjamin Root <ben.root@ou.edu> wrote:

> On Mon, Dec 13, 2010 at 10:12 AM, Ralf Gommers <
> ralf.gommers@googlemail.com> wrote:
>
>> Hi,
>>
>> I am pleased to announce the availability of the first beta of SciPy
>> 0.9.0. This will be the first SciPy release to include support for Python
>> 3, as well as for Python 2.7. Please try this beta and report any
>> problems on the scipy-dev mailing list.
>>
>> Binaries, sources and release notes can be found athttp://sourceforge.net/projects/scipy/files/scipy/0.9.0b1/<https://sourceforge.net/projects/numpy/files/>.
>> Note that not all binaries (win32-py27, *-macosx10.3) are uploaded yet, they
>> will follow in the next day or two.
>>
>> There are still a few known issues (so no need to report these):
>> 1. Arpack related errors on 64-bit OS X.
>> 2. Correlate complex192 errors on Windows.
>> 3. correlate/conjugate current behavior is deprecated and should be
>> removed before RC1.
>>
>> Enjoy,
>> Ralf
>>
>>
Hi Ben,

>
> Just did a clean rebuild (after a clean rebuild of numpy) and had two
> errors in the tests:
>

What platform are you on?

>
> ======================================================================
> FAIL: test_imresize (test_pilutil.TestPILUtil)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/bvr/Programs/numpy/numpy/testing/decorators.py", line 146, in
> skipper_func
>     return f(*args, **kwargs)
>   File "/home/bvr/Programs/scipy/scipy/misc/tests/test_pilutil.py", line
> 25, in test_imresize
>     assert_equal(im1.shape,(11,22))
>   File "/home/bvr/Programs/numpy/numpy/testing/utils.py", line 251, in
> assert_equal
>     assert_equal(actual[k], desired[k], 'item=%r\n%s' % (k,err_msg),
> verbose)
>   File "/home/bvr/Programs/numpy/numpy/testing/utils.py", line 313, in
> assert_equal
>     raise AssertionError(msg)
> AssertionError:
> Items are not equal:
> item=0
>
>  ACTUAL: 10
>  DESIRED: 11
>

This test should be changed to use a fixed seed (add as a first line of the
test "np.random.seed(12345678)"). Can you provide one that fails?


>
> ======================================================================
> FAIL: test_basic (test_signaltools.TestMedFilt)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/bvr/Programs/scipy/scipy/signal/tests/test_signaltools.py",
> line 284, in test_basic
>     [ 0,  7, 11,  7,  4,  4, 19, 19, 24,  0]])
>   File "/home/bvr/Programs/numpy/numpy/testing/utils.py", line 686, in
> assert_array_equal
>     verbose=verbose, header='Arrays are not equal')
>   File "/home/bvr/Programs/numpy/numpy/testing/utils.py", line 618, in
> assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Arrays are not equal
>
> (mismatch 8.0%)
>  x: array([[  0.,  50.,  50.,  50.,  42.,  15.,  15.,  18.,  27.,   0.],
>        [  0.,  50.,  50.,  50.,  50.,  42.,  19.,  21.,  29.,   0.],
>        [ 50.,  50.,  50.,  50.,  50.,  47.,  34.,  34.,  46.,  35.],...
>  y: array([[ 0, 50, 50, 50, 42, 15, 15, 18, 27,  0],
>        [ 0, 50, 50, 50, 50, 42, 19, 21, 29,  0],
>        [50, 50, 50, 50, 50, 47, 34, 34, 46, 35],...
>
> ----------------------------------------------------------------------
> Ran 4822 tests in 199.244s
>
> FAILED (KNOWNFAIL=12, SKIP=35, failures=2)
> <nose.result.TextTestResult run=4822 errors=0 failures=2>
>
>
> Don't know about the first one, but the second one looks like a
> type-casting issue, because all the values are the same, except one is
> floating point and the other is integer.
>

This was also reported by Nils some days ago, he had one value that was
different between arrays.

Ralf


>
> Ben Root
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20101214/d7c5b383/attachment-0001.html 


More information about the SciPy-Dev mailing list