From 6e2a87f8eb86b4e3d9a47f04f343084cdc94b292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 1 Nov 2024 11:20:13 +0100 Subject: [PATCH] dev-python/numpy: Update deselects for x86 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/numpy/numpy-2.0.2-r1.ebuild | 11 ++++++++++- dev-python/numpy/numpy-2.1.2.ebuild | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/dev-python/numpy/numpy-2.0.2-r1.ebuild b/dev-python/numpy/numpy-2.0.2-r1.ebuild index b2f86a093db90..b6e7c23a9a8ed 100644 --- a/dev-python/numpy/numpy-2.0.2-r1.ebuild +++ b/dev-python/numpy/numpy-2.0.2-r1.ebuild @@ -95,7 +95,6 @@ python_test() { typing/tests/test_typing.py # Uses huge amount of memory core/tests/test_mem_overlap.py - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' ) if [[ $(uname -m) == armv8l ]]; then @@ -105,6 +104,16 @@ python_test() { ) fi + case ${ARCH} in + x86) + EPYTEST_DESELECT+=( + # require too much memory + '_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + '_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + esac + case ${EPYTHON} in python3.13) EPYTEST_DESELECT+=( diff --git a/dev-python/numpy/numpy-2.1.2.ebuild b/dev-python/numpy/numpy-2.1.2.ebuild index b2c954fbd4cb1..342f99c15dfc1 100644 --- a/dev-python/numpy/numpy-2.1.2.ebuild +++ b/dev-python/numpy/numpy-2.1.2.ebuild @@ -90,7 +90,6 @@ python_test() { numpy/typing/tests/test_typing.py # Uses huge amount of memory numpy/core/tests/test_mem_overlap.py - 'numpy/core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' ) if [[ $(uname -m) == armv8l ]]; then @@ -100,6 +99,16 @@ python_test() { ) fi + case ${ARCH} in + x86) + EPYTEST_DESELECT+=( + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + esac + case ${EPYTHON} in python3.13) EPYTEST_DESELECT+=(