diff --git a/docs/project/changelog.md b/docs/project/changelog.md index 2ec586e3b73..7b48546e5d3 100644 --- a/docs/project/changelog.md +++ b/docs/project/changelog.md @@ -26,6 +26,9 @@ myst: the gil is not held. {pr}`4164` +### Packages + +- Upgraded scipy to 1.11.2 {pr}`4156` ## Version 0.24.0 diff --git a/packages/scipy/meta.yaml b/packages/scipy/meta.yaml index d7a609d9615..5a791c28ca3 100644 --- a/packages/scipy/meta.yaml +++ b/packages/scipy/meta.yaml @@ -1,6 +1,6 @@ package: name: scipy - version: 1.11.1 + version: 1.11.2 tag: - min-scipy-stack top-level: @@ -17,8 +17,8 @@ package: # subroutine. Try deleting it. source: - url: https://files.pythonhosted.org/packages/a6/98/fceb84466a74b8fe74ce2dcc3a0a89cb7b4a689d4775e0fb4c95f335ef6a/scipy-1.11.1.tar.gz - sha256: fb5b492fa035334fd249f0973cc79ecad8b09c604b42a127a677b45a9a3d4289 + url: https://files.pythonhosted.org/packages/9c/ef/87a5565907645998d7c62e76b84b0ca9f0b7c25cd433f5617a968051cec3/scipy-1.11.2.tar.gz + sha256: b29318a5e39bd200ca4381d80b065cdf3076c7d7281c5e36569e99273867f61d patches: - patches/0001-Fix-dstevr-in-special-lapack_defs.h.patch @@ -53,6 +53,10 @@ build: export NPY_BLAS_LIBS="-I$WASM_LIBRARY_DIR/include $WASM_LIBRARY_DIR/lib/libopenblas.so" export NPY_LAPACK_LIBS="-I$WASM_LIBRARY_DIR/include $WASM_LIBRARY_DIR/lib/libopenblas.so" + # setup.py has been renamed to _setup.py in scipy 1.11.2 to discourage its + # usage but we still need it until we manage to build with meson + mv _setup.py setup.py + sed -i 's/recursive //g' scipy/integrate/quadpack/* scipy/interpolate/fitpack/* sed -i 's/void DQA/int DQA/g' scipy/integrate/__quadpack.h