From 58faee2f3e93d1d6974accfd07fab08db10f2c96 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 4 Jul 2026 10:59:23 +0000 Subject: [PATCH] python3Packages.keras: disable failing test --- pkgs/development/python-modules/keras/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix index 9de28fa56d6d..cfaa0ac635c7 100644 --- a/pkgs/development/python-modules/keras/default.nix +++ b/pkgs/development/python-modules/keras/default.nix @@ -130,6 +130,10 @@ buildPythonPackage (finalAttrs: { ]; disabledTestPaths = [ + # np.cross is deprecated for 2d arrays starting from numpy 2.5.0 + # ValueError: Both input arrays must be (arrays of) 3-dimensional vectors, but they are 3 and 2 dimensional instead + "keras/src/ops/numpy_test.py::NumpyTwoInputOpsCorrectnessTest::test_cross" + # Require unpackaged `grain` "keras/src/layers/preprocessing/data_layer_test.py" "keras/src/layers/preprocessing/discretization_test.py"