Skip to content

Commit

Permalink
Merge pull request #199857 from mweinelt/dask-2022.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Nov 6, 2022
2 parents 99801a5 + 0cd89bb commit 8eebbcb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/dask-glm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down
18 changes: 15 additions & 3 deletions pkgs/development/python-modules/dask/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, bokeh
, buildPythonPackage
, click
, cloudpickle
, distributed
, fastparquet
Expand All @@ -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
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/distributed/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
8 changes: 6 additions & 2 deletions pkgs/development/python-modules/threadpoolctl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 8eebbcb

Please sign in to comment.