Commit 27950cb6 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python312Packages.githubkit: migrate to pytest-cov-stub

parent 3c6148f5
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  poetry-core,
  pydantic,
  pyjwt,
  pytest-cov-stub,
  pytest-xdist,
  pytestCheckHook,
  pythonOlder,
@@ -28,11 +29,6 @@ buildPythonPackage rec {
    hash = "sha256-bh01m/L1ubQGc4EoHw8If/6yF64M5CsifSwVezZjFDQ=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "--cov=githubkit --cov-append --cov-report=term-missing" ""
  '';

  pythonRelaxDeps = [ "hishel" ];

  build-system = [ poetry-core ];
@@ -61,6 +57,7 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov-stub
    pytest-xdist
  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);