FTBFS due to test failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cython (Debian) |
Fix Released
|
Unknown
|
|||
cython (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
cython fails to build in precise. full build log available here:
The failure is specifically in the test suite:
=======
FAIL: test (line 1) (dict_getitem.
Doctest: dict_getitem.
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for dict_getitem.
File "/build/
-------
File "/build/
Failed example:
test(None, 1) # doctest: +ELLIPSIS
Expected:
Traceback (most recent call last):
TypeError: ...subscriptable...
Got:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest dict_getitem.
test(None, 1) # doctest: +ELLIPSIS
File "dict_getitem.pyx", line 26, in dict_getitem.test (dict_getitem.
TypeError: 'NoneType' object has no attribute '__getitem__'
=======
FAIL: test (line 1) (dict_getitem.
Doctest: dict_getitem.
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for dict_getitem.
File "/build/
-------
File "/build/
Failed example:
test(None, 1) # doctest: +ELLIPSIS
Expected:
Traceback (most recent call last):
TypeError: ...subscriptable...
Got:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest dict_getitem.
test(None, 1) # doctest: +ELLIPSIS
File "dict_getitem.pyx", line 26, in dict_getitem.test (dict_getitem.
TypeError: 'NoneType' object has no attribute '__getitem__'
=======
FAIL: index ()
Doctest: index
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for index
File "/build/
-------
File "/build/
Failed example:
index_
Expected:
Traceback (most recent call last):
...
TypeError: 'int' object is not subscriptable
Got:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest index[0]>", line 1, in <module>
File "index.pyx", line 65, in index.index_object (index.c:915)
TypeError: 'int' object has no attribute '__getitem__'
=======
FAIL: index ()
Doctest: index
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for index
File "/build/
-------
File "/build/
Failed example:
index_
Expected:
Traceback (most recent call last):
...
TypeError: 'int' object is not subscriptable
Got:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest index[0]>", line 1, in <module>
File "index.pyx", line 65, in index.index_object (index.cpp:915)
TypeError: 'int' object has no attribute '__getitem__'
I have verified this in a from-upstream-
Note too that it makes no difference if I comment out the Scriptable cdef class in dict_getitem.pyx. I can't actually tell what this class is supposed to do, but it makes no difference to the test failure. Next up, I'll try the same thing on precise with a from-source build of Python 2.7 and 2.7.
Related branches
Changed in cython (Debian): | |
status: | Unknown → New |
Changed in cython (Debian): | |
status: | New → Fix Released |
Same failure occurs in a Python 2.7 built from the Mercurial source on Precise.