Doron Behar
2025-06-23 14:40:19 +03:00
parent 9efb5b9cb2
commit 5ae70921da
@@ -48,8 +48,8 @@ let
# nix-shell maintainers/scripts/update.nix --argstr package python3.pkgs.scipy
#
# The update script uses sed regexes to replace them with the updated hashes.
version = "1.15.3";
srcHash = "sha256-97z5CLRq/2kWjL2+ewHRA71vSfvCLHVJdOUZfDFnyhM=";
version = "1.16.0";
srcHash = "sha256-PFWUq7RsqMgBK1bTw52y1renoPygWNreikNTFHWE2Ig=";
datasetsHashes = {
ascent = "1qjp35ncrniq9rhzb14icwwykqg2208hcssznn3hz27w39615kh3";
ecg = "1bwbjp43b7znnwha5hv6wiz3g0bhwrpqpi75s12zidxrbwvd62pj";
@@ -104,7 +104,7 @@ buildPythonPackage {
# that override globally the `numpy` attribute to point to `numpy_1`.
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2.0.0,<2.5" numpy
--replace-fail "numpy>=2.0.0,<2.6" numpy
'';
build-system =
@@ -119,7 +119,7 @@ buildPythonPackage {
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Minimal version required according to:
# https://github.com/scipy/scipy/blob/v1.14.0/scipy/meson.build#L185-L188
# https://github.com/scipy/scipy/blob/v1.16.0/scipy/meson.build#L238-L244
(xcbuild.override {
sdkVer = "13.3";
})