python3Packages.term-image: disable warnings

The package is currently failing to build due to its pytest
configuration erroring out on deprecation warnings.

Override this behaviour by disabling the `warnings` plug-in entirely.
This commit is contained in:
Bruno BELANYI
2026-01-30 17:21:26 +01:00
parent f2d6ae2efa
commit 744cdd3a3a
@@ -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
];