On Fri, 12 Feb 2016, Stefan Behnel wrote: > >> ====================================================================== > >> FAIL: runTest (__main__.EndToEndTest) > >> End-to-end asyncio_generators > >> ---------------------------------------------------------------------- > >> Traceback (most recent call last): > >> File "runtests.py", line 1417, in runTest > >> self.assertEqual(0, res, "non-zero exit status") > >> AssertionError: 0 != 1 : non-zero exit status > >> ----------------------------------------------------------------------
> >> Not sure about this one (especially why it would be compiler dependent). > > It's not compiler dependent. It's an incompatibility between Cython and > > CPython's asyncio. Might be related to the fact that asyncio's Future is > > both iterable and awaitable. Or something else... I looked into it but > > couldn't figure it out yet. > Found it: > https://github.com/cython/cython/commit/7eed8d8ff9c872bc993a37438beca0f98e3aba38 I saw that one with 0.23.4 so went for that tip 7eed8d8 of 0.23.x and it resolved it for my builds across releases and architectures UNTIL I got this bugreport pointing to failure on hurd which is also accompanied with 2 other errors which seems to do with python's incompatibility itself with hurd. Would those 2 errors lead to the failure of the test in question here? ;) https://buildd.debian.org/status/fetch.php?pkg=cython&arch=hurd-i386&ver=0.23.4%2Bgit4-g7eed8d8-1&stamp=1455917417 ====================================================================== ERROR: test_asyncio_1 (test_coroutines_pep492.CoroAsyncIOCompatTest) ---------------------------------------------------------------------- make[1]: *** [override_dh_auto_test] Error 1 make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 Traceback (most recent call last): File "tests/run/test_coroutines_pep492.pyx", line 1493, in test_coroutines_pep492.CoroAsyncIOCompatTest.test_asyncio_1 (test_coroutines_pep492.c:66658) loop = asyncio.new_event_loop() File "/usr/lib/python3.5/asyncio/events.py", line 636, in new_event_loop return get_event_loop_policy().new_event_loop() File "/usr/lib/python3.5/asyncio/events.py", line 587, in new_event_loop return self._loop_factory() File "/usr/lib/python3.5/asyncio/unix_events.py", line 49, in __init__ super().__init__(selector) File "/usr/lib/python3.5/asyncio/selector_events.py", line 49, in __init__ super().__init__() File "/usr/lib/python3.5/asyncio/base_events.py", line 224, in __init__ self._clock_resolution = time.get_clock_info('monotonic').resolution OSError: [Errno 1073741846] Invalid argument ====================================================================== ERROR: test_asyncio_1 (test_coroutines_pep492.CoroAsyncIOCompatTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/run/test_coroutines_pep492.pyx", line 1493, in test_coroutines_pep492.CoroAsyncIOCompatTest.test_asyncio_1 (test_coroutines_pep492.cpp:66667) loop = asyncio.new_event_loop() File "/usr/lib/python3.5/asyncio/events.py", line 636, in new_event_loop return get_event_loop_policy().new_event_loop() File "/usr/lib/python3.5/asyncio/events.py", line 587, in new_event_loop return self._loop_factory() File "/usr/lib/python3.5/asyncio/unix_events.py", line 49, in __init__ super().__init__(selector) File "/usr/lib/python3.5/asyncio/selector_events.py", line 49, in __init__ super().__init__() File "/usr/lib/python3.5/asyncio/base_events.py", line 224, in __init__ self._clock_resolution = time.get_clock_info('monotonic').resolution OSError: [Errno 1073741846] Invalid argument ====================================================================== FAIL: runTest (__main__.EndToEndTest) End-to-end asyncio_generators ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 1417, in runTest self.assertEqual(0, res, "non-zero exit status") AssertionError: 0 != 1 : non-zero exit status ---------------------------------------------------------------------- Ran 10019 tests in 3019.340s FAILED (failures=1, errors=2) Following tests excluded because of missing dependencies on your system: Cython.Coverage if interested -- there is few other interesting failures for x32 (https://wiki.debian.org/X32Port) port: https://buildd.debian.org/status/fetch.php?pkg=cython&arch=x32&ver=0.23.4%2Bgit4-g7eed8d8-1&stamp=1455910693 -- Yaroslav O. Halchenko Center for Open Neuroscience http://centerforopenneuroscience.org Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel