python312Packages.dask: 2024.10.0 -> 2024.11.2 (#354636)
This commit is contained in:
commit
260c65a04d
@ -20,14 +20,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dask-expr";
|
pname = "dask-expr";
|
||||||
version = "1.1.16";
|
version = "1.1.19";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = "dask-expr";
|
repo = "dask-expr";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-HHoUQ6LfrlUnZNvvbPbQbNW6WLabGa88RsC9M8hlARI=";
|
hash = "sha256-Uze6YxNEuy5izx4tqORgCjD+ItH9Hf1vrbXU7fn4o1M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
stdenv,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
pythonOlder,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
|
||||||
|
# build-system
|
||||||
hatch-vcs,
|
hatch-vcs,
|
||||||
hatchling,
|
hatchling,
|
||||||
setuptools-scm,
|
setuptools-scm,
|
||||||
dask,
|
|
||||||
|
# dependencies
|
||||||
dask-expr,
|
dask-expr,
|
||||||
dask-glm,
|
dask-glm,
|
||||||
distributed,
|
distributed,
|
||||||
@ -17,6 +20,9 @@
|
|||||||
pandas,
|
pandas,
|
||||||
scikit-learn,
|
scikit-learn,
|
||||||
scipy,
|
scipy,
|
||||||
|
dask,
|
||||||
|
|
||||||
|
# tests
|
||||||
pytest-mock,
|
pytest-mock,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
@ -26,8 +32,6 @@ buildPythonPackage rec {
|
|||||||
version = "2024.4.4";
|
version = "2024.4.4";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = "dask-ml";
|
repo = "dask-ml";
|
||||||
@ -66,10 +70,18 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths =
|
||||||
|
[
|
||||||
# AttributeError: 'csr_matrix' object has no attribute 'A'
|
# AttributeError: 'csr_matrix' object has no attribute 'A'
|
||||||
# Fixed in https://github.com/dask/dask-ml/pull/996
|
# Fixed in https://github.com/dask/dask-ml/pull/996
|
||||||
"tests/test_svd.py"
|
"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 = [
|
disabledTests = [
|
||||||
|
@ -39,14 +39,14 @@
|
|||||||
let
|
let
|
||||||
self = buildPythonPackage rec {
|
self = buildPythonPackage rec {
|
||||||
pname = "dask";
|
pname = "dask";
|
||||||
version = "2024.10.0";
|
version = "2024.11.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = "dask";
|
repo = "dask";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-UB/LqgDRXnjJ/RjEke9eBDyVAy+Dtak7wYJB63xmDd4=";
|
hash = "sha256-mAdjsfXzHGJ37m4nQbi+A+4qrL/CHcQNuoGaeU9Nwwo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
@ -28,14 +28,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "distributed";
|
pname = "distributed";
|
||||||
version = "2024.10.0";
|
version = "2024.11.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = "distributed";
|
repo = "distributed";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-pdVqPzz66CueGuha66RTykrLtEGx9i6aScR+NHIYWg0=";
|
hash = "sha256-V+SObUbzrfSI6h5HinyzvffsbcjvXZ8IZss67qIwxKM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user