diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-05-01 10:17:34 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-05-01 10:42:18 +0200 |
commit | 1ff212f0fe30a7733ffd1c69e08859da053fda67 (patch) | |
tree | 1b6806dfc0f431a080bc301e25d19098316ca0a6 | |
parent | b12ad9a53455410ee950cc5735eb3258088542b9 (diff) | |
download | nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.tar nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.tar.gz nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.tar.bz2 nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.tar.lz nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.tar.xz nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.tar.zst nixlib-1ff212f0fe30a7733ffd1c69e08859da053fda67.zip |
python310Packages.dask-awkward: 2023.1.0 -> 2023.4.2
Diff: https://github.com/dask-contrib/dask-awkward/compare/refs/tags/2023.1.0...2023.4.2 Changelog: https://github.com/dask-contrib/dask-awkward/releases/tag/2023.4.2
-rw-r--r-- | pkgs/development/python-modules/dask-awkward/default.nix | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/dask-awkward/default.nix b/pkgs/development/python-modules/dask-awkward/default.nix index 6dd42fcc3c0a..1c6cb7b5bbe5 100644 --- a/pkgs/development/python-modules/dask-awkward/default.nix +++ b/pkgs/development/python-modules/dask-awkward/default.nix @@ -1,18 +1,19 @@ { lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder , awkward +, buildPythonPackage , dask +, fetchFromGitHub , hatch-vcs , hatchling , pyarrow , pytestCheckHook +, pythonOlder +, pythonRelaxDepsHook }: buildPythonPackage rec { pname = "dask-awkward"; - version = "2023.1.0"; + version = "2023.4.2"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -20,13 +21,20 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "dask-contrib"; repo = pname; - rev = version; - hash = "sha256-q0mBd4yelnNL7rMWfilituo9h/xmLLLndSCBdY2egEQ="; + rev = "refs/tags/${version}"; + hash = "sha256-c3NnARost/406cALQDKmeUsl2kFSQHAswAEwgreFXPc="; }; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + pythonRelaxDeps = [ + "awkward" + ]; + nativeBuildInputs = [ hatch-vcs hatchling + pythonRelaxDepsHook ]; propagatedBuildInputs = [ @@ -34,8 +42,6 @@ buildPythonPackage rec { dask ]; - SETUPTOOLS_SCM_PRETEND_VERSION = version; - checkInputs = [ pytestCheckHook pyarrow @@ -45,15 +51,16 @@ buildPythonPackage rec { "dask_awkward" ]; - pytestFlagsArray = [ - # require internet - "--deselect=tests/test_parquet.py::test_remote_double" - "--deselect=tests/test_parquet.py::test_remote_single" + disabledTests = [ + # Tests require network access + "test_remote_double" + "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"; + changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ veprbl ]; }; |