Skip to main content
`Ctrl`+`K`

# SciPy 1.15.2 Release Notes

SciPy 1.15.2 is a bug-fix release with no new features compared to 1.15.1. Free-threaded Python 3.13 wheels for Linux ARM platform are available on PyPI starting with this release.

## Authors

- Name (commits)

- Peter Bell (1)

- Charles Bousseau (1) +

- Jake Bowhay (3)

- Matthew Brett (1)

- Ralf Gommers (3)

- Rohit Goswami (1)

- Matt Haberland (4)

- Parth Nobel (1) +

- Tyler Reddy (33)

- Daniel Schmitz (2)

- Dan Schult (5)

- Scott Shambaugh (2)

- Edgar Andrés Margffoy Tuay (1)

- Warren Weckesser (4)

A total of 14 people contributed to this release. People with a “+” by their names contributed a patch for the first time. This list of names is automatically generated, and may not be fully complete.

### Issues closed for 1.15.2

- #21214: BUG: _lib: crash in uarray on interpreter exit with a free-threaded…

- #21417: BUG: special: Unchecked calls of malloc() and calloc() in specfun.h

- #22183: BUG: Segmentation Fault when passing a special array to `scipy.cluster.hierarch`…

- #22250: BUG: median_filter on 1D array crashes with memory corruption…

- #22314: BUG: special: Potential memory leak in the function `besy()`…

- #22325: BUG: ndimage.median_filter: Heap corruption with scipy 1.15

- #22333: BUG: signal.medfilt and ndimage.median_filter not returning correct…

- #22336: BUG: special: Unchecked malloc in stirling2.h

- #22347: BUG: Matrix multiplication of a coo_matrix with an invalid type…

- #22349: BLD: libhighs.a static library is installed

- #22355: BUG: interpolate test_bary_rational.TestAAA.test_basic_functions…

- #22404: BUG: `scipy.stats.zmap` returns incorrect values for complex…

- #22417: BUG: spatial.transform: `Rotation.from_matrix()` uses inaccurate…

- #22444: BUG: io.loadmat thinks a file with a lot of zeros is valid

- #22458: BUG: Slicing sparse matrix with `None` gives result different…

- #22479: MAINT: scipy.stats: test_regressZEROX SIMD warning for certain…

### Pull requests for 1.15.2

- #22038: BUG: immortalize uarray global strings in order to prevent negative…

- #22080: BUG: special: Fix unchecked memory allocations in `specfun.h`

- #22187: BUG: cluster: `cophenet` intercept invalid linkage matrix count

- #22306: REL, MAINT: prep for 1.15.2

- #22322: MAINT: stats.Mixture: make return type consistent when `shape`…

- #22337: MAINT: stats.Mixture: fix inverse functions when mean is undefined

- #22339: BUG: special: Fix unchecked malloc in stirling2.h

- #22345: TST: turn off dtype check due to endianness

- #22353: BUG: sparse: fix selecting wrong dtype for coo coords

- #22356: TST: interpolate: small tolerance bump to TestAAA.test_basic_functions

- #22357: MAINT: Stop installing `libhighs`

- #22372: BUG: sparse.linalg.norm: add test for and fix return type

- #22373: BUG: sparse: revert NotImplemented return values in dot and matmul

- #22374: DOC: sparse.linalg: add two recent functions to namespace and…

- #22402: BUG: wrap median_filter stability

- #22405: MAINT: stats.zmap: restore support for complex data

- #22408: MAINT: integrate.cumulative_simpson: bump test tolerance

- #22418: BUG: scipy.spatial: Fix inaccurate orthonormalization in `Rotation.from_matrix(`…

- #22423: BUG: special: Fix a memory leak in the AMOS function besy().

- #22446: CI: migrate Linux aarch64 jobs to GitHub Actions, add cp313t…

- #22447: BUG: io.loadmat: throw error on file containing all zeros

- #22472: BUG: sparse: fix spmatrix indexing with None and implicit padding…

- #22482: MAINT: stats: pearsonr SIMD-related shim