v1.16.2.0
This is the first scipy-stubs release that officially supports SciPy 1.16.2.
If you encounter any regressions or other issues, please report them at https://github.com/scipy/scipy-stubs/issues.
This release requires Python 3.11-3.14, NumPy 1.25.2 or greater, and optype 0.13.4.
What's Changed
🐛 Fixes
sparse.linalg: fix and improve ARPACKeigsandeigshreturn dtypes by @JulVandenBroeck in #831stats.sampling: annotate__cinit__as__new__, not__init__by @jorenham in #847optimize: also acceptNonefor certaincurve_fitkwargs by @jorenham in #869
✨ Improvements
signal: improveresampleby @jorenham in #828signal: improveresample_polyby @jorenham in #829sparse.linalg: fix and improve ARPACKeigsandeigshreturn dtypes by @JulVandenBroeck in #831optimize: support plural bounds inlinprogby @Rupt in #860signal: annotate the private functions in_signaltoolsby @jorenham in #867optimize: havelinprogreturn a specializedOptimizeResultby @jorenham in #868signal: updateShortTimeFFTwith the new private attributes by @jorenham in #875
📝 Documentation
- add 10 new downstream projects by @jorenham in #833
 - add pandas-stubs as downstream project by @jorenham in #838
 - add section on testing and reliability by @jorenham in #841
 - improved section ordering, updated project description, minimal badges by @jorenham in #842
 - add pandera to the list of dependents by @jorenham in #848
 - add jax to the list of dependents by @jorenham in #850
 - add PyTensor to the list of dependents by @jorenham in #852
 
✅ Testing
- mypy_primer by @jorenham in #824
 - mypy_primer: check for speed regressions by @jorenham in #835
 - mypy_primer: custom project selection by @jorenham in #836
 - mypy_primer: sharding by @jorenham in #837
 - mypy_primer: simplified workflow logic by @jorenham in #839
 - custom stub-test script for the 
scipy.versionliterals by @jorenham in #872 
⬆️ Dependencies
- bump 
uvandruffby @jorenham in #826 - Bump ruff from 0.12.10 to 0.12.11 in the actions group by @dependabot[bot] in #849
 - Bump crate-ci/typos from 1.35.5 to 1.35.7 in the actions group by @dependabot[bot] in #853
 - Bump astral-sh/setup-uv from 6.6.0 to 6.6.1 in the actions group by @dependabot[bot] in #854
 - Bump crate-ci/typos from 1.35.7 to 1.36.0 in the actions group by @dependabot[bot] in #855
 - Bump basedpyright from 1.31.2 to 1.31.4 in the actions group by @dependabot[bot] in #856
 - Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows in the github_actions group across 1 directory by @dependabot[bot] in #857
 - Bump crate-ci/typos from 1.36.0 to 1.36.2 in the actions group by @dependabot[bot] in #858
 - Bump ruff from 0.12.11 to 0.12.12 in the actions group by @dependabot[bot] in #859
 - bump ruff to 0.13.0 by @jorenham in #865
 - bump basedpyright to 1.31.4 by @jorenham in #866
 - upgrade 
scipyto1.16.2by @jorenham in #871 
Other Changes
- 🔖 prepare for further development by @jorenham in #825
 - 🔨 add vibe-coded scipy usage survey script by @jorenham in #843
 - 🐴 deal with new mypy 
1.18.0+deverrors by @jorenham in #845 - ♻️ 
sparse: extract common type alias for 2d sparse arrays by @jorenham in #846 - 🤖 have dependabot ignore 
scipyby @jorenham in #873 - 🤖 remove outdated Copilot output handling instructions by @jorenham in #874
 
🎉 New Contributors
Full Changelog: v1.16.1.1...v1.16.2.0