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