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

René Dudfield renesd@gmail....
Mon Oct 25 11:35:50 CDT 2010


hi,

this is another instance of a bug caused by the 'no old file handling'
problem with distutils/numpy.


On Sun, Oct 24, 2010 at 4:29 PM, Charles R Harris <charlesr.harris@gmail.com
> wrote:

>
>
> On Sun, Oct 24, 2010 at 9:22 AM, Darren Dale <dsdale24@gmail.com> wrote:
>
>> On Sun, Oct 17, 2010 at 7:35 AM, Ralf Gommers
>> <ralf.gommers@googlemail.com> wrote:
>> > Hi,
>> >
>> > I am pleased to announce the availability of the first release
>> > candidate of NumPy 1.5.1. This is a bug-fix release with no new
>> > features compared to 1.5.0.
>> [...]
>> > Please report any other issues on the Numpy-discussion mailing list.
>>
>> Just installed on kubuntu-10.10, python-2.7 and python-3.1.2. Tests
>> look fine for py2.7, but I see datetime errors with py3k:
>>
>> .
>> ======================================================================
>> ERROR: test_creation (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 10, in test_creation
>>    dt1 = np.dtype('M8[750%s]'%unit)
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_creation_overflow (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 62, in test_creation_overflow
>>    timesteps = np.array([date], dtype='datetime64[s]')[0].astype(np.int64)
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_as (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 58, in test_divisor_conversion_as
>>    self.assertRaises(ValueError, lambda : np.dtype('M8[as/10]'))
>>  File "/usr/lib/python3.1/unittest.py", line 589, in assertRaises
>>    callableObj(*args, **kwargs)
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 58, in <lambda>
>>    self.assertRaises(ValueError, lambda : np.dtype('M8[as/10]'))
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_bday (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 32, in test_divisor_conversion_bday
>>    assert np.dtype('M8[B/12]') == np.dtype('M8[2h]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_day (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 37, in test_divisor_conversion_day
>>    assert np.dtype('M8[D/12]') == np.dtype('M8[2h]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_fs (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 54, in test_divisor_conversion_fs
>>    assert np.dtype('M8[fs/100]') == np.dtype('M8[10as]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_hour (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 42, in test_divisor_conversion_hour
>>    assert np.dtype('m8[h/30]') == np.dtype('m8[2m]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_minute (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 46, in test_divisor_conversion_minute
>>    assert np.dtype('m8[m/30]') == np.dtype('m8[2s]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_month (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 21, in test_divisor_conversion_month
>>    assert np.dtype('M8[M/2]') == np.dtype('M8[2W]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_second (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 50, in test_divisor_conversion_second
>>    assert np.dtype('m8[s/100]') == np.dtype('m8[10ms]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_week (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 26, in test_divisor_conversion_week
>>    assert np.dtype('m8[W/5]') == np.dtype('m8[B]')
>> TypeError: data type not understood
>>
>> ======================================================================
>> ERROR: test_divisor_conversion_year (test_datetime.TestDateTime)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File
>> "/home/darren/.local/lib/python3.1/site-packages/numpy/core/tests/test_datetime.py",
>> line 16, in test_divisor_conversion_year
>>    assert np.dtype('M8[Y/4]') == np.dtype('M8[3M]')
>> TypeError: data type not understood
>>
>> ----------------------------------------------------------------------
>> Ran 3061 tests in 19.197s
>>
>> FAILED (KNOWNFAIL=5, SKIP=4, errors=12)
>> <nose.result.TextTestResult run=3061 errors=12 failures=0>
>> ____
>
>
> You may have left over tests in the installation directory. Can you try
> deleting it and installing again?
>
> Chuck
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101025/627cc2f7/attachment.html 


More information about the NumPy-Discussion mailing list