python3.pkgs.scipy: 1.9.3 -> 1.10.1

This commit is contained in:
Doron Behar 2023-01-07 09:03:50 +02:00 committed by Martin Weinelt
parent 5a6143b663
commit 0d6e54e629
2 changed files with 20 additions and 2 deletions

View File

@ -15,24 +15,33 @@
, pytest-xdist
, numpy
, pybind11
, pooch
, libxcrypt
}:
buildPythonPackage rec {
pname = "scipy";
version = "1.9.3";
version = "1.10.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+8XAXIXBoCvnex/1kQh8g7xEV5xtK9n7eYu2TqXhoCc=";
sha256 = "sha256-LPnfuAp7RYm6TEDOdYiYbW1c68VFfK0sKID2vC1C86U=";
};
patches = [
# These tests require internet connection, currently impossible to disable
# them otherwise, see:
# https://github.com/scipy/scipy/pull/17965
./disable-datasets-tests.patch
];
nativeBuildInputs = [ cython gfortran meson-python pythran pkg-config wheel ];
buildInputs = [
numpy.blas
pybind11
pooch
] ++ lib.optionals (pythonOlder "3.9") [
libxcrypt
];

View File

@ -0,0 +1,9 @@
diff --git i/scipy/datasets/meson.build w/scipy/datasets/meson.build
index 101377253..eec2feea4 100644
--- i/scipy/datasets/meson.build
+++ w/scipy/datasets/meson.build
@@ -11,4 +11,3 @@ py3.install_sources(
subdir: 'scipy/datasets'
)
-subdir('tests')