python3Packages.execnet: switch to pytestCheckHook
This commit is contained in:
parent
587c074924
commit
b68437e156
|
@ -2,8 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, setuptools_scm
|
, setuptools-scm
|
||||||
, apipkg
|
, apipkg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ buildPythonPackage rec {
|
||||||
sha256 = "cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50";
|
sha256 = "cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
propagatedBuildInputs = [ apipkg ];
|
propagatedBuildInputs = [ apipkg ];
|
||||||
|
|
||||||
# remove vbox tests
|
# remove vbox tests
|
||||||
|
@ -29,15 +29,13 @@ buildPythonPackage rec {
|
||||||
${lib.optionalString isPyPy "rm -v testing/test_multi.py"}
|
${lib.optionalString isPyPy "rm -v testing/test_multi.py"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "execnet" ];
|
||||||
py.test testing
|
|
||||||
'';
|
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Rapid multi-Python deployment";
|
description = "Distributed Python deployment and communication";
|
||||||
license = licenses.gpl2;
|
license = licenses.mit;
|
||||||
homepage = "https://execnet.readthedocs.io/";
|
homepage = "https://execnet.readthedocs.io/";
|
||||||
maintainers = with maintainers; [ nand0p ];
|
maintainers = with maintainers; [ nand0p ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue