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