SciPy 1.18.1 Release Notes#

SciPy 1.18.1 is a bug-fix release with no new features compared to 1.18.0. This release includes binaries on PyPI for Python 3.15, and the minimum required version of the GCC toolchain has been increased to 10.3.0.

Authors#

  • Name (commits)

  • Wasim Akram (2) +

  • Jake Bowhay (1)

  • Michael Bratsch (1)

  • Dietrich Brunn (1)

  • Evgeni Burovski (1)

  • Aadya Chinubhai (1)

  • Lucas Colley (3)

  • Tekin Ertekin (1) +

  • Fuyugithub (2) +

  • Ralf Gommers (11)

  • Joren Hammudoglu (1)

  • Ijtihed Kilani (1) +

  • Andrew Nelson (2)

  • Ilhan Polat (1)

  • Tyler Reddy (39)

  • romao05 (1) +

  • Michael Simacek (1) +

  • Jacob Vanderplas (2)

    A total of 18 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.18.1#

  • #23076: BUG: Incorrect use of NumPy scalar types instead of np.dtype…

  • #24495: BUG: remez hilbert segfault

  • #25340: MAINT, TYP: some typing-related concerns in 1.18.x

  • #25351: BUG: forkserver forcing breaks interpreters that don’t have it

  • #25405: [BUG] Py_XDECREF on borrowed refs in fitpack_sphere (iopt==-1)…

  • #25406: [BUG] Double-free of wrk1/wrk2/iwrk in fitpack_surfit on allocation…

  • #25435: [BUG] Double-DECREF of ap_t in fitpack_parcur — use-after-free…

  • #25436: [BUG] PyTuple_SET_ITEM on unchecked NULL args_tuple in DVODE/ZVODE…

  • #25471: BUG: interpolate: BivariateSpline(grid=False) returns (1,)-shaped…

  • #25489: BUG: copy.deepcopy and pickle fail for interpolation…

  • #25522: BUG: test_convergence fails very often on aarch64-linux

  • #25572: CI: 32-bit Linux job is failing because numpy needs GCC 10 now

  • #25657: BUG: linalg.signm unpredictable output dtype

  • #25730: BUG: RectBivariateSpline interpolation issues with new fitpack…

  • #25864: BUG: linalg.expm matrix L1-norm implemented as infinity norm

  • #25924: BUG: Batched linalg.expm Accuracy Regression

Pull requests for 1.18.1#

  • #24923: BUG: sparse: fix get_sum_dtype return type consistency

  • #25352: BUG: use forkserver only when available

  • #25407: BUG: interpolate: INCREF borrowed refs at assignment in fitpack_sphere

  • #25443: REL, MAINT: prepare for SciPy 1.18.1

  • #25450: BUG: interpolate: fix double-free of wrk buffers in fitpack_surfit

  • #25484: BUG: interpolate: coerce non-contiguous input in surfit wrappers

  • #25500: BUG: interpolate: ensure interpolators are pickleable

  • #25507: BUG/MAINT: fix refcounting and error handling in fitpack_parcur

  • #25508: API: linalg.bandwidth: revert int to np.int64 type change

  • #25509: API: stats.binomtest: revert k, n type change from int

  • #25521: BUG: integrate: guard against NULL PyTuple_New in DVODE/ZVODE…

  • #25542: BUG: interpolate: fix shapes of {Rect,Smooth}BivariateSpline…

  • #25579: BLD/CI: bump minimum GCC version to 10.3.0, fix i686 Linux CI…

  • #25581: DOC/MAINT: Make the forum icon in header visible again

  • #25602: BUG: signal: fix segfault in remez for too-narrow bands

  • #25609: BUG/TYP: interpolate: restore __class_getitem__ methods…

  • #25632: TST: sparse.linalg: skip tfqmr/rand-sym-pd-F on all platforms

  • #25638: BUG: make_splprep does not validate periodic endpoints at…

  • #25658: BUG: linalg.signm: preserve input dtype for defective matrices

  • #25690: BUG: special.eval_gegenbauer: fix UBSAN crash for NaN

  • #25726: dfitpack.c: avoid potentially undefined float->int cast

  • #25764: BUG: interpolate: flatten the grid coordinates before evaluating…

  • #25913: BLD: package: pin meson on win-64 to avoid clang-cl bug

  • #25934: MAINT/BUG:linalg.expm: fix the norms and recover batch handling

  • #25958: TST: stats - bump some tolerances