1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{
lib,
buildPythonPackage,
cloudpickle,
dask,
distributed,
fetchPypi,
multipledispatch,
pytestCheckHook,
pythonOlder,
scikit-learn,
scipy,
setuptools-scm,
sparse,
}:
buildPythonPackage rec {
pname = "dask-glm";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yUelZoZmmKAdeZeK5zIzy16DitXq1ghRQ1gsXpMLmko=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
cloudpickle
distributed
multipledispatch
scikit-learn
scipy
sparse
] ++ dask.optional-dependencies.array;
nativeCheckInputs = [
sparse
pytestCheckHook
];
pythonImportsCheck = [ "dask_glm" ];
disabledTestPaths = [
# Circular dependency with dask-ml
"dask_glm/tests/test_estimators.py"
# Test tries to imort an obsolete method
"dask_glm/tests/test_utils.py"
];
disabledTests = [
# missing fixture with distributed>=2022.8.0
"test_determinism_distributed"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Generalized Linear Models with Dask";
homepage = "https://github.com/dask/dask-glm/";
license = licenses.bsd3;
maintainers = [ ];
};
}
|