about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-02-25 19:50:38 +0100
committerGitHub <noreply@github.com>2024-02-25 13:50:38 -0500
commitac85b4b653439b3ad491748a36c6d2bde1f5fa77 (patch)
treed2b7126062be4d200bcf943b7898a4269f019afc
parentff78857306fe68b5be764b4e678c350cc13b240f (diff)
downloadnixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.tar
nixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.tar.gz
nixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.tar.bz2
nixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.tar.lz
nixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.tar.xz
nixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.tar.zst
nixlib-ac85b4b653439b3ad491748a36c6d2bde1f5fa77.zip
python311Packages.dask-awkward: adjust inputs (#291337)
-rw-r--r--pkgs/development/python-modules/dask-awkward/default.nix23
1 files changed, 21 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/dask-awkward/default.nix b/pkgs/development/python-modules/dask-awkward/default.nix
index 0875430cc383..c1a944414f6d 100644
--- a/pkgs/development/python-modules/dask-awkward/default.nix
+++ b/pkgs/development/python-modules/dask-awkward/default.nix
@@ -2,13 +2,19 @@
 , awkward
 , buildPythonPackage
 , dask
+, dask-histogram
+, distributed
 , fetchFromGitHub
 , hatch-vcs
 , hatchling
+, hist
+, pandas
 , pyarrow
 , pytestCheckHook
 , pythonOlder
 , pythonRelaxDepsHook
+, typing-extensions
+, uproot
 }:
 
 buildPythonPackage rec {
@@ -38,12 +44,23 @@ buildPythonPackage rec {
   propagatedBuildInputs = [
     awkward
     dask
+    typing-extensions
   ];
 
+  passthru.optional-dependencies = {
+    io = [
+      pyarrow
+    ];
+  };
+
   checkInputs = [
+    dask-histogram
+    distributed
+    hist
+    pandas
     pytestCheckHook
-    pyarrow
-  ];
+    uproot
+  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
 
   pythonImportsCheck = [
     "dask_awkward"
@@ -54,6 +71,8 @@ buildPythonPackage rec {
     "test_remote_double"
     "test_remote_single"
     "test_from_text"
+    # ValueError: not a ROOT file: first four bytes...
+    "test_basic_root_works"
   ];
 
   meta = with lib; {