python312Packages.dask-mpi: unbreak with patch

This commit is contained in:
Peder Bergebakken Sundt 2024-04-18 00:23:32 +02:00
parent 7e02555456
commit d96bb4fc21
1 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, dask
, distributed
, mpi4py
@ -19,6 +20,15 @@ buildPythonPackage rec {
hash = "sha256-CgTx19NaBs3/UGWTMw1EFOokLJFySYzhkfV0LqxJnhc=";
};
patches = [
# https://github.com/dask/dask-mpi/pull/123
(fetchpatch {
name = "fix-versioneer-on-python312.patch";
url = "https://github.com/dask/dask-mpi/pull/123/commits/0f3b0286b7e29b5d5475561a148dc398108fc259.patch";
hash = "sha256-xXADCSIhq1ARny2twzrhR1J8LkMFWFl6tmGxrM8RvkU=";
})
];
propagatedBuildInputs = [
dask
distributed