From 901090877fbfc56c2aedead1d4e15537ba1c5a33 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jan 2025 13:45:14 +0100 Subject: [PATCH] python312Packages.subarulink: migrate to pytest-cov-stub --- pkgs/development/python-modules/subarulink/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/subarulink/default.nix b/pkgs/development/python-modules/subarulink/default.nix index 47918d96bbbb..fc0e7c9d8ece 100644 --- a/pkgs/development/python-modules/subarulink/default.nix +++ b/pkgs/development/python-modules/subarulink/default.nix @@ -5,6 +5,7 @@ cryptography, fetchFromGitHub, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, @@ -35,14 +36,10 @@ buildPythonPackage rec { nativeCheckInputs = [ cryptography pytest-asyncio + pytest-cov-stub pytestCheckHook ]; - postPatch = '' - substituteInPlace setup.cfg \ - --replace "--cov=subarulink" "" - ''; - __darwinAllowLocalNetworking = true; preCheck = ''