| Summary: | dev-python/cython-0.29.14-r1 fails test_copy test with pypy | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | Keywords: | TESTFAILURE |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | cython-0.29.14-r1:20191230-141343.log.gz | ||
|
Description
Paolo Pedroni
2019-12-30 14:19:15 UTC
pypy3 tests fail with:
/usr/bin/pypy3 main.py
Running Python coroutine ...
awaiting:
- this one is from Cython
- and this one is from Python
sleeping:
Traceback (most recent call last):
File "main.py", line 11, in <module>
loop.run_until_complete(main())
File "/usr/lib/pypy3.6/lib-python/3/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/lib/pypy3.6/lib-python/3/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/lib/pypy3.6/lib-python/3/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "main.py", line 7, in main
await cy_test.say()
File "cy_test.pyx", line 9, in say
await cb()
File "cy_test.pyx", line 16, in cb
await asyncio.sleep(0.5)
TypeError: object generator can't be used in 'await' expression
FAIL
runTest (__main__.CythonRunTestCase)
compiling (c) and running py35_pep492_interop ...
=== C/C++ compiler error output: ===
py35_pep492_interop.c:487: warning: "PyObject_Unicode" redefined
487 | #define PyObject_Unicode PyObject_Str
|
In file included from /usr/lib/pypy3.6/include/Python.h:143,
from py35_pep492_interop.c:4:
/usr/lib/pypy3.6/include/pypy_decl.h:677: note: this is the location of the previous definition
677 | #define PyObject_Unicode PyPyObject_Unicode
|
====================================
await_cyobject (py35_pep492_interop)
Doctest: py35_pep492_interop.await_cyobject ... FAIL
await_pyobject (py35_pep492_interop)
Doctest: py35_pep492_interop.await_pyobject ... FAIL
yield_from_cyobject (py35_pep492_interop)
Doctest: py35_pep492_interop.yield_from_cyobject ... FAIL
cpyext: missing slot wrapper wrap_del
RPython traceback:
File "pypy_interpreter.c", line 37198, in BuiltinCode_funcrun_obj
File "pypy_module_cpyext_6.c", line 11846, in wrap_del_call
Fatal RPython error: NotImplementedError
/var/tmp/portage/dev-python/cython-0.29.14-r1/temp/environment: line 3049: 68 Aborted (core dumped) "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests
pypy3 tests fail with:
/usr/bin/pypy3 main.py
Running Python coroutine ...
awaiting:
- this one is from Cython
- and this one is from Python
sleeping:
Traceback (most recent call last):
File "main.py", line 11, in <module>
loop.run_until_complete(main())
File "/usr/lib/pypy3.6/lib-python/3/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/lib/pypy3.6/lib-python/3/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/lib/pypy3.6/lib-python/3/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "main.py", line 7, in main
await cy_test.say()
File "cy_test.pyx", line 9, in say
await cb()
File "cy_test.pyx", line 16, in cb
await asyncio.sleep(0.5)
TypeError: object generator can't be used in 'await' expression
FAIL
runTest (__main__.CythonRunTestCase)
compiling (c) and running py35_pep492_interop ...
=== C/C++ compiler error output: ===
py35_pep492_interop.c:487: warning: "PyObject_Unicode" redefined
487 | #define PyObject_Unicode PyObject_Str
|
In file included from /usr/lib/pypy3.6/include/Python.h:143,
from py35_pep492_interop.c:4:
/usr/lib/pypy3.6/include/pypy_decl.h:677: note: this is the location of the previous definition
677 | #define PyObject_Unicode PyPyObject_Unicode
|
====================================
await_cyobject (py35_pep492_interop)
Doctest: py35_pep492_interop.await_cyobject ... FAIL
await_pyobject (py35_pep492_interop)
Doctest: py35_pep492_interop.await_pyobject ... FAIL
yield_from_cyobject (py35_pep492_interop)
Doctest: py35_pep492_interop.yield_from_cyobject ... FAIL
cpyext: missing slot wrapper wrap_del
RPython traceback:
File "pypy_interpreter.c", line 37198, in BuiltinCode_funcrun_obj
File "pypy_module_cpyext_6.c", line 11846, in wrap_del_call
Fatal RPython error: NotImplementedError
/var/tmp/portage/dev-python/cython-0.29.14-r1/temp/environment: line 3049: 68 Aborted (core dumped) "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests
Closing old cython bugs. |