From 41dfd84a3afa971d14f074e1ee86c3cedb100c6e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 21 Apr 2025 11:29:40 +0200 Subject: [PATCH] python312Packages.equinox: disable failing test https://github.com/patrick-kidger/equinox/issues/1008 --- .../development/python-modules/equinox/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/equinox/default.nix b/pkgs/development/python-modules/equinox/default.nix index 0b99125f4fc1..e6b3f9f6f108 100644 --- a/pkgs/development/python-modules/equinox/default.nix +++ b/pkgs/development/python-modules/equinox/default.nix @@ -56,10 +56,16 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ - # SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated! - "test_filter" - ]; + disabledTests = + [ + # AssertionError: assert '.f>' == '' + # https://github.com/patrick-kidger/equinox/issues/1008 + "test_function" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated! + "test_filter" + ]; pythonImportsCheck = [ "equinox" ];