Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928411

Summary: dev-python/ipython-8.23.0 fails tests: FAILED test_magic.py::test_script_bg_out - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel..
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/pytest-dev/pytest-asyncio/issues/810
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-04-02 07:11:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/ipython-8.23.0 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-02 07:11:07 UTC
Created attachment 889241 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-02 07:11:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED IPython/core/tests/test_magic.py::test_script_bg_err - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED IPython/core/tests/test_magic.py::test_script_bg_out - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED IPython/core/tests/test_magic.py::test_script_bg_out_err - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED IPython/core/tests/test_magic.py::test_script_bg_proc - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED IPython/terminal/tests/test_shortcuts.py::test_navigable_provider - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED IPython/terminal/tests/test_shortcuts.py::test_navigable_provider_multiline_entries - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
IPython/core/tests/test_interactiveshell.py::TestAstTransformError::test_unregistering PASSED [ 742/1430]
IPython/core/tests/test_magic.py::test_script_bg_err FAILED         [ 850/1430]
IPython/core/tests/test_magic.py::test_script_bg_out FAILED         [ 849/1430]
IPython/core/tests/test_magic.py::test_script_bg_out_err FAILED     [ 851/1430]
IPython/core/tests/test_magic.py::test_script_bg_proc FAILED        [ 852/1430]
IPython/terminal/tests/test_shortcuts.py::test_navigable_provider FAILED [1182/1430]
IPython/terminal/tests/test_shortcuts.py::test_navigable_provider_multiline_entries FAILED [1183/1430]
IPython/utils/tests/test_pycolorize.py::test_parse_error[LightBG] PASSED [1372/1430]
IPython/utils/tests/test_pycolorize.py::test_parse_error[Linux] PASSED [1368/1430]
IPython/utils/tests/test_pycolorize.py::test_parse_error[Neutral] PASSED [1374/1430]
IPython/utils/tests/test_pycolorize.py::test_parse_error[NoColor] PASSED [1370/1430]
SKIPPED [1] IPython/lib/tests/test_pretty.py:147: could not import 'xxlimited_35': No module named 'xxlimited_35'
Comment 3 Larry the Git Cow gentoo-dev 2024-04-16 14:53:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e815626d7b8d512e61645677d04dcdcd81997c1

commit 7e815626d7b8d512e61645677d04dcdcd81997c1
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-16 14:47:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-16 14:53:06 +0000

    dev-python/ipython: Fix asyncio-related test failures
    
    Closes: https://bugs.gentoo.org/928411
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/ipython/ipython-8.23.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)