python312Packages.dask: 2024.10.0 -> 2024.11.2 (#354636)

This commit is contained in:
Gaétan Lepage 2024-11-24 20:20:14 +01:00 committed by GitHub
commit 260c65a04d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 27 additions and 15 deletions

View File

@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "dask-expr";
version = "1.1.16";
version = "1.1.19";
pyproject = true;
src = fetchFromGitHub {
owner = "dask";
repo = "dask-expr";
rev = "refs/tags/v${version}";
hash = "sha256-HHoUQ6LfrlUnZNvvbPbQbNW6WLabGa88RsC9M8hlARI=";
hash = "sha256-Uze6YxNEuy5izx4tqORgCjD+ItH9Hf1vrbXU7fn4o1M=";
};
postPatch = ''

View File

@ -1,12 +1,15 @@
{
lib,
stdenv,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
setuptools-scm,
dask,
# dependencies
dask-expr,
dask-glm,
distributed,
@ -17,6 +20,9 @@
pandas,
scikit-learn,
scipy,
dask,
# tests
pytest-mock,
pytestCheckHook,
}:
@ -26,8 +32,6 @@ buildPythonPackage rec {
version = "2024.4.4";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-ml";
@ -66,10 +70,18 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTestPaths = [
disabledTestPaths =
[
# AttributeError: 'csr_matrix' object has no attribute 'A'
# Fixed in https://github.com/dask/dask-ml/pull/996
"tests/test_svd.py"
]
++ lib.optionals stdenv.isDarwin [
# RuntimeError: Not enough arguments provided: missing keys
"tests/model_selection/test_hyperband.py"
"tests/model_selection/test_incremental.py"
"tests/model_selection/test_incremental_warns.py"
"tests/model_selection/test_successive_halving.py"
];
disabledTests = [

View File

@ -39,14 +39,14 @@
let
self = buildPythonPackage rec {
pname = "dask";
version = "2024.10.0";
version = "2024.11.2";
pyproject = true;
src = fetchFromGitHub {
owner = "dask";
repo = "dask";
rev = "refs/tags/${version}";
hash = "sha256-UB/LqgDRXnjJ/RjEke9eBDyVAy+Dtak7wYJB63xmDd4=";
hash = "sha256-mAdjsfXzHGJ37m4nQbi+A+4qrL/CHcQNuoGaeU9Nwwo=";
};
build-system = [ setuptools ];

View File

@ -28,14 +28,14 @@
buildPythonPackage rec {
pname = "distributed";
version = "2024.10.0";
version = "2024.11.2";
pyproject = true;
src = fetchFromGitHub {
owner = "dask";
repo = "distributed";
rev = "refs/tags/${version}";
hash = "sha256-pdVqPzz66CueGuha66RTykrLtEGx9i6aScR+NHIYWg0=";
hash = "sha256-V+SObUbzrfSI6h5HinyzvffsbcjvXZ8IZss67qIwxKM=";
};
postPatch = ''