pythonPackages.datashader: 0.11.1 -> 0.12.0
This commit is contained in:
parent
e769eec5f1
commit
92ccd0a06a
@ -1,9 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, fetchpatch
|
|
||||||
, dask
|
, dask
|
||||||
, distributed
|
|
||||||
, bokeh
|
, bokeh
|
||||||
, toolz
|
, toolz
|
||||||
, datashape
|
, datashape
|
||||||
@ -15,41 +13,26 @@
|
|||||||
, colorcet
|
, colorcet
|
||||||
, param
|
, param
|
||||||
, pyct
|
, pyct
|
||||||
, pyyaml
|
|
||||||
, requests
|
|
||||||
, scikitimage
|
|
||||||
, scipy
|
, scipy
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-benchmark
|
|
||||||
, flake8
|
|
||||||
, nbsmoke
|
, nbsmoke
|
||||||
, fastparquet
|
, fastparquet
|
||||||
, testpath
|
|
||||||
, nbconvert
|
, nbconvert
|
||||||
, pytest-xdist
|
, pytest-xdist
|
||||||
|
, netcdf4
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datashader";
|
pname = "datashader";
|
||||||
version = "0.11.1";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b1f80415f72f92ccb660aaea7b2881ddd35d07254f7c44101709d42e819d6be6";
|
sha256 = "sha256-CnV6ne3cbMtoVUBDqXf4n3tlEMzuKp7H8Ju7Qrzn9es=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Unpins pyct==0.46 (Sep. 11, 2020).
|
|
||||||
# Will be incorporated into the next datashader release after 0.11.1
|
|
||||||
url = "https://github.com/holoviz/datashader/pull/960/commits/d7a462fa399106c34fd0d44505a8a73789dbf874.patch";
|
|
||||||
sha256 = "1wqsk9dpxnkxr49fa7y5q6ahin80cvys05lnirs2w2p1dja35y4x";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
dask
|
dask
|
||||||
distributed
|
|
||||||
bokeh
|
bokeh
|
||||||
toolz
|
toolz
|
||||||
datashape
|
datashape
|
||||||
@ -61,35 +44,29 @@ buildPythonPackage rec {
|
|||||||
colorcet
|
colorcet
|
||||||
param
|
param
|
||||||
pyct
|
pyct
|
||||||
pyyaml
|
|
||||||
requests
|
|
||||||
scikitimage
|
|
||||||
scipy
|
scipy
|
||||||
testpath
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-benchmark
|
|
||||||
pytest-xdist # not needed
|
pytest-xdist # not needed
|
||||||
flake8
|
|
||||||
nbsmoke
|
nbsmoke
|
||||||
fastparquet
|
fastparquet
|
||||||
pandas
|
|
||||||
nbconvert
|
nbconvert
|
||||||
|
netcdf4
|
||||||
];
|
];
|
||||||
|
|
||||||
# dask doesn't do well with large core counts
|
|
||||||
# checkPhase = ''
|
|
||||||
# pytest -n $NIX_BUILD_CORES datashader -k 'not dask.array and not test_simple_nested'
|
|
||||||
# '';
|
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"-n $NIX_BUILD_CORES"
|
"-n $NIX_BUILD_CORES"
|
||||||
"datashader"
|
"datashader"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
disabledTestPaths = [
|
||||||
|
# 31/50 tests fail with TypeErrors
|
||||||
|
"datashader/tests/test_datatypes.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib;{
|
||||||
description = "Data visualization toolchain based on aggregating into a grid";
|
description = "Data visualization toolchain based on aggregating into a grid";
|
||||||
homepage = "https://datashader.org";
|
homepage = "https://datashader.org";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
Loading…
Reference in New Issue
Block a user