python3Packages.dask: fixup build by upstream patches

Updating turns out difficult; see WIP in PR #303043
This commit is contained in:
Vladimír Čunát 2024-04-19 07:36:41 +02:00
parent ae22f8403a
commit e2c4ab09c7
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
1 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
# build-system
, setuptools
@ -50,6 +51,19 @@ buildPythonPackage rec {
hash = "sha256-8VFtKPaF0PqCjqFB+plFe1GjUno5j7j86+wxKhzByyw=";
};
patches = [
# A pair of fixes with python 3.11.9, merged upstream;
# see https://github.com/dask/dask/issues/11038
(fetchpatch {
url = "https://github.com/dask/dask/pull/11035.diff";
hash = "sha256-aQTzas8gn7pCyp7L6VV3NpSYgqC1Ov7YN7YGnX0Vwmo=";
})
(fetchpatch {
url = "https://github.com/dask/dask/pull/11039.diff";
hash = "sha256-gvEEvnyhFlhiFvVaB6jwMy4auUOvECf49FbFJyjqQm4=";
})
];
nativeBuildInputs = [
setuptools
wheel