From e2c4ab09c7356b27f5eb561824a65cad321205b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 19 Apr 2024 07:36:41 +0200 Subject: [PATCH] python3Packages.dask: fixup build by upstream patches Updating turns out difficult; see WIP in PR #303043 --- pkgs/development/python-modules/dask/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index be177b033f07..ee12386ae3d8 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -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