python310Packages.sparse: fix tests

+10
+10
pkgs/development/python-modules/sparse/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , dask 4 , fetchPypi 5 , numba 6 , numpy ··· 20 inherit pname version; 21 hash = "sha256-X1gno39s1vZzClQfmUyVxgo64jKeAfS6Ic7VM5rqAJg="; 22 }; 23 24 propagatedBuildInputs = [ 25 numba
··· 1 { lib 2 , buildPythonPackage 3 , dask 4 + , fetchpatch 5 , fetchPypi 6 , numba 7 , numpy ··· 21 inherit pname version; 22 hash = "sha256-X1gno39s1vZzClQfmUyVxgo64jKeAfS6Ic7VM5rqAJg="; 23 }; 24 + 25 + patches = [ 26 + # https://github.com/pydata/sparse/issues/594 27 + (fetchpatch { 28 + name = "fix-test.patch"; 29 + url = "https://github.com/pydata/sparse/commit/a55651d630efaea6fd2758d083c6d02333b0eebe.patch"; 30 + hash = "sha256-Vrx7MDlKtA8fOuFZenEkvgA70Hzm+p/4SPZuCvwtLuo="; 31 + }) 32 + ]; 33 34 propagatedBuildInputs = [ 35 numba