Unverified Commit 8166fb73 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.coffea: 2025.1.1 -> 2025.3.0 (#390874)

parents 96fd0468 88fb09ab
Loading
Loading
Loading
Loading
+12 −37
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

@@ -34,7 +33,7 @@
  uproot,
  vector,

  # checks
  # tests
  distributed,
  pyinstrument,
  pytest-xdist,
@@ -43,14 +42,14 @@

buildPythonPackage rec {
  pname = "coffea";
  version = "2025.1.1";
  version = "2025.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "CoffeaTeam";
    repo = "coffea";
    tag = "v${version}";
    hash = "sha256-AGYi1w4e8XJOWRbuPX5eB/rTY5dCPji49zD0VQ4FvAs=";
    hash = "sha256-NZ3r/Dyw5bB4qOO29DUAARPzdJJxgR9OO9LxVu3YbNo=";
  };

  build-system = [
@@ -98,8 +97,7 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "coffea" ];

  disabledTests =
    [
  disabledTests = [
    # Requires internet access
    # https://github.com/CoffeaTeam/coffea/issues/1094
    "test_lumimask"
@@ -108,29 +106,6 @@ buildPythonPackage rec {
    # https://github.com/scikit-hep/coffea/issues/1246
    "test_packed_selection_cutflow_dak" # cutflow.npz
    "test_packed_selection_nminusone_dak" # nminusone.npz

      # AssertionError: bug in Awkward Array: attempt to convert TypeTracerArray into a concrete array
      "test_apply_to_fileset"
      "test_lorentz_behavior"

      # ValueError: The array to mask was deleted before it could be masked.
      # If you want to construct this mask, you must either keep the array alive or use 'ak.mask' explicitly.
      "test_read_nanomc"
    ]
    ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
      # Fatal Python error: Segmentation fault
      # coffea/nanoevents/transforms.py", line 287 in index_range
      "test_KaonParent_to_PionDaughters_Loop"
      "test_MCRecoAssociations"
      "test_MC_daughters"
      "test_MC_parents"
      "test_field_is_present"

      # Fatal Python error: Segmentation fault
      # File "/build/source/tests/test_lumi_tools.py", line 37 in test_lumidata
      "test_lumidata"
      # coffea/lumi_tools/lumi_tools.py", line 113 in get_lumi
      "test_lumilist"
  ];

  __darwinAllowLocalNetworking = true;