Scipy-stubs

Latest version: v1.15.2.1

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.15.2.1

<!-- Release notes generated using configuration in .github/release.yml at v1.15.2.1 -->

What's Changed

✨ Improvements

* `interpolate`: improved support for complex splines by jorenham in https://github.com/scipy/scipy-stubs/pull/477

🐛 Fixes
* `optimize`: allow calling `minimize_scalar` without a `bracket` by jorenham in https://github.com/scipy/scipy-stubs/pull/467
* `transform`: accept proper Euler angles in `Rotation.as_euler` by KiSchnelle in https://github.com/scipy/scipy-stubs/pull/470
* `interpolate`: accept scalar input in `__call__` by jorenham and ev-br in https://github.com/scipy/scipy-stubs/pull/476 and https://github.com/scipy/scipy-stubs/pull/478

📝 Documentation
* add a "typed" badge by jorenham in https://github.com/scipy/scipy-stubs/pull/468

Dependencies
* ⬆️ bump `ruff` to `0.9.7` by jorenham in https://github.com/scipy/scipy-stubs/pull/460
* ⬆️ `basedpyright 1.28.1` and `ruff 0.9.9` by jorenham in https://github.com/scipy/scipy-stubs/pull/466

Other Changes
* 🔖 prepare for further development by jorenham in https://github.com/scipy/scipy-stubs/pull/458
* 💄 `add-trailing-comma` by jorenham in https://github.com/scipy/scipy-stubs/pull/461
* 🔥 remove the codemods by jorenham in https://github.com/scipy/scipy-stubs/pull/462
* 🔧 fix the `add-trailing-comma` hook to also work on `.pyi` by jorenham in https://github.com/scipy/scipy-stubs/pull/463
* 🔥 remove pre-commit by jorenham in https://github.com/scipy/scipy-stubs/pull/469

New Contributors
* KiSchnelle made their first contribution in https://github.com/scipy/scipy-stubs/pull/470
* ev-br made their first contribution in https://github.com/scipy/scipy-stubs/pull/478

**Full Changelog**: https://github.com/scipy/scipy-stubs/compare/v1.15.2.0...v1.15.2.1

1.15.2.0

<!-- Release notes generated using configuration in .github/release.yml at v1.15.2.0 -->

⭐ Highlights

- The repo has been transferred from `jorenham/scipy-stubs` to [`scipy/scipy-stubs`](https://github.com/scipy/scipy-stubs) by rgommers
- Support for SciPy 1.15.2 and NumPy 2.2.3

What's Changed

✨ Improvements
* `special`: improved dtype handling in the "basic" functions by jorenham in https://github.com/scipy/scipy-stubs/pull/419
* `signal`: generic `lti`, and `dlti` types by jorenham in https://github.com/scipy/scipy-stubs/pull/425
* `optimize`: improved `linprog` and `milp` annotations by jorenham in https://github.com/scipy/scipy-stubs/pull/427
* `optimize`: method-specific overloads and options for `minimize_scalar` by jorenham in https://github.com/scipy/scipy-stubs/pull/428
* `optimize`: Generic `InverseJacobian` and related types by jorenham in https://github.com/scipy/scipy-stubs/pull/429
* `signal`: improvements related to `czt` and `zoom_fft` by jorenham in https://github.com/scipy/scipy-stubs/pull/430
* `sparse`: generic `sparray` by jorenham in https://github.com/scipy/scipy-stubs/pull/435
* `stats.zmap`: accept complex input and basic shape-typing by jorenham in https://github.com/scipy/scipy-stubs/pull/457

🐛 Fixes
* `stats`: fix `rv_discrete` sample constructor by jorenham in https://github.com/scipy/scipy-stubs/pull/418
* `signal`: add plain number option for `find_peaks` argument prominence by drewsilcock in https://github.com/scipy/scipy-stubs/pull/448
* `stats`: make `optimizer` argument optional in `rv_continuous.fit()` by drewsilcock in https://github.com/scipy/scipy-stubs/pull/451

📝 Documentation
* Use SciPy's Code of Conduct by jorenham in https://github.com/scipy/scipy-stubs/pull/439
* Streamlined contributing guide by jorenham in https://github.com/scipy/scipy-stubs/pull/445

⬆️ Dependencies
* bump `sp-repo-review` to `2025.1.22` by jorenham in https://github.com/scipy/scipy-stubs/pull/426
* bump `basedpyright` to `1.27.1`, `ruff` to `0.9.6` by jorenham in https://github.com/scipy/scipy-stubs/pull/454
* Optype 0.9.1 by jorenham in https://github.com/scipy/scipy-stubs/pull/449
* NumPy 2.2.3 by jorenham in https://github.com/scipy/scipy-stubs/pull/455
* SciPy 1.15.2 by jorenham in https://github.com/scipy/scipy-stubs/pull/456

Other Changes
* 🔖 prepare for further development by jorenham in https://github.com/scipy/scipy-stubs/pull/415
* 🎨 optype 0.9 simplifications by jorenham in https://github.com/scipy/scipy-stubs/pull/424
* 🔨 more `tox`, less `poe` by jorenham in https://github.com/scipy/scipy-stubs/pull/431
* ⬆️ bump `ruff` to `0.9.3` by jorenham in https://github.com/scipy/scipy-stubs/pull/432
* 🎨 `sparse`: prefer `optype.numpy` over `scipy._typing` by jorenham in https://github.com/scipy/scipy-stubs/pull/434
* 💸 remove the sponsor button by jorenham in https://github.com/scipy/scipy-stubs/pull/437
* 🔧 scipy.org as homepage and add scipy-dev as maintainer by jorenham in https://github.com/scipy/scipy-stubs/pull/440
* 🔧 `.toml` auto-format config for vscode users by jorenham in https://github.com/scipy/scipy-stubs/pull/444
* 🚚 change `jorenham/scipy-stubs` refs to `scipy/scipy-stubs` by jorenham in https://github.com/scipy/scipy-stubs/pull/446
* 🔨 use `uv` as source of python versions by jorenham in https://github.com/scipy/scipy-stubs/pull/452

New Contributors
* drewsilcock made their first contribution in https://github.com/scipy/scipy-stubs/pull/448

**Full Changelog**: https://github.com/scipy/scipy-stubs/compare/v1.15.1.0...v1.15.2.0

1.15.1.0

<!-- Release notes generated using configuration in .github/release.yml at v1.15.1.0 -->

This is the first `scipy-stubs` release that supports SciPy 1.15.1.

What's Changed

Improvements

* 🎨 remove outdated ` TODO`'s by jorenham in https://github.com/jorenham/scipy-stubs/pull/408
* ✨ `spatial`: generic `[c]KDTree` and other improvements by jorenham in https://github.com/jorenham/scipy-stubs/pull/413

Dependencies
* ⬆️ bump `ruff` to `0.8.5` by jorenham in https://github.com/jorenham/scipy-stubs/pull/396
* ⬆️ bump `scipy` to `1.15.0` (final) by jorenham in https://github.com/jorenham/scipy-stubs/pull/409
* ⬆️ bump dev deps to latest by jorenham in https://github.com/jorenham/scipy-stubs/pull/410
* ⬆️ bump `ruff` to `0.9.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/412
* 📌 SciPy 1.15.1 by jorenham in https://github.com/jorenham/scipy-stubs/pull/414

Other Changes
* 🎨 fix and run the `FixTrailingComma` codemod by jorenham in https://github.com/jorenham/scipy-stubs/pull/397

**Full Changelog**: https://github.com/jorenham/scipy-stubs/compare/v1.15.0.0...v1.15.1.0

1.15.0.0

<!-- Release notes generated using configuration in .github/release.yml at v1.15.0.0 -->

This is the first `scipy-stubs` release that supports SciPy 1.15.0.

What's Changed

SciPy 1.15.0 compatability

* ⬆️ increase the minimum `scipy` version to `1.15.0rc1` by jorenham in https://github.com/jorenham/scipy-stubs/pull/327
* 🚧 temporarily ignore all stubtest errors by jorenham in https://github.com/jorenham/scipy-stubs/pull/326
* ⚰️ `misc`: remove all code by jorenham in https://github.com/jorenham/scipy-stubs/pull/328
* ✨ `differentiate`: preliminary (yet complete) stubs by jorenham in https://github.com/jorenham/scipy-stubs/pull/329
* 🏷️ `_typing`: SPEC-7 compliant (private) `ToRNG` type alias (previously `Seed`) by jorenham in https://github.com/jorenham/scipy-stubs/pull/333
* 👽️ `fft[pack]`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/336
* 👽️ `integrate`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/337
* 👽️ `interpolate`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/338
* 👽️ `constants`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/330
* 👽️ `_lib`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/331
* 👽️ `cluster`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/334
* 👽️ `io`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/341
* 👽️ `linalg.interpolative`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/343
* 👽️ `linalg`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/344
* 👽️ `version`: 1.15.0 remove `commit_count` by jorenham in https://github.com/jorenham/scipy-stubs/pull/345
* 👽️ `ndimage`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/346
* 👽️ `optimize`: SPEC 7 & scipy 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/347
* 👽️ `sparse`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/349
* 👽️ `special`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/351
* 👽️ `signal`: 1.15.0 support by jorenham in https://github.com/jorenham/scipy-stubs/pull/348
* 👽️ `spatial`: 1.15.0 support and many improvements by jorenham in https://github.com/jorenham/scipy-stubs/pull/350
* 👽️ `stats`: 1.15.0 support and several improvements by jorenham in https://github.com/jorenham/scipy-stubs/pull/353
* 👽️ `sparse`: accept `axes: tuple[int[:], int[:]]` in `coo_array.tensordot` by jorenham in https://github.com/jorenham/scipy-stubs/pull/357
* 👽️ `stats`: 1.15.0 new distribution infrastructure by jorenham in https://github.com/jorenham/scipy-stubs/pull/360
* 💬 `interpolate`: fix scipy version in `interpnd` deprecation warning messages by jorenham in https://github.com/jorenham/scipy-stubs/pull/366
* 💬 `special`: mention the deprecation version in `lpn` and `[c]lpmn` by jorenham in https://github.com/jorenham/scipy-stubs/pull/367
* 🗑️ `interpolate`: deprecate the `dfitpack` functions, fix & improve the `sp*` functions by jorenham in https://github.com/jorenham/scipy-stubs/pull/372
* 📌 pin `scipy<1.16` by jorenham in https://github.com/jorenham/scipy-stubs/pull/371
* 👽️ `scipy==1.15.0rc2` by jorenham in https://github.com/jorenham/scipy-stubs/pull/376

Improvements

* ✨ more precise `__config__` and `__init__` annotations by jorenham in https://github.com/jorenham/scipy-stubs/pull/362
* ✨ `_lib`: improved annotations by jorenham in https://github.com/jorenham/scipy-stubs/pull/364
* ✨ `special`: several improved ufuncs by jorenham in https://github.com/jorenham/scipy-stubs/pull/374
* ✨ `special`: ufunc improvements by jorenham in https://github.com/jorenham/scipy-stubs/pull/375
* ✨ `signal`: complete `_filter_design`, fix and improve `_czt` by jorenham in https://github.com/jorenham/scipy-stubs/pull/378
* ✨ `signal`: complete `_signaltools` by jorenham in https://github.com/jorenham/scipy-stubs/pull/379
* ✨ `signal`: complete `_fir_filter_design.*` en `max_len_seq` by jorenham in https://github.com/jorenham/scipy-stubs/pull/384
* ✨ `signal`: complete `_ltisys.*` by jorenham in https://github.com/jorenham/scipy-stubs/pull/385
* 🎨 `optype 0.8` simplifications by jorenham in https://github.com/jorenham/scipy-stubs/pull/382
* 🎨 `stats`: simplify `_distn_infrastructure` with `optype 0.8` by jorenham in https://github.com/jorenham/scipy-stubs/pull/387
* 🎨 `_typing`: DRY `Falsy` and `Truthy` type aliases by jorenham in https://github.com/jorenham/scipy-stubs/pull/390

Fixes

* 🐛 `sparse`: add the missing sparse array/matrix dunder methods by jorenham in https://github.com/jorenham/scipy-stubs/pull/391

Documentation

* 📝 several `README.md` improvements by jorenham in https://github.com/jorenham/scipy-stubs/pull/365
* 📝 better describe the supported numpy versions by jorenham in https://github.com/jorenham/scipy-stubs/pull/368

Dependencies

* 📌 upgrade `optype` to `0.8.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/380
* ⬆️ update pre-commit hooks by pre-commit-ci in https://github.com/jorenham/scipy-stubs/pull/339
* ⬆️ bump `basedpyright` to `1.23.1` by jorenham in https://github.com/jorenham/scipy-stubs/pull/356
* ⬆️ bump `ruff` to `0.8.4` and disallow `mdformat==0.7.20` by jorenham in https://github.com/jorenham/scipy-stubs/pull/358
* ⬆️ bump `mdformat` to `0.7.21` by jorenham in https://github.com/jorenham/scipy-stubs/pull/359
* ⬆️ bump `basedmypy` to `2.9.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/393
* Bump astral-sh/setup-uv from 4 to 5 in the actions group by dependabot in https://github.com/jorenham/scipy-stubs/pull/361
* Bump DavidAnson/markdownlint-cli2-action from 18 to 19 in the actions group by dependabot in https://github.com/jorenham/scipy-stubs/pull/386

Other Changes

* 🧑‍💻 remove mypy from pre-commit (too slow) by jorenham in https://github.com/jorenham/scipy-stubs/pull/355
* 👷 increase the timeout of the CI `typetest` step by jorenham in https://github.com/jorenham/scipy-stubs/pull/342
* 👷 PyPI trusted publishing workflow by jorenham in https://github.com/jorenham/scipy-stubs/pull/383
* 👷 exclude unsupported test matrix version combinations by jorenham in https://github.com/jorenham/scipy-stubs/pull/388
* 🔧 configure pre-commit ci to use gitmoji style by jorenham in https://github.com/jorenham/scipy-stubs/pull/340
* 🔧 de-duplicate the `scipy` version requirements by jorenham in https://github.com/jorenham/scipy-stubs/pull/389
* 🔧 regex'd `.mypyignore` by jorenham in https://github.com/jorenham/scipy-stubs/pull/335
* 🔧 `.mypyignore` cleanup by jorenham in https://github.com/jorenham/scipy-stubs/pull/392

**Full Changelog**: https://github.com/jorenham/scipy-stubs/compare/v1.14.1.6...v1.15.0.0

1.14.1.6

<!-- Release notes generated using configuration in .github/release.yml at v1.14.1.6 -->

Highlights

* `scipy.interpolate`: The public API is now 100% annotated (by humans)
* `scipy.sparse`: The public API is now 100% annotated (by humans)
* the sparse array- and matrix- types optionally accept a generic type parameter for their scalar type, e.g. `coo_array[np.float64]`.
* `{coo, csr, dok}_array` additionally accept a 2nd optional type parameter for their 1-d (`tuple[int]`) or 2-d (`tuple[int, int]`) shape-type.
* fixed some typing issues on older numpy versions

What's Changed

Improvements

* 🎨 `interpolate`: remove duplicated function and classes by jorenham in https://github.com/jorenham/scipy-stubs/pull/267
* ✨ `interpolate`: stub `_dfitpack` by jorenham in https://github.com/jorenham/scipy-stubs/pull/270
* ✨ `spatial`: improve `_qhull` by jorenham in https://github.com/jorenham/scipy-stubs/pull/271
* ✨ `interpolate`: complete and improve `interpnd` by jorenham in https://github.com/jorenham/scipy-stubs/pull/272
* ✨ `interpolate`: complete `_bsplines` and `_ndbspline` by jorenham in https://github.com/jorenham/scipy-stubs/pull/273
* ✨ `interpolate`: complete `RBFInterpolator` and `Rbf` by jorenham in https://github.com/jorenham/scipy-stubs/pull/274
* ✨ `interpolate`: complete `_fitpack_impl` (1/2) by jorenham in https://github.com/jorenham/scipy-stubs/pull/275
* ✨ `interpolate`: complete `_fitpack_impl` (2/2) by jorenham in https://github.com/jorenham/scipy-stubs/pull/276
* ✨ `interpolate`: complete `_fitpack2` by jorenham in https://github.com/jorenham/scipy-stubs/pull/277
* ✨ `interpolate`: complete `_polyint` by jorenham in https://github.com/jorenham/scipy-stubs/pull/279
* ✨ `signal`: complete frequency response functions in `_filter_design` by jorenham in https://github.com/jorenham/scipy-stubs/pull/287
* 🎨 `sparse`: code cleanup by jorenham in https://github.com/jorenham/scipy-stubs/pull/294
* ✨ `sparse.linalg`: complete the `LinearOperator`s in `_interface` by jorenham in https://github.com/jorenham/scipy-stubs/pull/295
* 🎨 `sparse` explicit imports in `__init__` by jorenham in https://github.com/jorenham/scipy-stubs/pull/296
* ✨ `sparse.linalg`: complete the matrix operation functions by jorenham in https://github.com/jorenham/scipy-stubs/pull/298
* ✨ `sparse.linalg`: complete the matrix norm functions by jorenham in https://github.com/jorenham/scipy-stubs/pull/300
* ✨ `sparse.linalg`: complete `LaplacianNd` & accept in dtypes in `LinearOperator` by jorenham in https://github.com/jorenham/scipy-stubs/pull/301
* ✨ `sparse.linalg`: complete `_dsolve` by jorenham in https://github.com/jorenham/scipy-stubs/pull/302
* ✨ `sparse.linalg`: complete `_eigen.arpack` by jorenham in https://github.com/jorenham/scipy-stubs/pull/303
* ✨ `sparse.linalg`: complete `lobpcg` by jorenham in https://github.com/jorenham/scipy-stubs/pull/305
* ✨ `sparse.linalg`: complete `svds` by jorenham in https://github.com/jorenham/scipy-stubs/pull/306
* ✨ `sparse`: complete the sparse arrays and matrices by jorenham in https://github.com/jorenham/scipy-stubs/pull/307
* ✨ `sparse`: complete `eye[_array]` by jorenham in https://github.com/jorenham/scipy-stubs/pull/309
* ✨ `sparse`: complete `identity` by jorenham in https://github.com/jorenham/scipy-stubs/pull/310
* ✨ `sparse`: complete `kron[sum]` by jorenham in https://github.com/jorenham/scipy-stubs/pull/311
* ✨ `sparse`: complete `{h,v}stack` by jorenham in https://github.com/jorenham/scipy-stubs/pull/313
* ✨ `sparse`: complete `[sp]diags[_array]` by jorenham in https://github.com/jorenham/scipy-stubs/pull/314
* ✨ `sparse`: complete `{load,save}_npz` by jorenham in https://github.com/jorenham/scipy-stubs/pull/315
* ✨ `sparse`: complete `_sputils.*` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/316
* ✨ `sparse`: complete `_spfuncs.*` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/317
* ✨ `sparse`: complete `find` and `tri{l,u}` by jorenham in https://github.com/jorenham/scipy-stubs/pull/318
* ✨ `sparse`: complete `rand[om[_array]]` by jorenham in https://github.com/jorenham/scipy-stubs/pull/319
* ✨ `sparse`: complete `bmat` and `block_{array,diag}` by jorenham in https://github.com/jorenham/scipy-stubs/pull/320
* ✨ `sparse`: adopt the new generic sparse arrays in `linalg` and `csgraph` by jorenham in https://github.com/jorenham/scipy-stubs/pull/321
* 🎨 `sparse`: various `linalg.LinearOperator` tweaks and improvements by jorenham in https://github.com/jorenham/scipy-stubs/pull/322
* ✨ `sparse`: complete `linalg.ls{m,q}r` by jorenham in https://github.com/jorenham/scipy-stubs/pull/323
* ✨ `sparse`: complete `linalg._isolve.utils.*` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/324
* ✨ `sparse`: complete the remaining `sparse.linalg` functions by jorenham in https://github.com/jorenham/scipy-stubs/pull/325

Fixes

* ✨ `interpolate`: complete `_rgi` by jorenham in https://github.com/jorenham/scipy-stubs/pull/278
* 🐛 fix typing errors on `numpy<1.24` by jorenham in https://github.com/jorenham/scipy-stubs/pull/292
* ⬆️ bump `basedmypy` to `2.8.1` by jorenham in https://github.com/jorenham/scipy-stubs/pull/293
* 👽️ work around several `mypy` bugs with `numpy>=2.2.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/288

Documentation

* 🌕 `interpolate`: mark as 100% annotated by jorenham in https://github.com/jorenham/scipy-stubs/pull/280
* 📝 correct the documented lowest supported numpy version by jorenham in https://github.com/jorenham/scipy-stubs/pull/281
* 📝 installation instructions for humans by jorenham in https://github.com/jorenham/scipy-stubs/pull/282
* 🎤 add podcast to `README.md` by jorenham in https://github.com/jorenham/scipy-stubs/pull/299
* 📝 update the coverage progress for `scipy.sparse` by jorenham in https://github.com/jorenham/scipy-stubs/pull/304
* 📝 mention gitmoji in `CONTRIBUTING.md` by jorenham in https://github.com/jorenham/scipy-stubs/pull/308

Dependencies

* ⬆️ bump `basedpyright` to `1.22.1` and `basedmypy` to `2.8.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/255
* dynamic minimum requirements by miloth in https://github.com/jorenham/scipy-stubs/pull/259
* ⬆️ bump `ruff` to `0.8.2` by jorenham in https://github.com/jorenham/scipy-stubs/pull/265
* ⬆️ bump the dev deps by jorenham in https://github.com/jorenham/scipy-stubs/pull/312
Other Changes
* 🧑‍💻 uv-compatible mypy vscode config by jorenham in https://github.com/jorenham/scipy-stubs/pull/256
* 💡 add a comment to prevent breaking the `installation` permalink by jorenham in https://github.com/jorenham/scipy-stubs/pull/266
* 🔧 fix caching issue in `poe {mypy,stubtest,typetest}` by jorenham in https://github.com/jorenham/scipy-stubs/pull/269
* 🔧 stricter `basedpyright` config by jorenham in https://github.com/jorenham/scipy-stubs/pull/283
* 👷 include `.mypyignore` in sdist build by jorenham in https://github.com/jorenham/scipy-stubs/pull/284
* ➖ remove broken `mdformat-pyproject` by miloth in https://github.com/jorenham/scipy-stubs/pull/262
* 💚 towards fixing the `typetest-oldest-supported-numpy` CI job by jorenham in https://github.com/jorenham/scipy-stubs/pull/289
* 👷 fix and simplify the CI workflow by jorenham in https://github.com/jorenham/scipy-stubs/pull/290
* Dynamic testing matrix for combinations of python and numpy versions. by wolph in https://github.com/jorenham/scipy-stubs/pull/286

New Contributors

* wolph made their first contribution in https://github.com/jorenham/scipy-stubs/pull/286

AI generated Podcast

<https://github.com/user-attachments/assets/adbec640-2329-488b-bda2-d9687c6b1f7b>

**Full Changelog**: https://github.com/jorenham/scipy-stubs/compare/v1.14.1.5...v1.14.1.6

1.14.1.5

<!-- Release notes generated using configuration in .github/release.yml at v1.14.1.5 -->

Highlights

* `scipy-stubs` is now also available on [conda-forge](https://anaconda.org/conda-forge/scipy-stubs), thanks to lucascolley
* `scipy-stubs` now uses `uv` for package- and project-management (previously `poetry`)
* `scipy.linalg` has been significantly improved
* functions with either real or complex output now use overloads for more accurate return types
* almost all functions are now aware of the shape-type of input array-likes and output `ndarray`s.
* `scipy.optimize` is now 100% annotated (by hand)
* `scipy.signal` now accurately type-hints the "waveform" functions `sawtooth`, `square`, `chirp`, `sweep_poly`, `unit_impulse` and `gausspulse`
* `scipy.special` now accurately type-hints 80% of its ufuncs using type-signature-specific overloaded protocols.


What's Changed

Improvements
* `*`: switch to the shape-typed `optype.numpy` array-likes by jorenham in https://github.com/jorenham/scipy-stubs/pull/192
* `special`: type-signature-specific annotations for 80% of the ufuncs by jorenham in https://github.com/jorenham/scipy-stubs/pull/189
* `special`: update the development progress phase to 🌔 by jorenham in https://github.com/jorenham/scipy-stubs/pull/194
* `signal`: Add type stubs to `_waveforms.pyi`. by pavyamsiri in https://github.com/jorenham/scipy-stubs/pull/195
* `datasets`: Improved type-hints with `TypedDict`s and `Literal`s by jorenham in https://github.com/jorenham/scipy-stubs/pull/203
* prefer `optype.numpy` for annotating arrays by jorenham in https://github.com/jorenham/scipy-stubs/pull/204
* `optimize`: complete `_constraints` and `_trustregion_constr.*` by jorenham in https://github.com/jorenham/scipy-stubs/pull/205
* `optimize`: complete the root-finding functions by jorenham in https://github.com/jorenham/scipy-stubs/pull/207
* `optimize`: complete `fixed_point` by jorenham in https://github.com/jorenham/scipy-stubs/pull/208
* `optimize`: complete `curve_fit`, `leastsq`, and `fsolve` by jorenham in https://github.com/jorenham/scipy-stubs/pull/209
* `optimize`: complete `HessianUpdateStrategy`, `BFGS`, and `SR1` by jorenham in https://github.com/jorenham/scipy-stubs/pull/210
* `optimize`: complete `basinhopping` by jorenham in https://github.com/jorenham/scipy-stubs/pull/211
* `optimize`: fix and complete `direct` by jorenham in https://github.com/jorenham/scipy-stubs/pull/212
* `optimize`: complete `_differentiable_functions` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/214
* `optimize`: complete `_lsq` (private subpackage) by jorenham in https://github.com/jorenham/scipy-stubs/pull/215
* Codemod for pos-only `self` parameters by jorenham in https://github.com/jorenham/scipy-stubs/pull/218
* `optimize`: complete `differential_evolution` by jorenham in https://github.com/jorenham/scipy-stubs/pull/219
* `optimize`: complete `dual_annealing` by jorenham in https://github.com/jorenham/scipy-stubs/pull/220
* `optimize`: fix and improve `minimize` and `basinhopping` by jorenham in https://github.com/jorenham/scipy-stubs/pull/221
* `optimize`: complete `shgo`, improve `basinhopping` by jorenham in https://github.com/jorenham/scipy-stubs/pull/222
* `optimize`: complete `line_search` by jorenham in https://github.com/jorenham/scipy-stubs/pull/223
* `optimize`: complete `_dcsrch` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/224
* `optimize`: complete `linear_sum_assignment` by jorenham in https://github.com/jorenham/scipy-stubs/pull/225
* `optimize`: complete `quadratic_assignment` by jorenham in https://github.com/jorenham/scipy-stubs/pull/227
* `signal`: Replace the final `Untyped` in `_short_time_fft.pyi`. by pavyamsiri in https://github.com/jorenham/scipy-stubs/pull/226
* `optimize`: complete `_shgo_lib` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/228
* `optimize`: complete `_trlib` and `_trustregion*` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/236
* `optimize`: complete `_numdiff` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/237
* `optimize`: complete `_group_columns` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/238
* `optimize`: remove `_remove_redundancy` (private) by jorenham in https://github.com/jorenham/scipy-stubs/pull/239
* `optimize`: complete `fmin_cobyla` by jorenham in https://github.com/jorenham/scipy-stubs/pull/240
* `optimize`: complete `fmin_l_bfgs_b` and `LbfgsInvHessProduct` by jorenham in https://github.com/jorenham/scipy-stubs/pull/241
* `optimize`: complete `fmin_slsqp` by jorenham in https://github.com/jorenham/scipy-stubs/pull/242
* `linalg._basic`: add overloads for shapes and dtypes by jorenham in https://github.com/jorenham/scipy-stubs/pull/244
* `linalg._decomp*`: add overloads for shapes and dtypes by jorenham in https://github.com/jorenham/scipy-stubs/pull/245
* `linalg`: improved special matrix constructor signatures by jorenham in https://github.com/jorenham/scipy-stubs/pull/246
* `linalg`: improved `norm` signature by jorenham in https://github.com/jorenham/scipy-stubs/pull/247
* `linalg`: improve the shape- & scalar-type overloads of various functions by jorenham in https://github.com/jorenham/scipy-stubs/pull/252

Documentation
* add docs to the `codegen/` directory by jorenham in https://github.com/jorenham/scipy-stubs/pull/200
* improved `README.md` by jorenham in https://github.com/jorenham/scipy-stubs/pull/206
* document that `scipy-stubs` is installable with conda by jorenham in https://github.com/jorenham/scipy-stubs/pull/230
* 📝 update the `scipy` coverage phase table by jorenham in https://github.com/jorenham/scipy-stubs/pull/243
* Add a highlights section in `README.md` by jorenham in https://github.com/jorenham/scipy-stubs/pull/249
* update the `README.md` phase table to better reflect the `Untyped` counts by jorenham in https://github.com/jorenham/scipy-stubs/pull/253
* prevent lock update with tools and `uv` setup guide by miloth in https://github.com/jorenham/scipy-stubs/pull/254

Dependencies
* bump `mdformat` and `mdformat-pyproject` by jorenham in https://github.com/jorenham/scipy-stubs/pull/187
* bump `ruff` to `0.8.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/191
* bump `basedpyright` to `1.22.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/193
* bump `optype` to `0.7.2` by jorenham in https://github.com/jorenham/scipy-stubs/pull/197
* Bump poethepoet from 0.31.0 to 0.31.1 in the actions group by dependabot in https://github.com/jorenham/scipy-stubs/pull/202
* configure (based)pyright to ignore `.venv` when opened by jorenham in https://github.com/jorenham/scipy-stubs/pull/213
* bump `ruff` to `0.8.1` by jorenham in https://github.com/jorenham/scipy-stubs/pull/229
* bump `optype` to `0.7.3` by jorenham in https://github.com/jorenham/scipy-stubs/pull/232

Other Changes
* prepare for further development by jorenham in https://github.com/jorenham/scipy-stubs/pull/186
* move libcst config out of the root dir by jorenham in https://github.com/jorenham/scipy-stubs/pull/188
* `optimize`: remove private testing module `_tstutils` by jorenham in https://github.com/jorenham/scipy-stubs/pull/196
* custom auto-generated release notes by jorenham in https://github.com/jorenham/scipy-stubs/pull/199
* enable all `ruff` rules by default by jorenham in https://github.com/jorenham/scipy-stubs/pull/201
* restore the `libcst` codemod config by jorenham in https://github.com/jorenham/scipy-stubs/pull/217
* test with the oldest supported numpy version in the CI by jorenham in https://github.com/jorenham/scipy-stubs/pull/231
* use the new 0-d `optype` array aliases to simplify the code by jorenham in https://github.com/jorenham/scipy-stubs/pull/234
* use the new `optype` strict-shape array-likes by jorenham in https://github.com/jorenham/scipy-stubs/pull/235
* security policy update by jorenham in https://github.com/jorenham/scipy-stubs/pull/251
* use `uv` as package manager by miloth in https://github.com/jorenham/scipy-stubs/pull/174

New Contributors
* miloth made their first contribution in https://github.com/jorenham/scipy-stubs/pull/174

**Full Changelog**: https://github.com/jorenham/scipy-stubs/compare/v1.14.1.4...v1.14.1.5

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.