beets: disable a failing test.

+11
+2
pkgs/tools/audio/beets/common.nix
··· 26 26 , extraPatches ? [ ] 27 27 , pluginOverrides ? { } 28 28 , disableAllPlugins ? false 29 + , disabledTests ? [] 29 30 30 31 # tests 31 32 , runCommand ··· 101 102 ] ++ pluginWrapperBins; 102 103 103 104 disabledTestPaths = lib.flatten (attrValues (lib.mapAttrs (n: v: v.testPaths ++ [ "test/test_${n}.py" ]) disabledPlugins)); 105 + inherit disabledTests; 104 106 105 107 # Perform extra "sanity checks", before running pytest tests. 106 108 preCheck = ''
+9
pkgs/tools/audio/beets/default.nix
··· 45 45 # https://github.com/beetbox/beets/pull/4868, which doesn't apply now 46 46 ./patches/fix-pillow10-compat.patch 47 47 ]; 48 + disabledTests = [ 49 + # This issue is present on this version alone, and can be removed on the 50 + # next stable version version bump. Since this is fixed in branch master, 51 + # we don't have a bug ticket open for this. As of writing, it also seems 52 + # hard to find a patch that can be backported to v1.6.0 that would fix 53 + # the failure, as the master branch has gone through too many changes 54 + # now. 55 + "test_get_single_item_by_path" 56 + ]; 48 57 }; 49 58 50 59 beets-minimal = self.beets.override { disableAllPlugins = true; };