From 478eee30aff6d02872ede4e331a07a6375d1ae41 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 3 Oct 2025 14:02:50 -0700 Subject: [PATCH] beets: fix disabled test list on Linux --- pkgs/tools/audio/beets/common.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix index e5f60e321390..2fee2461ab53 100644 --- a/pkgs/tools/audio/beets/common.nix +++ b/pkgs/tools/audio/beets/common.nix @@ -173,6 +173,20 @@ python3Packages.buildPythonApplication { # raise Empty # _queue.Empty "test/plugins/test_bpd.py" + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + # fail on Hydra with `RuntimeError: image cannot be obtained without artresizer backend` + "test/plugins/test_art.py::AlbumArtOperationConfigurationTest::test_enforce_ratio" + "test/plugins/test_art.py::AlbumArtOperationConfigurationTest::test_enforce_ratio_with_percent_margin" + "test/plugins/test_art.py::AlbumArtOperationConfigurationTest::test_enforce_ratio_with_px_margin" + "test/plugins/test_art.py::AlbumArtOperationConfigurationTest::test_minwidth" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_deinterlaced" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_deinterlaced_and_resized" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_file_not_resized" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_file_resized" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_file_resized_and_scaled" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_file_resized_but_not_scaled" + "test/plugins/test_art.py::AlbumArtPerformOperationTest::test_resize" ]; disabledTests = disabledTests ++ [ # https://github.com/beetbox/beets/issues/5880