python310Packages.distributed: 2023.2.1 -> 2023.4.1

Changelog: https://github.com/dask/distributed/blob/2023.4.1/docs/source/changelog.rst
This commit is contained in:
Fabian Affolter 2023-05-03 12:59:49 +02:00
parent 1ff212f0fe
commit d15f5daf89

View file

@ -3,7 +3,7 @@
, click
, cloudpickle
, dask
, fetchPypi
, fetchFromGitHub
, jinja2
, locket
, msgpack
@ -11,31 +11,43 @@
, psutil
, pythonOlder
, pyyaml
, setuptools
, setuptools-scm
, sortedcontainers
, tblib
, toolz
, tornado
, urllib3
, versioneer
, wheel
, zict
}:
buildPythonPackage rec {
pname = "distributed";
version = "2023.2.1";
format = "setuptools";
version = "2023.4.1";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-E0eks6HlJzZy/XqHRxQJ4brEcLS9tniMkYMT1FoikRs=";
src = fetchFromGitHub {
owner = "dask";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-KCgftu3i8N0WSelHiqWqa1vLN5gUtleftSUx1Zu4nZg=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "tornado >= 6.0.3, <6.2" "tornado >= 6.0.3"
substituteInPlace pyproject.toml \
--replace 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = [
setuptools
setuptools-scm
versioneer
];
propagatedBuildInputs = [
click
cloudpickle
@ -64,6 +76,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Distributed computation in Python";
homepage = "https://distributed.readthedocs.io/";
changelog = "https://github.com/dask/distributed/blob/${version}/docs/source/changelog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ teh costrouc ];
};