Commit 3b2f24a6 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python312Packages.oauthenticator: migrate to pytest-cov-stub

parent 21b691ff
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  mwoauth,
  pyjwt,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  requests,
  requests-mock,
@@ -31,11 +32,6 @@ buildPythonPackage rec {
    hash = "sha256-gFhhOCcmorkrLxrup9fICh5ueCrc64fxfuZXTQG1tMk=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail " --cov=oauthenticator" ""
  '';

  build-system = [ setuptools ];

  dependencies = [
@@ -58,6 +54,7 @@ buildPythonPackage rec {

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