Merge pull request #199857 from mweinelt/dask-2022.10.2
This commit is contained in:
commit
8eebbcbae5
@ -54,6 +54,11 @@ buildPythonPackage rec {
|
|||||||
"dask_glm/tests/test_utils.py"
|
"dask_glm/tests/test_utils.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# missing fixture with distributed>=2022.8.0
|
||||||
|
"test_determinism_distributed"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generalized Linear Models with Dask";
|
description = "Generalized Linear Models with Dask";
|
||||||
homepage = "https://github.com/dask/dask-glm/";
|
homepage = "https://github.com/dask/dask-glm/";
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, bokeh
|
, bokeh
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, click
|
||||||
, cloudpickle
|
, cloudpickle
|
||||||
, distributed
|
, distributed
|
||||||
, fastparquet
|
, fastparquet
|
||||||
@ -26,19 +27,28 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dask";
|
pname = "dask";
|
||||||
version = "2022.9.1";
|
version = "2022.10.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-4Tok9eYhi2FF+8bpKnwKT3KIRGHIMtxczTkZ6qD8x7g=";
|
hash = "sha256-zHJR2WjHigUMWtRJW25+gk1fKGKedU53BBjwx5zaodA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# Fix test_repartition_npartitions on platforms other than x86-64
|
||||||
|
url = "https://github.com/dask/dask/commit/65f40ad461c57065f981e6213e33b1d13cc9bc8f.patch";
|
||||||
|
hash = "sha256-KyTSms4ik1kYtL+I/huAxD+zK2AAuPkwmHA9FYk601Y=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
click
|
||||||
cloudpickle
|
cloudpickle
|
||||||
fsspec
|
fsspec
|
||||||
packaging
|
packaging
|
||||||
@ -109,6 +119,8 @@ buildPythonPackage rec {
|
|||||||
"test_read_dir_nometa"
|
"test_read_dir_nometa"
|
||||||
] ++ [
|
] ++ [
|
||||||
"test_chunksize_files"
|
"test_chunksize_files"
|
||||||
|
# TypeError: 'ArrowStringArray' with dtype string does not support reduction 'min'
|
||||||
|
"test_set_index_string"
|
||||||
];
|
];
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
@ -21,14 +21,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "distributed";
|
pname = "distributed";
|
||||||
version = "2022.9.1";
|
version = "2022.10.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-upj1TipRhhvulyuhX4bfbQSWar9m7Xu3mIsi48G+ewE=";
|
hash = "sha256-U/Clv276uaWrM0XNkT9tPz1OpETuLtvqMxx/75b9Z9A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -33,10 +33,14 @@ buildPythonPackage rec {
|
|||||||
# developers' hardware
|
# developers' hardware
|
||||||
"test_architecture"
|
"test_architecture"
|
||||||
# https://github.com/joblib/threadpoolctl/issues/128
|
# https://github.com/joblib/threadpoolctl/issues/128
|
||||||
"test_threadpool_limits_by_prefix"
|
|
||||||
"test_controller_info_actualized"
|
|
||||||
"test_command_line_command_flag"
|
"test_command_line_command_flag"
|
||||||
"test_command_line_import_flag"
|
"test_command_line_import_flag"
|
||||||
|
"test_controller_info_actualized"
|
||||||
|
"test_set_threadpool_limits_by_api"
|
||||||
|
"test_set_threadpool_limits_no_limit"
|
||||||
|
"test_threadpool_limits_by_prefix"
|
||||||
|
"test_threadpool_limits_function_with_side_effect"
|
||||||
|
"test_threadpool_limits_manual_restore"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
Loading…
Reference in New Issue
Block a user