From 63cd92dfd8df6390d7a46425f85f3880249864e0 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 05:56:28 +0200 Subject: [PATCH] python313Packages.jsonschema-spec: migrate to pytest-cov-stub --- pkgs/development/python-modules/jsonschema-spec/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jsonschema-spec/default.nix b/pkgs/development/python-modules/jsonschema-spec/default.nix index eb6bb1030e62..1358e9282ed2 100644 --- a/pkgs/development/python-modules/jsonschema-spec/default.nix +++ b/pkgs/development/python-modules/jsonschema-spec/default.nix @@ -15,6 +15,7 @@ # tests pytestCheckHook, + pytest-cov-stub, responses, }: @@ -33,8 +34,6 @@ buildPythonPackage rec { }; postPatch = '' - sed -i "/^--cov/d" pyproject.toml - substituteInPlace pyproject.toml \ --replace 'referencing = ">=0.28.0,<0.30.0"' 'referencing = ">=0.28.0"' ''; @@ -54,6 +53,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub responses ];