python3Packages.dask: 2025.12.0 -> 2026.1.1 (#480703)
This commit is contained in:
@@ -2,22 +2,26 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
cmake,
|
||||
ninja,
|
||||
pybind11,
|
||||
scikit-build-core,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "awkward-cpp";
|
||||
version = "51";
|
||||
version = "52";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "awkward_cpp";
|
||||
inherit version;
|
||||
hash = "sha256-jHTo+fslAXZtGw+fLrh3fjhEEdM1NKj6Zn1WWZIjoEs=";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-7xQesgVE3yYblzyYbPrle+MpAiBhvoaBdQat1nZZcnU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -39,4 +43,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -22,16 +22,16 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "awkward";
|
||||
version = "2.8.11";
|
||||
version = "2.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-hep";
|
||||
repo = "awkward";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-76DeL/KIna8Hd9eukCzuRXKO+awkbpc4trCeKTSfGmA=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ovbhCPTNxyfL7tkvBCiHF0kZt0l0oMSpdsE4E9S4JJY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -68,8 +68,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Manipulate JSON-like data with NumPy-like idioms";
|
||||
homepage = "https://github.com/scikit-hep/awkward";
|
||||
changelog = "https://github.com/scikit-hep/awkward/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/scikit-hep/awkward/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
util-linux,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -29,6 +31,7 @@
|
||||
|
||||
# tests
|
||||
hypothesis,
|
||||
psutil,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
@@ -39,22 +42,23 @@
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "dask";
|
||||
version = "2025.12.0";
|
||||
version = "2026.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "dask";
|
||||
tag = version;
|
||||
hash = "sha256-oGBOt2ULLn0Kx1rOVNWaC3l1ECotMC2yNeCHya9Tx+s=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-cyeAU5r8uYb7aAII9HztKY+3On44/nOC9eU9stYYWzE=";
|
||||
};
|
||||
|
||||
# https://github.com/dask/dask/issues/12043
|
||||
postPatch = lib.optionalString (pythonAtLeast "3.14") ''
|
||||
substituteInPlace dask/dataframe/dask_expr/tests/_util.py \
|
||||
--replace-fail "except AttributeError:" "except (AttributeError, pickle.PicklingError):"
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
substituteInPlace dask/tests/test_system.py \
|
||||
--replace-fail \
|
||||
'"taskset",' \
|
||||
'"${lib.getExe' util-linux "taskset"}",'
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
@@ -97,6 +101,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
psutil
|
||||
pyarrow
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
@@ -107,8 +112,8 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
versionCheckHook
|
||||
]
|
||||
++ optional-dependencies.array
|
||||
++ optional-dependencies.dataframe;
|
||||
++ finalAttrs.passthru.optional-dependencies.array
|
||||
++ finalAttrs.passthru.optional-dependencies.dataframe;
|
||||
|
||||
pytestFlags = [
|
||||
# Rerun failed tests up to three times
|
||||
@@ -149,4 +154,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -25,16 +25,16 @@
|
||||
zict,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "distributed";
|
||||
version = "2026.1.1";
|
||||
version = "2026.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "distributed";
|
||||
tag = version;
|
||||
hash = "sha256-xriIsrdFNSHAO9SmdowXK9uPW06ziz9uGie3PkYncqo=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-VkZ9rd+eVyfwfRMSAqriR8UjdlqsqHYCkCHZJnk0VOU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -70,8 +70,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Distributed computation in Python";
|
||||
homepage = "https://distributed.readthedocs.io/";
|
||||
changelog = "https://github.com/dask/distributed/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/dask/distributed/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ teh ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
xxhash,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "uproot";
|
||||
version = "5.7.1";
|
||||
pyproject = true;
|
||||
@@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-hep";
|
||||
repo = "uproot5";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-06pMcL2o5hHZLEbi8vdYhAAs5BBkHAskNHUB1o48KDU=";
|
||||
};
|
||||
|
||||
@@ -103,8 +103,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "ROOT I/O in pure Python and Numpy";
|
||||
homepage = "https://github.com/scikit-hep/uproot5";
|
||||
changelog = "https://github.com/scikit-hep/uproot5/releases/tag/v${version}";
|
||||
changelog = "https://github.com/scikit-hep/uproot5/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user