python312Packages.numpy_1: disable failing test

The distutils version vendored in setuptools 74.0 and later does not have
the msvccompiler class any longer.
This commit is contained in:
Martin Weinelt
2024-10-13 11:09:52 +02:00
parent a157d02d69
commit 02b6d9681d
+5 -1
View File
@@ -155,7 +155,11 @@ buildPythonPackage rec {
# https://github.com/numpy/numpy/issues/24548
disabledTests =
lib.optionals stdenv.hostPlatform.isi686 [
[
# Tries to import numpy.distutils.msvccompiler, removed in setuptools 74.0
"test_api_importable"
]
++ lib.optionals stdenv.hostPlatform.isi686 [
"test_new_policy" # AssertionError: assert False
"test_identityless_reduction_huge_array" # ValueError: Maximum allowed dimension exceeded
"test_float_remainder_overflow" # AssertionError: FloatingPointError not raised by divmod