python312Packages.dask: 2024.11.2 -> 2024.12.0 (#361602)

This commit is contained in:
Dmitry Kalinkin
2024-12-22 03:05:48 -05:00
committed by GitHub
6 changed files with 41 additions and 22 deletions
@@ -27,14 +27,14 @@
buildPythonPackage rec {
pname = "dask-awkward";
version = "2024.9.0";
version = "2024.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "dask-contrib";
repo = "dask-awkward";
rev = "refs/tags/${version}";
hash = "sha256-4CwixPj0bJHVjnwZ7fPkRdiDHs8/IzvNlwSPynXvcAo=";
tag = version;
hash = "sha256-pL1LDW/q78V/c3Bha38k40018MFO+i8X6htYNdcsy7s=";
};
build-system = [
@@ -75,12 +75,18 @@ buildPythonPackage rec {
"test_distance_behavior"
];
disabledTestPaths = [
# TypeError: Blockwise.__init__() got an unexpected keyword argument 'dsk'
# https://github.com/dask-contrib/dask-awkward/issues/557
"tests/test_str.py"
];
__darwinAllowLocalNetworking = true;
meta = {
description = "Native Dask collection for awkward arrays, and the library to use it";
homepage = "https://github.com/dask-contrib/dask-awkward";
changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${version}";
changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ veprbl ];
};
@@ -15,19 +15,19 @@
# checks
distributed,
pytestCheckHook,
xarray
xarray,
}:
buildPythonPackage rec {
pname = "dask-expr";
version = "1.1.19";
version = "1.1.21";
pyproject = true;
src = fetchFromGitHub {
owner = "dask";
repo = "dask-expr";
rev = "refs/tags/v${version}";
hash = "sha256-Uze6YxNEuy5izx4tqORgCjD+ItH9Hf1vrbXU7fn4o1M=";
tag = "v${version}";
hash = "sha256-WvPdvsKorEnHqf+q26+0VbAEriv6CI1UsNhYPRcMu+A=";
};
postPatch = ''
@@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "dask-histogram";
version = "2024.9.1";
version = "2024.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "dask-contrib";
repo = "dask-histogram";
rev = "refs/tags/${version}";
hash = "sha256-k+hD5y9K6Jsm++H+IAWJ/Z3wlCN4fV8RIcyAnvOvem0=";
tag = version;
hash = "sha256-chznfEsMFuIioIlTz6uNpVAkjMMoMXjS62R4luKxVZQ=";
};
build-system = [
@@ -44,7 +44,7 @@ buildPythonPackage rec {
meta = {
description = "Histograms with task scheduling";
homepage = "https://dask-histogram.readthedocs.io/";
changelog = "https://github.com/dask-contrib/dask-histogram/releases/tag/${version}";
changelog = "https://github.com/dask-contrib/dask-histogram/releases/tag/${src.tag}";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ veprbl ];
};
@@ -39,14 +39,14 @@
let
self = buildPythonPackage rec {
pname = "dask";
version = "2024.11.2";
version = "2024.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "dask";
repo = "dask";
rev = "refs/tags/${version}";
hash = "sha256-mAdjsfXzHGJ37m4nQbi+A+4qrL/CHcQNuoGaeU9Nwwo=";
tag = version;
hash = "sha256-QqvdldAHW2UYt1NXfk3Aa+oe97e+OpRbF8d6eKV3OJ4=";
};
build-system = [ setuptools ];
@@ -64,10 +64,15 @@ let
optional-dependencies = lib.fix (self: {
array = [ numpy ];
complete = [
pyarrow
lz4
] ++ self.array ++ self.dataframe ++ self.distributed ++ self.diagnostics;
complete =
[
pyarrow
lz4
]
++ self.array
++ self.dataframe
++ self.distributed
++ self.diagnostics;
dataframe = [
# dask-expr -> circular dependency with dask-expr
numpy
@@ -28,14 +28,14 @@
buildPythonPackage rec {
pname = "distributed";
version = "2024.11.2";
version = "2024.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "dask";
repo = "distributed";
rev = "refs/tags/${version}";
hash = "sha256-V+SObUbzrfSI6h5HinyzvffsbcjvXZ8IZss67qIwxKM=";
tag = version;
hash = "sha256-R8DTiatme99afA6enTpC3AFN0KRmDbd+VGpXRNqvE8w=";
};
postPatch = ''
@@ -65,6 +65,14 @@ buildPythonPackage rec {
export PATH=$out/bin:$PATH
'';
disabledTests = [
# Fails since dask's bump to 2024.12.2
# Reported upstream: https://github.com/itamarst/eliot/issues/507
"test_compute_logging"
"test_future"
"test_persist_logging"
];
meta = {
homepage = "https://eliot.readthedocs.io";
description = "Logging library that tells you why it happened";