---
title: "scipy-stubs 1.18.1.0 Breaking Changes on PyPI | Since.dev"
description: "What each scipy-stubs release removed, renamed or changed: 25 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/scipy-stubs
last_updated: 2026-12-04
---

# 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

Latest version `1.18.1.1`, released September 20, 2026. [Source repository](https://github.com/scipy/scipy-stubs)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## scipy-stubs 1.18.1.0 breaking changes

scipy-stubs 1.18.1.0, released August 22, 2026: 25 breaking changes.

- **Behavior changed** `cluster.vq`  

The stubbed return shape of vq for 1d input is now 1d. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `linalg.blas.find_best_blas_type`  

The stubbed return type literal for float64 was corrected. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `linalg.get_lapack_funcs`  

Typing overloads were added for single and multiple names, which changes inferred return types. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `linalg.norm`  

The stubbed return type for this combination was corrected. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `linalg.pascal`  

With exact=True, the stubbed return dtype of pascal changed from int64 to uint64. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `ndimage.labeled_comprehension`  

Calls passing labels=None together with a non-None index are now rejected by the stubs. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `optimize.dual_annealing`  

The stubbed return type of dual_annealing is now a specialized OptimizeResult. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `optimize.fsolve`  

The njev key of the infodict is now marked as not required in the stubs. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `optimize.minimize`  

Method-dependent result keys and the nfev type for COBYLA were changed in the stubs. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `signal.[d]lti`  

An \_\_init\_\_ was added to the signal dlti/lti stubs for compatibility with pyrefly and ty. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `sparse.linalg.expm_multiply`  

When B is sparse, expm_multiply's stubbed return type is now sparse rather than dense. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `sparse.linalg.matrix_power`  

The stubbed return types when power is 0 or 1 were changed. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **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](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `spatial.distance`  

The stubbed literal set now includes matching. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `spatial.distance.seuclidean`  

The stubbed return type is narrowed to np.float64. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `spatial.KDTree.query`  

Return types are now shape-dependent in the stubs. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.gaussian_kde.dataset`  

The stubbed dtype of dataset was corrected. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.median_abs_deviation`  

The stubbed return type when axis=None was corrected. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.mstats.f_oneway`  

The stubbed input arity of f_oneway was changed. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.mstats.kruskal`  

The stubbed input arity of kruskal was changed. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.rv_continuous.stats`  

A typo in the stubbed parameter name was fixed so the parameter is now named moments. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.rvs`  

The stubs now accept size=None for rvs on these distributions. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Behavior changed** `stats.wasserstein_distance_nd`  

For 1d input the stubbed return type is now float rather than float64. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **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](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)
- **Signature changed** `stats.mstats.tvar`  

The input signature and return type of tvar were changed in the stubs. [github.com](https://github.com/scipy/scipy-stubs/releases/tag/v1.18.1.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
