mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user