python3Packages.pytest_xdist: 2.1.0 -> 2.2.0
Also update inputs to match setup.py.
This commit is contained in:
parent
7267c7bade
commit
3d19493fa5
@ -1,28 +1,39 @@
|
|||||||
{ lib, fetchPypi, buildPythonPackage, execnet, pytest_6
|
{ lib
|
||||||
, setuptools_scm, pytest-forked, filelock, psutil, six, isPy3k }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
|
, setuptools_scm
|
||||||
|
, pytestCheckHook
|
||||||
|
, filelock
|
||||||
|
, execnet
|
||||||
|
, pytest
|
||||||
|
, pytest-forked
|
||||||
|
, psutil
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-xdist";
|
pname = "pytest-xdist";
|
||||||
version = "2.1.0";
|
version = "2.2.0";
|
||||||
disabled = !isPy3k;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0wh6pn66nncfs6ay0n863bgyriwsgppn8flx5l7551j1lbqkinc2";
|
sha256 = "1d8edbb1a45e8e1f8e44b1260583107fc23f8bc8da6d18cb331ff61d41258ecf";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm pytest_6 ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
checkInputs = [ pytest_6 filelock ];
|
checkInputs = [ pytestCheckHook filelock ];
|
||||||
propagatedBuildInputs = [ execnet pytest-forked psutil six ];
|
propagatedBuildInputs = [ execnet pytest pytest-forked psutil ];
|
||||||
|
|
||||||
# pytest6 doesn't allow for new lines
|
# access file system
|
||||||
# capture_deprecated not compatible with latest pytest6
|
disabledTests = [
|
||||||
checkPhase = ''
|
"test_distribution_rsyncdirs_example"
|
||||||
# Excluded tests access file system
|
"test_rsync_popen_with_path"
|
||||||
export HOME=$TMPDIR
|
"test_popen_rsync_subdir"
|
||||||
pytest -n $NIX_BUILD_CORES \
|
"test_rsync_report"
|
||||||
-k "not (distribution_rsyncdirs_example or rsync or warning_captured_deprecated_in_pytest_6)"
|
"test_init_rsync_roots"
|
||||||
'';
|
"test_rsyncignore"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "py.test xdist plugin for distributed testing and loop-on-failing modes";
|
description = "py.test xdist plugin for distributed testing and loop-on-failing modes";
|
||||||
|
Loading…
Reference in New Issue
Block a user