commit:     6e2a87f8eb86b4e3d9a47f04f343084cdc94b292
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 10:20:13 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 11:00:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2a87f8

dev-python/numpy: Update deselects for x86

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 b2f86a093db9..b6e7c23a9a8e 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 b2c954fbd4cb..342f99c15dfc 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+=(

Reply via email to