15 buildPythonPackage rec {
16 pname = "pytest-xdist";
18 disabled = pythonOlder "3.6";
21 inherit pname version;
22 sha256 = "sha256-RYDeyj/wTdsqxT66Oddstd1e3qwFDLb7x2iw3XErTt8=";
25 nativeBuildInputs = [ setuptools-scm ];
29 checkInputs = [ pytestCheckHook filelock pexpect ];
30 propagatedBuildInputs = [ execnet pytest-forked psutil ];
33 # pytest can already use xdist at this point
34 "--numprocesses=$NIX_BUILD_CORES"
40 "test_distribution_rsyncdirs_example"
41 "test_rsync_popen_with_path"
42 "test_popen_rsync_subdir"
44 "test_init_rsync_roots"
47 "test_internal_errors_propagate_to_controller"
50 setupHook = ./setup-hook.sh;
53 description = "Pytest xdist plugin for distributed testing and loop-on-failing modes";
54 homepage = "https://github.com/pytest-dev/pytest-xdist";
55 license = licenses.mit;
56 maintainers = with maintainers; [ dotlambda ];