From c3685e82ced842cae8bc889a41145e31909effb6 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:20 +0200 Subject: [PATCH] mcstatus: migrate to pytest-cov-stub --- pkgs/development/python-modules/mcstatus/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/mcstatus/default.nix b/pkgs/development/python-modules/mcstatus/default.nix index 92912f5f477a..311caa582bce 100644 --- a/pkgs/development/python-modules/mcstatus/default.nix +++ b/pkgs/development/python-modules/mcstatus/default.nix @@ -8,6 +8,7 @@ poetry-dynamic-versioning, pytest-asyncio, pytest-rerunfailures, + pytest-cov-stub, pytestCheckHook, pythonOlder, }: @@ -26,11 +27,6 @@ buildPythonPackage rec { hash = "sha256-P8Su5P/ztyoXZBVvm5uCMDn4ezeg11oRSQ0QCyIJbVw="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=mcstatus --cov-append --cov-branch --cov-report=term-missing -vvv --no-cov-on-fail" "" - ''; - nativeBuildInputs = [ poetry-core poetry-dynamic-versioning @@ -46,6 +42,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-asyncio pytest-rerunfailures + pytest-cov-stub pytestCheckHook ];