From 62a1b7ff616e60b06dcc5b9cd8a7903899253e3a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jan 2025 13:06:14 +0100 Subject: [PATCH] python312Packages.pywaze: migrate to pytest-cov-stub --- pkgs/development/python-modules/pywaze/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pywaze/default.nix b/pkgs/development/python-modules/pywaze/default.nix index 298244f84777..625c1f4d3b7f 100644 --- a/pkgs/development/python-modules/pywaze/default.nix +++ b/pkgs/development/python-modules/pywaze/default.nix @@ -5,6 +5,7 @@ hatchling, httpx, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, respx, @@ -24,17 +25,13 @@ buildPythonPackage rec { hash = "sha256-XE+VdxUjq8KBSIU6rUlBweKEkZD3gqJuy9J4u9JVy7Q="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "--cov --cov-report term-missing --cov=src/pywaze " "" - ''; - build-system = [ hatchling ]; dependencies = [ httpx ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook respx ];