python310Packages.dask-awkward: init at 2023.1.0 (#209527)

This commit is contained in:
Dmitry Kalinkin 2023-03-04 15:45:31 -05:00 committed by GitHub
parent 6fa6198586
commit e11c196f84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,60 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, awkward
, dask
, hatch-vcs
, hatchling
, pyarrow
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dask-awkward";
version = "2023.1.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "dask-contrib";
repo = pname;
rev = version;
hash = "sha256-q0mBd4yelnNL7rMWfilituo9h/xmLLLndSCBdY2egEQ=";
};
nativeBuildInputs = [
hatch-vcs
hatchling
];
propagatedBuildInputs = [
awkward
dask
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
checkInputs = [
pytestCheckHook
pyarrow
];
pythonImportsCheck = [
"dask_awkward"
];
pytestFlagsArray = [
# require internet
"--deselect=tests/test_parquet.py::test_remote_double"
"--deselect=tests/test_parquet.py::test_remote_single"
];
meta = with lib; {
description = "Native Dask collection for awkward arrays, and the library to use it";
homepage = "https://github.com/dask-contrib/dask-awkward";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}

View file

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