python311Packages.dask-expr: init at 1.0.12

This commit is contained in:
Gaetan Lepage 2024-03-12 23:39:21 +01:00
parent 8347d265bf
commit caa3289d46
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
versioneer,
wheel,
dask,
pandas,
pyarrow,
distributed,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dask-expr";
version = "1.0.12";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-expr";
rev = "refs/tags/v${version}";
hash = "sha256-B/BkLOZhvUyjinaFKp0ecUfzvLb5S90q+YHmJwS6WSQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "versioneer[toml]==0.28" "versioneer[toml]"
'';
nativeBuildInputs = [
setuptools
versioneer
wheel
];
propagatedBuildInputs = [
dask
pandas
pyarrow
];
pythonImportsCheck = [ "dask_expr" ];
nativeCheckInputs = [
distributed
pytestCheckHook
];
meta = with lib; {
description = "";
homepage = "https://github.com/dask/dask-expr";
license = licenses.bsd3;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -2698,6 +2698,8 @@ self: super: with self; {
dask-awkward = callPackage ../development/python-modules/dask-awkward { };
dask-expr = callPackage ../development/python-modules/dask-expr { };
dask-gateway = callPackage ../development/python-modules/dask-gateway { };
dask-gateway-server = callPackage ../development/python-modules/dask-gateway-server { };