python310Packages.sparse: fix tests

+10
+10
pkgs/development/python-modules/sparse/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , dask 4 + , fetchpatch 4 5 , fetchPypi 5 6 , numba 6 7 , numpy ··· 20 21 inherit pname version; 21 22 hash = "sha256-X1gno39s1vZzClQfmUyVxgo64jKeAfS6Ic7VM5rqAJg="; 22 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 + ]; 23 33 24 34 propagatedBuildInputs = [ 25 35 numba