Skip to content

Commit

Permalink
MNT Update scipy to 1.11.2 (pyodide#4156)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve authored and hoodmane committed Sep 24, 2023
1 parent a9ca71d commit d4e0e71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/project/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 7 additions & 3 deletions packages/scipy/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: scipy
version: 1.11.1
version: 1.11.2
tag:
- min-scipy-stack
top-level:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d4e0e71

Please sign in to comment.