16 buildPythonPackage rec {
17 pname = "pytest-xdist";
19 disabled = pythonOlder "3.7";
24 pname = "pytest_xdist";
26 hash = "sha256-6tFWpNsjHux2lzf1dmjvWKIISjSy5VxKj6INhhEHMA0=";
34 buildInputs = [ pytest ];
36 dependencies = [ execnet ];
43 optional-dependencies = {
45 setproctitle = [ setproctitle ];
49 # pytest can already use xdist at this point
50 "--numprocesses=$NIX_BUILD_CORES"
55 "test_distribution_rsyncdirs_example"
56 "test_rsync_popen_with_path"
57 "test_popen_rsync_subdir"
59 "test_init_rsync_roots"
62 "test_internal_errors_propagate_to_controller"
63 # https://github.com/pytest-dev/pytest-xdist/issues/985
64 "test_workqueue_ordered_by_size"
67 setupHook = ./setup-hook.sh;
70 changelog = "https://github.com/pytest-dev/pytest-xdist/blob/v${version}/CHANGELOG.rst";
71 description = "Pytest xdist plugin for distributed testing and loop-on-failing modes";
72 homepage = "https://github.com/pytest-dev/pytest-xdist";
73 license = licenses.mit;
74 maintainers = with maintainers; [ dotlambda ];