mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
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"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# missing fixture with distributed>=2022.8.0
|
||||
"test_determinism_distributed"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generalized Linear Models with Dask";
|
||||
homepage = "https://github.com/dask/dask-glm/";
|
||||
|
@ -2,6 +2,7 @@
|
||||
, stdenv
|
||||
, bokeh
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cloudpickle
|
||||
, distributed
|
||||
, fastparquet
|
||||
@ -26,19 +27,28 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask";
|
||||
version = "2022.9.1";
|
||||
version = "2022.10.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = pname;
|
||||
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 = [
|
||||
click
|
||||
cloudpickle
|
||||
fsspec
|
||||
packaging
|
||||
@ -109,6 +119,8 @@ buildPythonPackage rec {
|
||||
"test_read_dir_nometa"
|
||||
] ++ [
|
||||
"test_chunksize_files"
|
||||
# TypeError: 'ArrowStringArray' with dtype string does not support reduction 'min'
|
||||
"test_set_index_string"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
@ -21,14 +21,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distributed";
|
||||
version = "2022.9.1";
|
||||
version = "2022.10.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-upj1TipRhhvulyuhX4bfbQSWar9m7Xu3mIsi48G+ewE=";
|
||||
hash = "sha256-U/Clv276uaWrM0XNkT9tPz1OpETuLtvqMxx/75b9Z9A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -33,10 +33,14 @@ buildPythonPackage rec {
|
||||
# developers' hardware
|
||||
"test_architecture"
|
||||
# https://github.com/joblib/threadpoolctl/issues/128
|
||||
"test_threadpool_limits_by_prefix"
|
||||
"test_controller_info_actualized"
|
||||
"test_command_line_command_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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user