python3Packages.dask: 2021.03.0 -> 2021.06.1
This commit is contained in:
parent
23c5d04f56
commit
bd4130d693
1 changed files with 8 additions and 13 deletions
|
@ -2,7 +2,6 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, bokeh
|
, bokeh
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchpatch
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fsspec
|
, fsspec
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -21,14 +20,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dask";
|
pname = "dask";
|
||||||
version = "2021.03.0";
|
version = "2021.06.1";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dask";
|
owner = "dask";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "LACv7lWpQULQknNGX/9vH9ckLsypbqKDGnsNBgKT1eI=";
|
sha256 = "sha256-wrUqLSmlKhd0NSjWBwbow8aX53ZBTgl2n4lEmvxC3bs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -54,16 +53,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
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 = ''
|
postPatch = ''
|
||||||
# versioneer hack to set version of github package
|
# 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
|
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
|
# this test requires features of python3Packages.psutil that are
|
||||||
# blocked in sandboxed-builds
|
# blocked in sandboxed-builds
|
||||||
"test_auto_blocksize_csv"
|
"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;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
Loading…
Reference in a new issue