On Sat, Dec 11, 2010 at 1:44 PM, Arfrever Frehtes Taifersar Arahesis
<[email protected]> wrote:
> 2010-12-11 12:01:11 Robert Bradshaw napisał(a):
>> Release candidate up at
>> http://cython.org/release/Cython-0.14.rc0.tar.gz . Unless something
>> bad is discovered, this will be the release sometime early next week.
>
> Some tests fail.
>
> Test failures with Python 2.6 (the same tests fail with Python 2.7):

[...]

Not sue what's up with all these numpy errors, but many (not all) of
them look like a change in formatting of error messages. The basic
functionality still seems to be passing--does anyone know if this is a
regression?

> Test failures with Python 3.1 (the same tests fail with Python 3.2):
>
> ======================================================================
> ERROR: test_globals (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 32, in test_globals
>    self.assertEquals(inline("return global_value + 1", **test_kwds), 
> global_value + 1)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_locals (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 29, in test_locals
>    self.assertEquals(inline("return a+b", **test_kwds), 3)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_numpy (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 41, in test_numpy
>    self.assertEquals(inline("return a[0,0]", a=a, **test_kwds), 10.0)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_simple (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 18, in test_simple
>    self.assertEquals(inline("return 1+2", **test_kwds), 3)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_types (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 24, in test_types
>    """, a=1.0, b=[], **test_kwds), ('double', 'list object'))
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'

OK, I've fixed these ones. Can you try out the latest tip?

> ======================================================================
> ERROR: compiling (c) and running numpy_bufacc_T155
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != "10:9: 'ndarray' is not a type identifier"

[...]

Looks like somehow it's not finding numpy.pxid?

- Robert
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to