From b7ec7a65cc55f3f4665c74eaed5b773c564ab466 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:21 +0200 Subject: [PATCH] python313Packages.configupdater: migrate to pytest-cov-stub --- .../python-modules/configupdater/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/configupdater/default.nix b/pkgs/development/python-modules/configupdater/default.nix index 9e052140d48f..4abf86805d36 100644 --- a/pkgs/development/python-modules/configupdater/default.nix +++ b/pkgs/development/python-modules/configupdater/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchPypi, pytestCheckHook, + pytest-cov-stub, setuptools-scm, }: @@ -17,16 +18,14 @@ buildPythonPackage rec { hash = "sha256-n9rFODHBsGKSm/OYtkm4fKMOfxpzXz+/SCBygEEGMGs="; }; - postPatch = '' - substituteInPlace setup.cfg \ - --replace '--cov configupdater --cov-report term-missing' "" - ''; - nativeBuildInputs = [ setuptools-scm ]; pythonImportsCheck = [ "configupdater" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pytest-cov-stub + ]; meta = with lib; { description = "Parser like ConfigParser but for updating configuration files";