Merge pull request #248483 from natsukium/sparse/fix

python310Packages.sparse: fix tests
This commit is contained in:
Fabian Affolter 2023-08-21 12:54:25 +02:00 committed by GitHub
commit 9c15f3f09c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, dask
, fetchpatch
, fetchPypi
, numba
, numpy
@ -21,6 +22,15 @@ buildPythonPackage rec {
hash = "sha256-X1gno39s1vZzClQfmUyVxgo64jKeAfS6Ic7VM5rqAJg=";
};
patches = [
# https://github.com/pydata/sparse/issues/594
(fetchpatch {
name = "fix-test.patch";
url = "https://github.com/pydata/sparse/commit/a55651d630efaea6fd2758d083c6d02333b0eebe.patch";
hash = "sha256-Vrx7MDlKtA8fOuFZenEkvgA70Hzm+p/4SPZuCvwtLuo=";
})
];
propagatedBuildInputs = [
numba
numpy