python3Packages.numpy: Disable borked test on ppc64 (#450059)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
# native dependencies
|
||||
blas,
|
||||
coreutils,
|
||||
lapack,
|
||||
|
||||
# Reverse dependency
|
||||
@@ -83,6 +84,10 @@ buildPythonPackage rec {
|
||||
# remove needless reference to full Python path stored in built wheel
|
||||
substituteInPlace numpy/meson.build \
|
||||
--replace-fail 'py.full_path()' "'python'"
|
||||
|
||||
# Test_POWER_Features::test_features - FileNotFoundError: [Errno 2] No such file or directory: '/bin/true'
|
||||
substituteInPlace numpy/_core/tests/test_cpu_features.py \
|
||||
--replace-fail '/bin/true' '${lib.getExe' coreutils "true"}'
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
@@ -161,6 +166,10 @@ buildPythonPackage rec {
|
||||
# AssertionError: (np.int64(0), np.longdouble('9.9999999999999994515e-21'), np.longdouble('3.9696755572509052902e+20'), 'arctanh')
|
||||
"test_loss_of_precision"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [
|
||||
# https://github.com/numpy/numpy/issues/29918
|
||||
"test_sq_cases"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform ? gcc.arch) [
|
||||
# remove if https://github.com/numpy/numpy/issues/27460 is resolved
|
||||
"test_validate_transcendentals"
|
||||
|
||||
Reference in New Issue
Block a user