From e963732983ed5ec07fde3516f4b50b6db007065f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 10 Feb 2025 09:48:49 -0800 Subject: [PATCH] python313Packages.holoviews: fix tests --- pkgs/development/python-modules/holoviews/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/holoviews/default.nix b/pkgs/development/python-modules/holoviews/default.nix index 6b9fb81cb3d4..15c610848a87 100644 --- a/pkgs/development/python-modules/holoviews/default.nix +++ b/pkgs/development/python-modules/holoviews/default.nix @@ -18,7 +18,7 @@ # tests pytestCheckHook, - pytest-cov, + pytest-asyncio, flaky, }: @@ -34,6 +34,11 @@ buildPythonPackage rec { hash = "sha256-KdGDBF+vo9hG3tqZnZaHuZuKvcGowGcS5Ur6V2uwKz4="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace '"ignore:No data was collected:coverage.exceptions.CoverageWarning",' "" + ''; + build-system = [ hatch-vcs hatchling @@ -50,7 +55,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - pytest-cov + pytest-asyncio flaky ];