[Numpy-discussion] ANN: NumPy 1.6.2 release candidate 1

Paul Anton Letnes paul.anton.letnes at gmail.com
Sat May 5 16:56:27 EDT 2012


Hi,

I'm getting a couple of errors when testing. System:
Arch Linux (updated today)
Python 3.2.3
gcc 4.7.0
(Anything else?)

I think that this error:
AssertionError: selectedrealkind(19): expected -1 but got 16
is due to the fact that newer versions of gfortran actually supports
precision this high (quad precision).

Cheers
Paul


python -c 'import numpy;numpy.test("full")'
Running unit tests for numpy
NumPy version 1.6.1
NumPy is installed in /usr/lib/python3.2/site-packages/numpy
Python version 3.2.3 (default, Apr 23 2012, 23:35:30) [GCC 4.7.0
20120414 (prerelease)]
nose version 1.1.2
....S.................................................................................................................................................................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................SSS...........................................................................................K............................................................................K.............................................................................................................K.................................................................................................K......................K..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../usr/lib/python3.2/site-packages/numpy/lib/format.py:575:
ResourceWarning: unclosed file <_io.BufferedReader
name='/tmp/tmpmkxhkq'>
  mode=mode, offset=offset)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................/usr/lib/python3.2/subprocess.py:471:
ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb'>
  return Popen(*popenargs, **kwargs).wait()
/usr/lib/python3.2/subprocess.py:471: ResourceWarning: unclosed file
<_io.FileIO name=7 mode='rb'>
  return Popen(*popenargs, **kwargs).wait()
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...................................................................................................................
======================================================================
FAIL: test_kind.TestKind.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3.2/site-packages/numpy/f2py/tests/test_kind.py",
line 30, in test_all
    'selectedrealkind(%s): expected %r but got %r' %  (i,
selected_real_kind(i), selectedrealkind(i)))
  File "/usr/lib/python3.2/site-packages/numpy/testing/utils.py", line
34, in assert_
    raise AssertionError(msg)
AssertionError: selectedrealkind(19): expected -1 but got 16

======================================================================
FAIL: test_pareto (test_random.TestRandomDist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.2/site-packages/numpy/random/tests/test_random.py",
line 313, in test_pareto
    np.testing.assert_array_almost_equal(actual, desired, decimal=15)
  File "/usr/lib/python3.2/site-packages/numpy/testing/utils.py", line
800, in assert_array_almost_equal
    header=('Arrays are not almost equal to %d decimals' % decimal))
  File "/usr/lib/python3.2/site-packages/numpy/testing/utils.py", line
636, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 15 decimals

(mismatch 16.66666666666667%)
 x: array([[  2.46852460e+03,   1.41286881e+03],
       [  5.28287797e+07,   6.57720981e+07],
       [  1.40840323e+02,   1.98390255e+05]])
 y: array([[  2.46852460e+03,   1.41286881e+03],
       [  5.28287797e+07,   6.57720981e+07],
       [  1.40840323e+02,   1.98390255e+05]])

----------------------------------------------------------------------
Ran 3559 tests in 63.970s

FAILED (KNOWNFAIL=5, SKIP=5, failures=2)



On Sat, May 5, 2012 at 8:45 PM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
>
>
> On Sat, May 5, 2012 at 12:15 PM, Ralf Gommers <ralf.gommers at googlemail.com>
> wrote:
>>
>> Hi,
>>
>> I'm pleased to announce the availability of the first release candidate of
>> NumPy 1.6.2.  This is a maintenance release. Due to the delay of the NumPy
>> 1.7.0, this release contains far more fixes than a regular NumPy bugfix
>> release.  It also includes a number of documentation and build improvements.
>>
>> Sources and binary installers can be found at
>> https://sourceforge.net/projects/numpy/files/NumPy/1.6.2rc1/
>>
>> Please test this release and report any issues on the numpy-discussion
>> mailing list.
>>
>> Cheers,
>> Ralf
>>



More information about the NumPy-Discussion mailing list