Commit 573ea0e2 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 78e64e80
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
, fetchFromGitHub
, hatchling
, hatch-vcs
, aiohttp
, awkward
, cachetools
, cloudpickle
@@ -21,6 +22,7 @@
, packaging
, pandas
, pyarrow
, requests
, scipy
, toml
, tqdm
@@ -32,7 +34,7 @@

buildPythonPackage rec {
  pname = "coffea";
  version = "2024.4.1";
  version = "2024.5.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -41,20 +43,16 @@ buildPythonPackage rec {
    owner = "CoffeaTeam";
    repo = "coffea";
    rev = "refs/tags/v${version}";
    hash = "sha256-Iu1GHnLUqdhYO7hoHaf+O/S6KO0P+dvl0wgfRA5vtGI=";
    hash = "sha256-FHE7/VL0mnf0eBPzCsrr8ISr7OmfFvI9xuV0CPa7JdU=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "numba>=0.58.1" "numba"
  '';

  nativeBuildInputs = [
  build-system = [
    hatchling
    hatch-vcs
  ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    awkward
    cachetools
    cloudpickle
@@ -72,6 +70,7 @@ buildPythonPackage rec {
    packaging
    pandas
    pyarrow
    requests
    scipy
    toml
    tqdm
@@ -88,6 +87,12 @@ buildPythonPackage rec {
    "coffea"
  ];

  disabledTests = [
    # Requires internet access
    # https://github.com/CoffeaTeam/coffea/issues/1094
    "test_lumimask"
  ];

  __darwinAllowLocalNetworking = true;

  meta = with lib; {