scipy-stubs breaking changes
scipy-stubs 1.18.1.0 (August 22, 2026) is its newest release with breaking changes, 25 of them. The first: Behavior changed cluster.vq. Every breaking API change we have recorded in scipy-stubs on PyPI: 25 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.18.1.1, released September 20, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
scipy-stubs 1.18.1.0 breaking changes
- Behavior changed
cluster.vq
The stubbed return shape of vq for 1d input is now 1d. github.com - Behavior changed
linalg.blas.find_best_blas_type
The stubbed return type literal for float64 was corrected. github.com - Behavior changed
linalg.get_lapack_funcs
Typing overloads were added for single and multiple names, which changes inferred return types. github.com - Behavior changed
linalg.norm
The stubbed return type for this combination was corrected. github.com - Behavior changed
linalg.pascal
With exact=True, the stubbed return dtype of pascal changed from int64 to uint64. github.com - Behavior changed
ndimage.labeled_comprehension
Calls passing labels=None together with a non-None index are now rejected by the stubs. github.com - Behavior changed
optimize.dual_annealing
The stubbed return type of dual_annealing is now a specialized OptimizeResult. github.com - Behavior changed
optimize.fsolve
The njev key of the infodict is now marked as not required in the stubs. github.com - Behavior changed
optimize.minimize
Method-dependent result keys and the nfev type for COBYLA were changed in the stubs. github.com - Behavior changed
signal.[d]lti
An __init__ was added to the signal dlti/lti stubs for compatibility with pyrefly and ty. github.com - Behavior changed
sparse.linalg.expm_multiply
When B is sparse, expm_multiply's stubbed return type is now sparse rather than dense. github.com - Behavior changed
sparse.linalg.matrix_power
The stubbed return types when power is 0 or 1 were changed. github.com - Behavior changed
sparse.linalg.spsolve
When b is sparse, spsolve's stubbed return type is now sparse rather than dense, which can affect code that expects a dense result. github.com - Behavior changed
spatial.distance
The stubbed literal set now includes matching. github.com - Behavior changed
spatial.distance.seuclidean
The stubbed return type is narrowed to np.float64. github.com - Behavior changed
spatial.KDTree.query
Return types are now shape-dependent in the stubs. github.com - Behavior changed
stats.gaussian_kde.dataset
The stubbed dtype of dataset was corrected. github.com - Behavior changed
stats.median_abs_deviation
The stubbed return type when axis=None was corrected. github.com - Behavior changed
stats.mstats.f_oneway
The stubbed input arity of f_oneway was changed. github.com - Behavior changed
stats.mstats.kruskal
The stubbed input arity of kruskal was changed. github.com - Behavior changed
stats.rv_continuous.stats
A typo in the stubbed parameter name was fixed so the parameter is now named moments. github.com - Behavior changed
stats.rvs
The stubs now accept size=None for rvs on these distributions. github.com - Behavior changed
stats.wasserstein_distance_nd
For 1d input the stubbed return type is now float rather than float64. github.com - Signature changed
stats.mstats.friedmanchisquare
The input signature of friedmanchisquare was changed in the stubs to match upstream typing; existing calls may be flagged differently by type checkers. github.com - Signature changed
stats.mstats.tvar
The input signature and return type of tvar were changed in the stubs. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.