From f0f6a526c232b62c28feb727344d9c91c18a8030 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 14 Apr 2026 20:35:38 +0200 Subject: [PATCH] python3Packages.static3: migrate to pytest-cov-stub --- pkgs/development/python-modules/static3/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/static3/default.nix b/pkgs/development/python-modules/static3/default.nix index a834bc313453..45de611df216 100644 --- a/pkgs/development/python-modules/static3/default.nix +++ b/pkgs/development/python-modules/static3/default.nix @@ -8,6 +8,7 @@ # tests pytestCheckHook, + pytest-cov-stub, webtest, }: @@ -23,11 +24,6 @@ buildPythonPackage rec { hash = "sha256-uFgv+57/UZs4KoOdkFxbvTEDQrJbb0iYJ5JoWWN4yFY="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace ", 'pytest-cov'" "" - ''; - optional-dependencies = { KidMagic = [ # TODO: kid @@ -39,6 +35,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub webtest ] ++ lib.concatAttrValues optional-dependencies;