From 43bfa3ff3b249dc519578e322ffa7e8446cc9d1a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 28 Jun 2026 19:57:00 +0200 Subject: [PATCH] python3Packages.librosa: disable failing tests The display tests compare images rendered and expect them to be within a certain tolerance. With matplotlib 3.11.0 this tolerance gets exceeded. --- pkgs/development/python-modules/librosa/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/librosa/default.nix b/pkgs/development/python-modules/librosa/default.nix index 33f4e1c5c56a..7b8a5cf6a795 100644 --- a/pkgs/development/python-modules/librosa/default.nix +++ b/pkgs/development/python-modules/librosa/default.nix @@ -143,6 +143,11 @@ buildPythonPackage (finalAttrs: { "test_resample_stereo" ]; + disabledTestPaths = [ + # matplotlib 3.11 exceeds tolerances for image comparison + "tests/test_display.py" + ]; + meta = { description = "Python library for audio and music analysis"; homepage = "https://github.com/librosa/librosa";