python310Packages.papermill: convert to pytestCheckHook, remove pytest-cov, black
This commit is contained in:
parent
065eee5e2f
commit
b68f511512
|
@ -15,11 +15,9 @@
|
||||||
, entrypoints
|
, entrypoints
|
||||||
, tenacity
|
, tenacity
|
||||||
, futures ? null
|
, futures ? null
|
||||||
, black
|
|
||||||
, backports_tempfile
|
, backports_tempfile
|
||||||
, isPy27
|
, isPy27
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytest-cov
|
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -46,20 +44,18 @@ buildPythonPackage rec {
|
||||||
requests
|
requests
|
||||||
entrypoints
|
entrypoints
|
||||||
tenacity
|
tenacity
|
||||||
black
|
|
||||||
] ++ lib.optionals isPy27 [
|
] ++ lib.optionals isPy27 [
|
||||||
futures
|
futures
|
||||||
backports_tempfile
|
backports_tempfile
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytest-cov
|
|
||||||
pytest-mock
|
pytest-mock
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
preCheck = ''
|
||||||
HOME=$(mktemp -d) pytest
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# the test suite depends on cloud resources azure/aws
|
# the test suite depends on cloud resources azure/aws
|
||||||
|
|
Loading…
Reference in a new issue