mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #310551 from GaetanLepage/distributed
python311Packages.distributed: 2024.4.2 -> 2024.5.0
This commit is contained in:
commit
f3e4cbc596
@ -88,6 +88,8 @@ buildPythonPackage rec {
|
||||
"coffea"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Basic tools and wrappers for enabling not-too-alien syntax when running columnar Collider HEP analysis";
|
||||
homepage = "https://github.com/CoffeaTeam/coffea";
|
||||
|
@ -77,6 +77,8 @@ buildPythonPackage rec {
|
||||
"test_basic_root_works"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Native Dask collection for awkward arrays, and the library to use it";
|
||||
homepage = "https://github.com/dask-contrib/dask-awkward";
|
||||
|
@ -51,6 +51,8 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "";
|
||||
homepage = "https://github.com/dask/dask-expr";
|
||||
|
@ -59,6 +59,8 @@ buildPythonPackage rec {
|
||||
"test_determinism_distributed"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generalized Linear Models with Dask";
|
||||
homepage = "https://github.com/dask/dask-glm/";
|
||||
|
@ -1,37 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, setuptools-scm
|
||||
, dask
|
||||
, dask-expr
|
||||
, dask-glm
|
||||
, distributed
|
||||
, fetchPypi
|
||||
, multipledispatch
|
||||
, numba
|
||||
, numpy
|
||||
, packaging
|
||||
, pandas
|
||||
, pythonOlder
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, setuptools-scm
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask-ml";
|
||||
version = "2023.3.24";
|
||||
format = "setuptools";
|
||||
version = "2024.4.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-lsCQ220yg2U24/Ccpk3rWZ6GRYeqjj1NLGtK9YhzMwc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "dask-ml";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ZiBpCk3b4Tk0Hwb4uapJLEx+Nb/qHFROCnkBTNGDzoU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
dask-expr
|
||||
dask-glm
|
||||
distributed
|
||||
multipledispatch
|
||||
@ -44,9 +54,6 @@ buildPythonPackage rec {
|
||||
] ++ dask.optional-dependencies.array
|
||||
++ dask.optional-dependencies.dataframe;
|
||||
|
||||
# has non-standard build from source, and pypi doesn't include tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dask_ml"
|
||||
"dask_ml.naive_bayes"
|
||||
@ -54,10 +61,17 @@ buildPythonPackage rec {
|
||||
"dask_ml.utils"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Scalable Machine Learn with Dask";
|
||||
homepage = "https://github.com/dask/dask-ml";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distributed";
|
||||
version = "2024.4.2";
|
||||
version = "2024.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "dask";
|
||||
repo = "distributed";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xoQ+b7qzstZl9gRNs4jssNOsGQHDdvTXU7pTjBSuyWs=";
|
||||
hash = "sha256-9W5BpBQHw1ZXCOWiFPeIlMns/Yys1gtdwQ4Lhd7qjK8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
--replace 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
setuptools-scm
|
||||
@ -54,7 +54,7 @@ buildPythonPackage rec {
|
||||
"dask"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
click
|
||||
cloudpickle
|
||||
dask
|
||||
|
Loading…
Reference in New Issue
Block a user