From 28c826e18de846321a506e1b78dae28dba12f0dd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jan 2025 12:56:47 +0100 Subject: [PATCH] python312Packages.pymodbus: migrate to pytest-cov-stub --- pkgs/development/python-modules/pymodbus/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pymodbus/default.nix b/pkgs/development/python-modules/pymodbus/default.nix index e578acdeb8a7..c0bd05357cc2 100644 --- a/pkgs/development/python-modules/pymodbus/default.nix +++ b/pkgs/development/python-modules/pymodbus/default.nix @@ -8,6 +8,7 @@ pygments, pyserial, pytest-asyncio, + pytest-cov-stub, pytest-xdist, pytestCheckHook, pythonOlder, @@ -32,11 +33,6 @@ buildPythonPackage rec { hash = "sha256-WuQddane7NPqGo6EHBPlFAZDmkcksDdWmHKdVSsSf+o="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "--cov-report html " "" - ''; - build-system = [ setuptools ]; optional-dependencies = { @@ -52,6 +48,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytest-xdist pytestCheckHook redis