From cdd5740b0dca53e7f06c7be4387ad3b9ae8cac7e Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:20 +0200 Subject: [PATCH] luddite: migrate to pytest-cov-stub --- pkgs/development/python-modules/luddite/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/luddite/default.nix b/pkgs/development/python-modules/luddite/default.nix index 5a421d68218a..a41e37244d66 100644 --- a/pkgs/development/python-modules/luddite/default.nix +++ b/pkgs/development/python-modules/luddite/default.nix @@ -5,6 +5,7 @@ setuptools, packaging, pytestCheckHook, + pytest-cov-stub, pytest-mock, }: @@ -22,7 +23,6 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pytest.ini \ - --replace "--cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail" "" \ --replace "--disable-socket" "" ''; @@ -34,6 +34,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub pytest-mock ];