Unverified Commit 5daca2db authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python312Packages.aiovodafone: migrate to pytest-cov-stub (#371405)

parents 1d9c9c97 faa8c806
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
}:
@@ -23,11 +24,6 @@ buildPythonPackage rec {
    hash = "sha256-aX5VM4f3lZnFgmdm0syubdo3UtMD9/u40djQTo+jgKs=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail " --cov=aiovodafone --cov-report=term-missing:skip-covered" ""
  '';

  build-system = [ poetry-core ];

  dependencies = [
@@ -35,7 +31,10 @@ buildPythonPackage rec {
    beautifulsoup4
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "aiovodafone" ];