python3Packages.distributed: 2021.12.0 -> 2022.2.0

This commit is contained in:
Fabian Affolter 2022-02-14 19:13:43 +01:00 committed by Frederik Rietdijk
parent 6148760cc2
commit ad822f9985

View File

@ -19,20 +19,17 @@
buildPythonPackage rec {
pname = "distributed";
version = "2021.12.0";
disabled = pythonOlder "3.6";
version = "2022.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
# get full repository need conftest.py to run tests
src = fetchPypi {
inherit pname version;
sha256 = "c6119a2cf1fb2d8ac60337915bb9a790af6530afcb5d7a809a3308323b874714";
hash = "sha256-Gi9u7JczpnAEg53E7N5tXBfAeWZaLBVzRU3SpbU3bZU=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "dask == 2021.11.2" "dask"
'';
propagatedBuildInputs = [
bokeh
click
@ -49,10 +46,17 @@ buildPythonPackage rec {
zict
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "dask == 2022.02.0" "dask"
'';
# when tested random tests would fail and not repeatably
doCheck = false;
pythonImportsCheck = [ "distributed" ];
pythonImportsCheck = [
"distributed"
];
meta = with lib; {
description = "Distributed computation in Python";