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