[Cython] cython 0.23.4 test failure, async_iter_pep492 (), asyncio_generators, test_async_def_future.py
Hello, Building 0.23.4 fails on ubuntu with python 3.5. Full build log is at: https://launchpadlibrarian.net/228728126/buildlog_ubuntu-xenial-amd64.cython_0.23.4-0ubuntu1_BUILDING.txt.gz First with 2.7, run.asyncio_generators are skipped. Then there is a successful run of asyncio_generators (?!) and then a failed one (?!) The what i think relevant portion of the build log is as follows: async_iter_pep492 () Doctest: async_iter_pep492 ... ok test_aiter_raises (async_iter_pep492) Doctest: async_iter_pep492.test_aiter_raises ... ok test_broken_anext (async_iter_pep492) Doctest: async_iter_pep492.test_broken_anext ... ok test_for_1 (async_iter_pep492) Doctest: async_iter_pep492.test_for_1 ... ok test_for_2 (async_iter_pep492) Doctest: async_iter_pep492.test_for_2 ... ok test_for_3 (async_iter_pep492) Doctest: async_iter_pep492.test_for_3 ... ok test_with_for (async_iter_pep492) Doctest: async_iter_pep492.test_with_for ... ok runTest (__main__.EndToEndTest) End-to-end asyncio_generators ... FAIL runTest (__main__.CythonRunTestCase) compiling (c) and running attr ... attr () Doctest: attr ... /usr/bin/python3.5 test_async_def_future.py Traceback (most recent call last): File "test_async_def_future.py", line 16, in runloop() File "test_async_def_future.py", line 14, in runloop assert events == expected, events AssertionError: ['setup', 'setval', None] ok Any help resolving this would help. Is this a broken python3.5? or cython? or both? -- Regards, Dimitri. ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
Re: [Cython] cython 0.23.4 test failure, async_iter_pep492 (), asyncio_generators, test_async_def_future.py
On 13 January 2016 at 17:50, Orion Poplawski wrote: > Dimitri John Ledkov writes: > >> >> Hello, >> >> Building 0.23.4 fails on ubuntu with python 3.5. >> >> Full build log is at: >> > https://launchpadlibrarian.net/228728126/buildlog_ubuntu-xenial > -amd64.cython_0.23.4-0ubuntu1_BUILDING.txt.gz >> >> The what i think relevant portion of the build log is as follows: >> >> End-to-end asyncio_generators ... FAIL >> runTest (__main__.CythonRunTestCase) >> compiling (c) and running attr ... attr () >> Doctest: attr ... /usr/bin/python3.5 test_async_def_future.py >> >> Traceback (most recent call last): >> File "test_async_def_future.py", line 16, in >> runloop() >> File "test_async_def_future.py", line 14, in runloop >> assert events == expected, events >> AssertionError: ['setup', 'setval', None] >> >> Any help resolving this would help. Is this a broken python3.5? or >> cython? or both? > > We are seeing the same thing building cython 0.23.4 on Fedora rawhide for > python 3.5.1: > > https://kojipkgs.fedoraproject.org//work/tasks/5210/12535210/build.log I've also filed an issue against asyncio module on github, but i was redirected by to cypthon. https://github.com/python/asyncio/issues/308 On Ubuntu / Launchpad this is tracked here https://bugs.launchpad.net/ubuntu/+source/cython/+bug/1526613 Reverting the changes between 3.5.0 and 3.5.1 of the asyncio module alone, makes the cyphon test-suite pass again. But I cannot reproduce the thing being tested in a stand-alone scenario, to validate if it's cython that is depending on undefined behaviour and/or asyncio module has something broken. -- Regards, Dimitri. ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
Re: [Cython] Cython-0.23.4 build failing on gcc6 for upcoming fedora 24
On 5 February 2016 at 12:13, Neal Becker wrote: > Robert Bradshaw wrote: > >> Try this: >> > https://github.com/cython/cython/commit/bd43a6a2c93443792d07caeb9647eab5a75858b7 > > What's the easiest way to grab this in the form of a diff? I don't see > anything in the ui on github to do this (other than cut + paste + manually > edit) > Append .patch to get a wgetable git format-patch formated patch. So: https://github.com/cython/cython/commit/bd43a6a2c93443792d07caeb9647eab5a75858b7.patch Should be what you are after. -- Regards, Dimitri. ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
Re: [Cython] Cython-0.23.4 build failing on gcc6 for upcoming fedora 24
On 6 February 2016 at 17:46, Neal Becker wrote: > Robert Bradshaw 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). >> >> >> On Fri, Feb 5, 2016 at 6:15 PM, Neal Becker >> wrote: >>> Robert Bradshaw wrote: >>> >>>> Oh, I see what the issue is. Sorry. Try this (on top of the previous): >>>> >>> > https://github.com/cython/cython/commit/a2bec15e0db9ebdd22504268c15bfa059b44f72f >>>> >>>> On Fri, Feb 5, 2016 at 6:37 AM, Neal Becker >>>> wrote: >>>>> Dimitri John Ledkov wrote: >>>>> >>>>>> On 5 February 2016 at 12:13, Neal Becker >>>>>> wrote: >>>>>>> Robert Bradshaw wrote: >>>>>>> >>>>>>>> Try this: >>>>>>>> >>>>>>> >>>>> >>> > https://github.com/cython/cython/commit/bd43a6a2c93443792d07caeb9647eab5a75858b7 >>>>>>> >>>>>>> What's the easiest way to grab this in the form of a diff? I don't >>>>>>> see anything in the ui on github to do this (other than cut + paste + >>>>>>> manually edit) >>>>>>> >>>>>> >>>>>> Append .patch to get a wgetable git format-patch formated patch. So: >>>>>> >>>>>> >>>>> >>> > https://github.com/cython/cython/commit/bd43a6a2c93443792d07caeb9647eab5a75858b7.patch >>>>>> >>>>>> Should be what you are after. >>>>>> >>>>> >>>>> Better I suppose, now there is just 1 error: >>>>> >>>>> compiling (cpp) and running complex_numbers_c89_T398 >>>>> >>>>> https://kojipkgs.fedoraproject.org//work/tasks/3468/12893468/build.log >>>>> >>>>> ___ >>>>> cython-devel mailing list >>>>> cython-devel@python.org >>>>> https://mail.python.org/mailman/listinfo/cython-devel >>> >>> Much better, but still 1 more problem: >>> https://kojipkgs.fedoraproject.org//work/tasks/4695/12894695/build.log >>> >>> But it did complete build on my fedora 23 x86_64 laptop, the only diff >>> should be gcc6. > > I disabled tests for python3 again - the async test also failed before. > Maybe something to do with the testing environment. > async tests are failing with async module from python 3.5.1+ In ubuntu, i've disabled just those. Reported both to cython and async upstream. Looks like not fixed yet. -- Regards, Dimitri. ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel