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 ];