commit: 7e815626d7b8d512e61645677d04dcdcd81997c1 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Apr 16 14:47:57 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Apr 16 14:53:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e815626
dev-python/ipython: Fix asyncio-related test failures Closes: https://bugs.gentoo.org/928411 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/ipython/ipython-8.23.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/ipython/ipython-8.23.0.ebuild b/dev-python/ipython/ipython-8.23.0.ebuild index 7b1c23226c31..aa975d4a0a8f 100644 --- a/dev-python/ipython/ipython-8.23.0.ebuild +++ b/dev-python/ipython/ipython-8.23.0.ebuild @@ -51,6 +51,7 @@ BDEPEND=" dev-python/matplotlib-inline[${PYTHON_USEDEP}] dev-python/pickleshare[${PYTHON_USEDEP}] <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] ) @@ -136,7 +137,8 @@ python_test() { # nonfatal implied by virtx local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest || die "Tests failed with ${EPYTHON}" + nonfatal epytest -p asyncio --asyncio-mode=auto || + die "Tests failed on ${EPYTHON}" } python_install() {
