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.
- the sparse array- and matrix- types optionally accept a generic type parameter for their scalar type, e.g.
- fixed some typing issues on older numpy versions
What's Changed
Improvements
- 🎨
interpolate
: remove duplicated function and classes by @jorenham in #267 - ✨
interpolate
: stub_dfitpack
by @jorenham in #270 - ✨
spatial
: improve_qhull
by @jorenham in #271 - ✨
interpolate
: complete and improveinterpnd
by @jorenham in #272 - ✨
interpolate
: complete_bsplines
and_ndbspline
by @jorenham in #273 - ✨
interpolate
: completeRBFInterpolator
andRbf
by @jorenham in #274 - ✨
interpolate
: complete_fitpack_impl
(1/2) by @jorenham in #275 - ✨
interpolate
: complete_fitpack_impl
(2/2) by @jorenham in #276 - ✨
interpolate
: complete_fitpack2
by @jorenham in #277 - ✨
interpolate
: complete_polyint
by @jorenham in #279 - ✨
signal
: complete frequency response functions in_filter_design
by @jorenham in #287 - 🎨
sparse
: code cleanup by @jorenham in #294 - ✨
sparse.linalg
: complete theLinearOperator
s in_interface
by @jorenham in #295 - 🎨
sparse
explicit imports in__init__
by @jorenham in #296 - ✨
sparse.linalg
: complete the matrix operation functions by @jorenham in #298 - ✨
sparse.linalg
: complete the matrix norm functions by @jorenham in #300 - ✨
sparse.linalg
: completeLaplacianNd
& accept in dtypes inLinearOperator
by @jorenham in #301 - ✨
sparse.linalg
: complete_dsolve
by @jorenham in #302 - ✨
sparse.linalg
: complete_eigen.arpack
by @jorenham in #303 - ✨
sparse.linalg
: completelobpcg
by @jorenham in #305 - ✨
sparse.linalg
: completesvds
by @jorenham in #306 - ✨
sparse
: complete the sparse arrays and matrices by @jorenham in #307 - ✨
sparse
: completeeye[_array]
by @jorenham in #309 - ✨
sparse
: completeidentity
by @jorenham in #310 - ✨
sparse
: completekron[sum]
by @jorenham in #311 - ✨
sparse
: complete{h,v}stack
by @jorenham in #313 - ✨
sparse
: complete[sp]diags[_array]
by @jorenham in #314 - ✨
sparse
: complete{load,save}_npz
by @jorenham in #315 - ✨
sparse
: complete_sputils.*
(private) by @jorenham in #316 - ✨
sparse
: complete_spfuncs.*
(private) by @jorenham in #317 - ✨
sparse
: completefind
andtri{l,u}
by @jorenham in #318 - ✨
sparse
: completerand[om[_array]]
by @jorenham in #319 - ✨
sparse
: completebmat
andblock_{array,diag}
by @jorenham in #320 - ✨
sparse
: adopt the new generic sparse arrays inlinalg
andcsgraph
by @jorenham in #321 - 🎨
sparse
: variouslinalg.LinearOperator
tweaks and improvements by @jorenham in #322 - ✨
sparse
: completelinalg.ls{m,q}r
by @jorenham in #323 - ✨
sparse
: completelinalg._isolve.utils.*
(private) by @jorenham in #324 - ✨
sparse
: complete the remainingsparse.linalg
functions by @jorenham in #325
Fixes
- ✨
interpolate
: complete_rgi
by @jorenham in #278 - 🐛 fix typing errors on
numpy<1.24
by @jorenham in #292 - ⬆️ bump
basedmypy
to2.8.1
by @jorenham in #293 - 👽️ work around several
mypy
bugs withnumpy>=2.2.0
by @jorenham in #288
Documentation
- 🌕
interpolate
: mark as 100% annotated by @jorenham in #280 - 📝 correct the documented lowest supported numpy version by @jorenham in #281
- 📝 installation instructions for humans by @jorenham in #282
- 🎤 add podcast to
README.md
by @jorenham in #299 - 📝 update the coverage progress for
scipy.sparse
by @jorenham in #304 - 📝 mention gitmoji in
CONTRIBUTING.md
by @jorenham in #308
Dependencies
- ⬆️ bump
basedpyright
to1.22.1
andbasedmypy
to2.8.0
by @jorenham in #255 - dynamic minimum requirements by @miloth in #259
- ⬆️ bump
ruff
to0.8.2
by @jorenham in #265 - ⬆️ bump the dev deps by @jorenham in #312
Other Changes
- 🧑💻 uv-compatible mypy vscode config by @jorenham in #256
- 💡 add a comment to prevent breaking the
#installation
permalink by @jorenham in #266 - 🔧 fix caching issue in
poe {mypy,stubtest,typetest}
by @jorenham in #269 - 🔧 stricter
basedpyright
config by @jorenham in #283 - 👷 include
.mypyignore
in sdist build by @jorenham in #284 - ➖ remove broken
mdformat-pyproject
by @miloth in #262 - 💚 towards fixing the
typetest-oldest-supported-numpy
CI job by @jorenham in #289 - 👷 fix and simplify the CI workflow by @jorenham in #290
- Dynamic testing matrix for combinations of python and numpy versions. by @wolph in #286
New Contributors
AI generated Podcast
SciPy.Type.Hints.mp4
Full Changelog: v1.14.1.5...v1.14.1.6