python3Packages.scipy: pull an upstream patch

In particular, this fixes crashes in .scikit-learn tests:
https://hydra.nixos.org/build/198810166
This commit is contained in:
Vladimír Čunát 2022-11-17 10:43:37 +01:00
parent c4f0006139
commit a14bb81af7
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchPypi
, fetchpatch
, python
, pythonOlder
, buildPythonPackage
@ -28,6 +29,13 @@ buildPythonPackage rec {
sha256 = "sha256-JtKMRokA5tX9s30oEqtG2wzNIsY7qglQV4cfqjpJi8k=";
};
patches = [
(fetchpatch {
url = "https://github.com/scipy/scipy/commit/318d8c6d16fdf000be8637e9917989729f2c8ce7.diff";
sha256 = "sha256-Zfb9GYP0r9MDJ91hSzMN1r4eNilajPThNIvZmDzFEXo=";
})
];
nativeBuildInputs = [ cython gfortran meson-python pythran pkg-config wheel ];
buildInputs = [