Unverified Commit 0574641c authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pytest-notebook: don't depend on coverage (#463611)

parents 7b56c8b8 f07ec348
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@

  # tests
  black,
  coverage,
  ipykernel,
  pytest-cov-stub,
  pytest-regressions,
@@ -39,6 +38,12 @@ buildPythonPackage rec {
    hash = "sha256-LoK0wb7rAbVbgyURCbSfckWvJDef3tPY+7V4YU1IBRU=";
  };

  postPatch = ''
    # we disable the tests relying on coverage for unrelated reasons
    substituteInPlace tests/test_execution.py \
      --replace-fail "from coverage import CoverageData" ""
  '';

  build-system = [
    flit-core
  ];
@@ -62,7 +67,6 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    black
    coverage
    ipykernel
    pytest-cov-stub
    pytest-regressions