summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/dask
diff options
context:
space:
mode:
authorThiago Franco de Moraes <totonixsame@gmail.com>2021-06-20 18:50:00 -0300
committerThiago Franco de Moraes <totonixsame@gmail.com>2021-06-21 15:33:35 -0300
commitbd4130d6931364ce77e4a7dbf8856b194fd935d8 (patch)
tree08351a93a6026f08d28693c4667775098bdb2e20 /pkgs/development/python-modules/dask
parentMerge pull request #127588 from mweinelt/home-assistant (diff)
downloadnixpkgs-bd4130d6931364ce77e4a7dbf8856b194fd935d8.tar.gz
python3Packages.dask: 2021.03.0 -> 2021.06.1
Diffstat (limited to 'pkgs/development/python-modules/dask')
-rw-r--r--pkgs/development/python-modules/dask/default.nix21
1 files changed, 8 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix
index 55ba3ad6ba7f..b51ac1701a2e 100644
--- a/pkgs/development/python-modules/dask/default.nix
+++ b/pkgs/development/python-modules/dask/default.nix
@@ -2,7 +2,6 @@
, stdenv
, bokeh
, buildPythonPackage
-, fetchpatch
, fetchFromGitHub
, fsspec
, pytestCheckHook
@@ -21,14 +20,14 @@
buildPythonPackage rec {
pname = "dask";
- version = "2021.03.0";
+ version = "2021.06.1";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "dask";
repo = pname;
rev = version;
- sha256 = "LACv7lWpQULQknNGX/9vH9ckLsypbqKDGnsNBgKT1eI=";
+ sha256 = "sha256-wrUqLSmlKhd0NSjWBwbow8aX53ZBTgl2n4lEmvxC3bs=";
};
propagatedBuildInputs = [
@@ -54,16 +53,6 @@ buildPythonPackage rec {
dontUseSetuptoolsCheck = true;
- patches = [
- # dask dataframe cannot be imported in sandboxed builds
- # See https://github.com/dask/dask/pull/7601
- (fetchpatch {
- url = "https://github.com/dask/dask/commit/9ce5b0d258cecb3ef38fd844135ad1f7ac3cea5f.patch";
- sha256 = "sha256-1EVRYwAdTSEEH9jp+UOnrijzezZN3iYR6q6ieYJM3kY=";
- name = "fix-dask-dataframe-imports-in-sandbox.patch";
- })
- ];
-
postPatch = ''
# versioneer hack to set version of github package
echo "def get_versions(): return {'dirty': False, 'error': None, 'full-revisionid': None, 'version': '${version}'}" > dask/_version.py
@@ -82,6 +71,12 @@ buildPythonPackage rec {
# this test requires features of python3Packages.psutil that are
# blocked in sandboxed-builds
"test_auto_blocksize_csv"
+ ] ++ [
+ # A deprecation warning from newer sqlalchemy versions makes these tests
+ # to fail https://github.com/dask/dask/issues/7406
+ "test_sql"
+ # Test interrupt fails intermittently https://github.com/dask/dask/issues/2192
+ "test_interrupt"
];
__darwinAllowLocalNetworking = true;