Unverified Commit ac85b4b6 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python311Packages.dask-awkward: adjust inputs (#291337)

parent ff788573
Loading
Loading
Loading
Loading
+21 −2
Original line number Diff line number Diff line
@@ -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
  ];

  checkInputs = [
    pytestCheckHook
  passthru.optional-dependencies = {
    io = [
      pyarrow
    ];
  };

  checkInputs = [
    dask-histogram
    distributed
    hist
    pandas
    pytestCheckHook
    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; {