diff --git a/pkgs/development/python-modules/term-image/default.nix b/pkgs/development/python-modules/term-image/default.nix index 04f5070108d4..c69ac8280903 100644 --- a/pkgs/development/python-modules/term-image/default.nix +++ b/pkgs/development/python-modules/term-image/default.nix @@ -21,6 +21,12 @@ buildPythonPackage rec { hash = "sha256-uA04KHKLXW0lx1y5brpCDARLac4/C8VmVinVMkEtTdM="; }; + # Override the overly strict `tool.pytest.ini_options.filterwarnings` + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail '"error"' '#"error"' + ''; + build-system = [ setuptools ];