@@ -25,15 +25,16 @@
2525, fastparquet
2626, testpath
2727, nbconvert
28+, pytest_xdist
2829}:
2930
3031buildPythonPackage rec {
3132 pname = "datashader";
32− version = "0.9.0";
33+ version = "0.11.0";
3334
3435 src = fetchPypi {
3536 inherit pname version;
36− sha256 = "3a423d61014ae8d2668848edab6c12a6244be6f249570bd7811dd5698d5ff633";
37+ sha256 = "05p81aff7x70yj8llclclgz6klvfzqixwxfng6awn3y5scv18w40";
3738 };
3839
3940 propagatedBuildInputs = [
@@ -60,6 +61,7 @@ buildPythonPackage rec {
6061 checkInputs = [
6162 pytest
6263 pytest-benchmark
64+ pytest_xdist # not needed
6365 flake8
6466 nbsmoke
6567 fastparquet
@@ -69,11 +71,11 @@ buildPythonPackage rec {
6971
7072 postConfigure = ''
7173 substituteInPlace setup.py \
72− --replace "'testpath<0.4'" "'testpath'"
74+ --replace "'numba >=0.37.0,<0.49'" "'numba'"
7375 '';
7476
7577 checkPhase = ''
76− pytest datashader
78+ pytest -n $NIX_BUILD_CORES datashader
7779 '';
7880
7981 meta = with lib; {