summaryrefslogtreecommitdiff
path: root/dev-python/ipython
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-12-26 18:02:30 +0000
committerSam James <sam@gentoo.org>2025-12-26 18:03:41 +0000
commit93ec65e34b8eb9bb55b5049294be3115bef19b83 (patch)
tree1fe7f677fbcdffb1beb31c0533f7cf7572316773 /dev-python/ipython
parent73d9b5e4c6193b730bc45bd8c45c87a85e90dc6e (diff)
downloadgentoo-93ec65e34b8eb9bb55b5049294be3115bef19b83.tar.gz
gentoo-93ec65e34b8eb9bb55b5049294be3115bef19b83.tar.bz2
gentoo-93ec65e34b8eb9bb55b5049294be3115bef19b83.zip
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 <sam@gentoo.org>
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/ipython-9.5.0.ebuild11
-rw-r--r--dev-python/ipython/ipython-9.6.0.ebuild11
-rw-r--r--dev-python/ipython/ipython-9.7.0.ebuild11
-rw-r--r--dev-python/ipython/ipython-9.8.0.ebuild11
4 files changed, 40 insertions, 4 deletions
diff --git a/dev-python/ipython/ipython-9.5.0.ebuild b/dev-python/ipython/ipython-9.5.0.ebuild
index 0794db5af8e5..f869f0b76edf 100644
--- a/dev-python/ipython/ipython-9.5.0.ebuild
+++ b/dev-python/ipython/ipython-9.5.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
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="
@@ -112,6 +112,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}"
}
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}"
}
diff --git a/dev-python/ipython/ipython-9.7.0.ebuild b/dev-python/ipython/ipython-9.7.0.ebuild
index cc5570b3121a..b15ca0e64bf5 100644
--- a/dev-python/ipython/ipython-9.7.0.ebuild
+++ b/dev-python/ipython/ipython-9.7.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}"
}
diff --git a/dev-python/ipython/ipython-9.8.0.ebuild b/dev-python/ipython/ipython-9.8.0.ebuild
index 6996a96f2d89..92e2e6fe4674 100644
--- a/dev-python/ipython/ipython-9.8.0.ebuild
+++ b/dev-python/ipython/ipython-9.8.0.ebuild
@@ -8,7 +8,7 @@ PYPI_VERIFY_REPO=https://github.com/ipython/ipython
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="
@@ -108,6 +108,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}"
}