From 067b1c8e5c3310a77e0a38a2e60d5e9b3cb9ecd5 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 24 Apr 2026 07:22:48 +0000 Subject: [PATCH] python3Packages.librosa: skip failing tests on darwin --- pkgs/development/python-modules/librosa/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/librosa/default.nix b/pkgs/development/python-modules/librosa/default.nix index 1efcea26aed9..33f4e1c5c56a 100644 --- a/pkgs/development/python-modules/librosa/default.nix +++ b/pkgs/development/python-modules/librosa/default.nix @@ -41,6 +41,7 @@ buildPythonPackage (finalAttrs: { pname = "librosa"; version = "0.11.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "librosa"; @@ -112,6 +113,11 @@ buildPythonPackage (finalAttrs: { "test_unknown_axis" "test_axis_bound_warning" "test_auto_aspect" + + # audioread.exceptions.NoBackendError + "test_get_duration_audioread" + "test_get_samplerate_audioread" + "test_load_force_audioread" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ # AssertionError (numerical comparison fails)