v1.14.1.5
Highlights
scipy-stubs
is now also available on conda-forge, thanks to @lucascolleyscipy-stubs
now usesuv
for package- and project-management (previouslypoetry
)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" functionssawtooth
,square
,chirp
,sweep_poly
,unit_impulse
andgausspulse
scipy.special
now accurately type-hints 80% of its ufuncs using type-signature-specific overloaded protocols.
What's Changed
Improvements
*
: switch to the shape-typedoptype.numpy
array-likes by @jorenham in #192special
: type-signature-specific annotations for 80% of the ufuncs by @jorenham in #189special
: update the development progress phase to 🌔 by @jorenham in #194signal
: Add type stubs to_waveforms.pyi
. by @pavyamsiri in #195datasets
: Improved type-hints withTypedDict
s andLiteral
s by @jorenham in #203- prefer
optype.numpy
for annotating arrays by @jorenham in #204 optimize
: complete_constraints
and_trustregion_constr.*
by @jorenham in #205optimize
: complete the root-finding functions by @jorenham in #207optimize
: completefixed_point
by @jorenham in #208optimize
: completecurve_fit
,leastsq
, andfsolve
by @jorenham in #209optimize
: completeHessianUpdateStrategy
,BFGS
, andSR1
by @jorenham in #210optimize
: completebasinhopping
by @jorenham in #211optimize
: fix and completedirect
by @jorenham in #212optimize
: complete_differentiable_functions
(private) by @jorenham in #214optimize
: complete_lsq
(private subpackage) by @jorenham in #215- Codemod for pos-only
self
parameters by @jorenham in #218 optimize
: completedifferential_evolution
by @jorenham in #219optimize
: completedual_annealing
by @jorenham in #220optimize
: fix and improveminimize
andbasinhopping
by @jorenham in #221optimize
: completeshgo
, improvebasinhopping
by @jorenham in #222optimize
: completeline_search
by @jorenham in #223optimize
: complete_dcsrch
(private) by @jorenham in #224optimize
: completelinear_sum_assignment
by @jorenham in #225optimize
: completequadratic_assignment
by @jorenham in #227signal
: Replace the finalUntyped
in_short_time_fft.pyi
. by @pavyamsiri in #226optimize
: complete_shgo_lib
(private) by @jorenham in #228optimize
: complete_trlib
and_trustregion*
(private) by @jorenham in #236optimize
: complete_numdiff
(private) by @jorenham in #237optimize
: complete_group_columns
(private) by @jorenham in #238optimize
: remove_remove_redundancy
(private) by @jorenham in #239optimize
: completefmin_cobyla
by @jorenham in #240optimize
: completefmin_l_bfgs_b
andLbfgsInvHessProduct
by @jorenham in #241optimize
: completefmin_slsqp
by @jorenham in #242linalg._basic
: add overloads for shapes and dtypes by @jorenham in #244linalg._decomp*
: add overloads for shapes and dtypes by @jorenham in #245linalg
: improved special matrix constructor signatures by @jorenham in #246linalg
: improvednorm
signature by @jorenham in #247linalg
: improve the shape- & scalar-type overloads of various functions by @jorenham in #252
Documentation
- add docs to the
codegen/
directory by @jorenham in #200 - improved
README.md
by @jorenham in #206 - document that
scipy-stubs
is installable with conda by @jorenham in #230 - 📝 update the
scipy
coverage phase table by @jorenham in #243 - Add a highlights section in
README.md
by @jorenham in #249 - update the
README.md
phase table to better reflect theUntyped
counts by @jorenham in #253 - prevent lock update with tools and
uv
setup guide by @miloth in #254
Dependencies
- bump
mdformat
andmdformat-pyproject
by @jorenham in #187 - bump
ruff
to0.8.0
by @jorenham in #191 - bump
basedpyright
to1.22.0
by @jorenham in #193 - bump
optype
to0.7.2
by @jorenham in #197 - Bump poethepoet from 0.31.0 to 0.31.1 in the actions group by @dependabot in #202
- configure (based)pyright to ignore
.venv
when opened by @jorenham in #213 - bump
ruff
to0.8.1
by @jorenham in #229 - bump
optype
to0.7.3
by @jorenham in #232
Other Changes
- prepare for further development by @jorenham in #186
- move libcst config out of the root dir by @jorenham in #188
optimize
: remove private testing module_tstutils
by @jorenham in #196- custom auto-generated release notes by @jorenham in #199
- enable all
ruff
rules by default by @jorenham in #201 - restore the
libcst
codemod config by @jorenham in #217 - test with the oldest supported numpy version in the CI by @jorenham in #231
- use the new 0-d
optype
array aliases to simplify the code by @jorenham in #234 - use the new
optype
strict-shape array-likes by @jorenham in #235 - security policy update by @jorenham in #251
- use
uv
as package manager by @miloth in #174
New Contributors
Full Changelog: v1.14.1.4...v1.14.1.5