summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/datashader
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-02 18:34:34 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-02 18:34:43 +0200
commit994576f4cbf6086853cbc9f3abb4c446c4dfb444 (patch)
tree7488669b4c02b34d387793679575f56303d6411d /pkgs/development/python-modules/datashader
parentpython3.pkgs.fastparquet: 0.3.3 -> 0.4.0 (diff)
downloadnixpkgs-994576f4cbf6086853cbc9f3abb4c446c4dfb444.tar.gz
python3.pkgs.datashader: 0.9.0 -> 0.11.0
Diffstat (limited to 'pkgs/development/python-modules/datashader')
-rw-r--r--pkgs/development/python-modules/datashader/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/datashader/default.nix b/pkgs/development/python-modules/datashader/default.nix
index 6f7925a49982..b5ae4a4c437f 100644
--- a/pkgs/development/python-modules/datashader/default.nix
+++ b/pkgs/development/python-modules/datashader/default.nix
@@ -25,15 +25,16 @@
, fastparquet
, testpath
, nbconvert
+, pytest_xdist
}:
buildPythonPackage rec {
pname = "datashader";
- version = "0.9.0";
+ version = "0.11.0";
src = fetchPypi {
inherit pname version;
- sha256 = "3a423d61014ae8d2668848edab6c12a6244be6f249570bd7811dd5698d5ff633";
+ sha256 = "05p81aff7x70yj8llclclgz6klvfzqixwxfng6awn3y5scv18w40";
};
propagatedBuildInputs = [
@@ -60,6 +61,7 @@ buildPythonPackage rec {
checkInputs = [
pytest
pytest-benchmark
+ pytest_xdist # not needed
flake8
nbsmoke
fastparquet
@@ -69,11 +71,11 @@ buildPythonPackage rec {
postConfigure = ''
substituteInPlace setup.py \
- --replace "'testpath<0.4'" "'testpath'"
+ --replace "'numba >=0.37.0,<0.49'" "'numba'"
'';
checkPhase = ''
- pytest datashader
+ pytest -n $NIX_BUILD_CORES datashader
'';
meta = with lib; {