From bcb8ca139a5d92cfe0d0c8271eafc7a3f275225b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 15 Dec 2024 12:20:01 +0100 Subject: [PATCH] python312Packages.oralb-ble: migrate to pytest-cov-stub --- pkgs/development/python-modules/oralb-ble/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/oralb-ble/default.nix b/pkgs/development/python-modules/oralb-ble/default.nix index 8a8b82ff9ef3..22498f872d6d 100644 --- a/pkgs/development/python-modules/oralb-ble/default.nix +++ b/pkgs/development/python-modules/oralb-ble/default.nix @@ -9,6 +9,7 @@ home-assistant-bluetooth, poetry-core, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, }: @@ -27,11 +28,6 @@ buildPythonPackage rec { hash = "sha256-e6L8HXpqOAHnEktIJ1N1atC5QXno669W3c/S7cISa48="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail " --cov=oralb_ble --cov-report=term-missing:skip-covered" "" - ''; - build-system = [ poetry-core ]; dependencies = [ @@ -44,6 +40,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ];