python3Packages.pytest-notebook: don't depend on coverage (#463611)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user