python312Packages.awkward: 2.7.4 -> 2.8.0 (#391399)

This commit is contained in:
Nick Cao
2025-03-19 19:44:24 -04:00
committed by GitHub
2 changed files with 12 additions and 29 deletions
@@ -11,13 +11,13 @@
buildPythonPackage rec {
pname = "awkward-cpp";
version = "44";
version = "45";
pyproject = true;
src = fetchPypi {
pname = "awkward_cpp";
inherit version;
hash = "sha256-jcSZKI1tFrLqILUaJ9UEflGiR7aqz8vLOzAsrW08h9g=";
hash = "sha256-hgFM9bGqu63qKBnG5gVe5JilA+yiNO3Bn/UCkos08WI=";
};
build-system = [
@@ -1,6 +1,5 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
@@ -26,14 +25,14 @@
buildPythonPackage rec {
pname = "awkward";
version = "2.7.4";
version = "2.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "awkward";
tag = "v${version}";
hash = "sha256-OXSl+8sfrx+JlLu40wHf+98WVNNwm9uxvsnGXRDztDg=";
hash = "sha256-dr8DUY6T6fvtMASdM9U+XQN0dVP8AKvwa1gwHfOz3Dw=";
};
build-system = [
@@ -62,31 +61,15 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests =
[
# pyarrow.lib.ArrowInvalid
"test_recordarray"
]
++ lib.optionals (pythonAtLeast "3.13") [
# AttributeError: 'FrameLocalsProxy' object has no attribute 'clear'
"test_numexpr"
];
disabledTests = [
# pyarrow.lib.ArrowInvalid
"test_recordarray"
];
disabledTestPaths =
[
# Need to be run on a GPU platform.
"tests-cuda"
]
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# Fatal Python error: Segmentation fault at:
# numba/typed/typedlist.py", line 344 in append
"tests/test_0118_numba_cpointers.py"
"tests/test_0397_arrays_as_constants_in_numba.py"
"tests/test_1677_array_builder_in_numba.py"
"tests/test_2055_array_builder_check.py"
"tests/test_2349_growablebuffer_in_numba.py"
"tests/test_2408_layoutbuilder_in_numba.py"
];
disabledTestPaths = [
# Need to be run on a GPU platform.
"tests-cuda"
];
meta = {
description = "Manipulate JSON-like data with NumPy-like idioms";