Commit 744cdd3a authored by Bruno BELANYI's avatar Bruno BELANYI
Browse files

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.
parent f2d6ae2e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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
  ];