Note
Due to errors in a dependency specifier, the scipy-stubs releases v1.16.2.1 and v1.16.2.2 had to be yanked on PyPI. These versions are therefore also included in the changelog below.
This release targets SciPy 1.16.2 and supports Python 3.11-3.14, NumPy 1.25-2.3, and optype 0.14.
What's Changed
✨ Improvements
- Preliminary support for Pyrefly by @jorenham in #902
- have stubdefaulter fill in the missing defaults by @jorenham in #907
- validate slots and defaults using stubdefaulter by @jorenham in #911
- require stubs for all modules by @jorenham in #912
🐛 Fixes
- minor fixes for some internal cython module stubs by @jorenham in #878
integrate
: severalOdeSolver
fixes by @jorenham in #880integrate
: severalBDF
fixes by @jorenham in #882optimize
: fix incorrectOptimizeResult
import by @jorenham in #883- missing
__slots__
by @jorenham in #908 - fix wrong parameter defaults by @jorenham in #909
io
: Fix wrong return type onscipy.io.wavfile
by @mochaaP in #916- add missing
optype
upper bound by @jorenham in #925 - fix
optype
upper bound (again) by @jorenham in #927
📝 Documentation
- add pandas to the list of dependents by @jorenham in #885
- add
colour-science/colour-checker-detection
to the list of dependents by @jorenham in #886 - document generic
integrate.OdeSolver
andintegrate.DenseOutput
types by @jorenham in #887 - fancier readme badges by @jorenham in #904
- Add bashtage/linearmodels to the list of dependents by @jorenham in #910
- Add theislab/anndata2ri to the list of dependents by @jorenham in #914
✅ Testing
⬆️ Dependencies
- bump
mypy
to1.18.1
and--ignore-disjoint-bases
by @jorenham in #877 - Bump dprint-py from 0.50.1.4 to 0.50.2.0 in the actions group by @dependabot[bot] in #888
- Bump astral-sh/setup-uv from 6.6.1 to 6.7.0 in the actions group by @dependabot[bot] in #889
- Bump the actions group with 3 updates by @dependabot[bot] in #891
- Bump basedpyright from 1.31.4 to 1.31.5 in the actions group by @dependabot[bot] in #892
- Bump ruff from 0.13.1 to 0.13.2 in the actions group by @dependabot[bot] in #894
- Bump crate-ci/typos from 1.36.2 to 1.36.3 in the actions group by @dependabot[bot] in #896
- Bump scientific-python/repo-review from 0.12.2 to 0.12.3 in the actions group by @dependabot[bot] in #897
- Bump astral-sh/setup-uv from 6.7.0 to 6.8.0 in the actions group by @dependabot[bot] in #898
- optype 0.14.0 by @jorenham in #899
- Bump the actions group with 2 updates by @dependabot[bot] in #900
- bump
basedpyright
to1.31.6
andsp-repo-review
to2025.10.1
by @jorenham in #903 - Bump peter-evans/create-or-update-comment from 4 to 5 in the actions group by @dependabot[bot] in #905
- Bump ruff from 0.13.2 to 0.13.3 in the actions group by @dependabot[bot] in #906
- Bump crate-ci/typos from 1.37.1 to 1.37.2 in the actions group by @dependabot[bot] in #917
- Bump crate-ci/typos from 1.37.2 to 1.38.0 in the actions group by @dependabot[bot] in #918
- bump
pyrefly
to0.36.1
by @jorenham in #920 - bump
ruff
to0.14.0
by @jorenham in #922 - bump
uv_build
to0.8.24
by @jorenham in #923 - bump
uv_build
to0.9.0
by @jorenham in #928 - bump
astral-sh/setup-uv
tov7.0.0
by @jorenham in #929
Other Changes
- 🔖 prepare for further development by @jorenham in #876
- 🔧 stricter config tweak by @jorenham in #881
- 🐴
--fixed-format-cache
crashes mypy by @jorenham in #890 - 🔥 remove unused script and comments by @jorenham in #913
- 🔖 prepare for further development by @jorenham in #924
- 🔖 prepare for further development by @jorenham in #926
New Contributors
Full Changelog: v1.16.2.0...v1.16.2.3