From 93ec65e34b8eb9bb55b5049294be3115bef19b83 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 26 Dec 2025 18:02:30 +0000 Subject: dev-python/ipython: skip monkeypatching tests on 32-bit Bug: https://github.com/ipython/ipython/issues/15107 Bug: https://bugs.gentoo.org/960433 Signed-off-by: Sam James --- dev-python/ipython/ipython-9.6.0.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dev-python/ipython/ipython-9.6.0.ebuild') diff --git a/dev-python/ipython/ipython-9.6.0.ebuild b/dev-python/ipython/ipython-9.6.0.ebuild index 47e7db9eb131..c5c99f355707 100644 --- a/dev-python/ipython/ipython-9.6.0.ebuild +++ b/dev-python/ipython/ipython-9.6.0.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) PYTHON_REQ_USE='readline(+),sqlite,threads(+)' -inherit distutils-r1 optfeature pypi virtualx +inherit distutils-r1 optfeature toolchain-funcs pypi virtualx DESCRIPTION="Advanced interactive shell for Python" HOMEPAGE=" @@ -107,6 +107,15 @@ python_test() { ;; esac + if [[ $(tc-get-ptr-size) == 4 ]] ; then + EPYTEST_DESELECT+=( + # https://github.com/ipython/ipython/issues/15107 + IPython/extensions/ipython_tests/test_deduperreload.py::DecoratorPatchingSuite::test_function_decorator_from_other_module + IPython/extensions/ipython_tests/test_deduperreload.py::DecoratorPatchingSuite::test_function_decorators + IPython/extensions/tests/test_deduperreload.py::DecoratorPatchingSuite::test_method_decorator + ) + fi + # nonfatal implied by virtx nonfatal epytest || die "Tests failed on ${EPYTHON}" } -- cgit v1.2.3