nixpkgs/pkgs/development/python-modules/dask-glm/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

68 lines
1.2 KiB
Nix

{
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 = [ ];
};
}