diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-15 14:36:30 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-15 14:36:30 +0200 |
commit | 37cb24a318f1c54f2a84cbca84c9bfb1d500289c (patch) | |
tree | 479c4affd1168b2ce6aef3a27138b62fcba75c70 /pkgs/development/python-modules | |
parent | e5a4da2ab8687c52d140653cc0fb17e2344f48a6 (diff) | |
download | nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.tar nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.tar.gz nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.tar.bz2 nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.tar.lz nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.tar.xz nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.tar.zst nixlib-37cb24a318f1c54f2a84cbca84c9bfb1d500289c.zip |
python.pkgs.pytest_xdist: 1.14 -> 1.16.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pytest-xdist/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pytest-xdist/default.nix b/pkgs/development/python-modules/pytest-xdist/default.nix index 05f4d5bd1f2c..b3577908cf9c 100644 --- a/pkgs/development/python-modules/pytest-xdist/default.nix +++ b/pkgs/development/python-modules/pytest-xdist/default.nix @@ -1,26 +1,30 @@ -{ stdenv, fetchzip, buildPythonPackage, isPy3k, execnet, pytest, setuptools_scm }: +{ stdenv, fetchPypi, buildPythonPackage, isPy3k, execnet, pytest, setuptools_scm }: buildPythonPackage rec { name = "${pname}-${version}"; pname = "pytest-xdist"; - version = "1.14"; + version = "1.16.0"; - src = fetchzip { - url = "mirror://pypi/p/pytest-xdist/${name}.zip"; - sha256 = "18j6jq4r47cbbgnci0bbp0kjr9w12hzw7fh4dmsbm072jmv8c0gx"; + src = fetchPypi { + inherit pname version; + sha256 = "42e5a1e5da9d7cff3e74b07f8692598382f95624f234ff7e00a3b1237e0feba2"; }; buildInputs = [ pytest setuptools_scm ]; propagatedBuildInputs = [ execnet ]; - postPatch = stdenv.lib.optionalString stdenv.isDarwin '' + postPatch = '' rm testing/acceptance_test.py testing/test_remote.py testing/test_slavemanage.py ''; checkPhase = '' - py.test + py.test testing ''; + # Only test on 3.x + # INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'getconsumer' + doCheck = isPy3k; + meta = with stdenv.lib; { description = "py.test xdist plugin for distributed testing and loop-on-failing modes"; homepage = https://github.com/pytest-dev/pytest-xdist; |