python311Packages.imagededup: fix pytest7 by ignoring warnings

This commit is contained in:
Felix Buehler 2024-04-27 21:20:00 +02:00
parent 19081514c2
commit 1e99ef5ee6

View file

@ -14,6 +14,7 @@
, torch
, torchvision
, tqdm
, fetchpatch
}:
let
MobileNetV3 = fetchurl {
@ -77,6 +78,15 @@ buildPythonPackage rec {
"imagededup"
];
patches = [
# https://github.com/idealo/imagededup/pull/217
(fetchpatch {
name = "pytest-warnings-none.patch";
url = "https://github.com/idealo/imagededup/commit/e2d7a21568e3115acd0632af569549c511ad5c0d.patch";
hash = "sha256-AQwJpU3Ag6ONRAw0z8so5icW4fRpMHuBOMT5X+HsQ2w=";
})
];
meta = with lib; {
homepage = "https://idealo.github.io/imagededup/";
changelog = "https://github.com/idealo/imagededup/releases/tag/${src.rev}";