···34 # nix-shell maintainers/scripts/update.nix --argstr package python3.pkgs.scipy
35 #
36 # The update script uses sed regexes to replace them with the updated hashes.
37- version = "1.12.0";
38- srcHash = "sha256-PuiyYTgSegDTV9Kae5N68FOXT1jyJrNv9p2aFP70Z20=";
39 datasetsHashes = {
40 ascent = "1qjp35ncrniq9rhzb14icwwykqg2208hcssznn3hz27w39615kh3";
41 ecg = "1bwbjp43b7znnwha5hv6wiz3g0bhwrpqpi75s12zidxrbwvd62pj";
···76 "doc/source/dev/contributor/meson_advanced.rst"
77 ];
78 })
79- (fetchpatch {
80- name = "openblas-0.3.26-compat.patch";
81- url = "https://github.com/scipy/scipy/commit/8c96a1f742335bca283aae418763aaba62c03378.patch";
82- hash = "sha256-SGoYDxwSAkr6D5/XEqHLerF4e4nmmI+PX+z+3taWAps=";
83- })
84 ];
8586- # Upstream complicated numpy version pinning is causing issues in the
87- # configurePhase, so we pass on it.
0088 postPatch = ''
89 substituteInPlace pyproject.toml \
90- --replace-fail 'numpy==' 'numpy>=' \
91 '';
9293 nativeBuildInputs = [
···34 # nix-shell maintainers/scripts/update.nix --argstr package python3.pkgs.scipy
35 #
36 # The update script uses sed regexes to replace them with the updated hashes.
37+ version = "1.13.0";
38+ srcHash = "sha256-HaYk92hOREHMOXppK+Bs9DrBu9KUVUsZ0KV+isTofUo=";
39 datasetsHashes = {
40 ascent = "1qjp35ncrniq9rhzb14icwwykqg2208hcssznn3hz27w39615kh3";
41 ecg = "1bwbjp43b7znnwha5hv6wiz3g0bhwrpqpi75s12zidxrbwvd62pj";
···76 "doc/source/dev/contributor/meson_advanced.rst"
77 ];
78 })
0000079 ];
8081+ # Upstream says in a comment in their pyproject.toml that building against
82+ # both numpy 2 and numpy 1 should work, but they seem to worry about numpy
83+ # incompatibilities that we here with Nixpkgs' Python ecosystem, shouldn't
84+ # experience.
85 postPatch = ''
86 substituteInPlace pyproject.toml \
87+ --replace-fail 'numpy>=2.0.0rc1,' 'numpy' \
88 '';
8990 nativeBuildInputs = [