Skip to content

Releases: scipy/scipy-stubs

v1.14.1.5

03 Dec 18:07
v1.14.1.5
2c882fa
Compare
Choose a tag to compare

Highlights

  • scipy-stubs is now also available on conda-forge, 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 ndarrays.
  • 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 #192
  • special: type-signature-specific annotations for 80% of the ufuncs by @jorenham in #189
  • special: update the development progress phase to 🌔 by @jorenham in #194
  • signal: Add type stubs to _waveforms.pyi. by @pavyamsiri in #195
  • datasets: Improved type-hints with TypedDicts and Literals by @jorenham in #203
  • prefer optype.numpy for annotating arrays by @jorenham in #204
  • optimize: complete _constraints and _trustregion_constr.* by @jorenham in #205
  • optimize: complete the root-finding functions by @jorenham in #207
  • optimize: complete fixed_point by @jorenham in #208
  • optimize: complete curve_fit, leastsq, and fsolve by @jorenham in #209
  • optimize: complete HessianUpdateStrategy, BFGS, and SR1 by @jorenham in #210
  • optimize: complete basinhopping by @jorenham in #211
  • optimize: fix and complete direct by @jorenham in #212
  • optimize: complete _differentiable_functions (private) by @jorenham in #214
  • optimize: complete _lsq (private subpackage) by @jorenham in #215
  • Codemod for pos-only self parameters by @jorenham in #218
  • optimize: complete differential_evolution by @jorenham in #219
  • optimize: complete dual_annealing by @jorenham in #220
  • optimize: fix and improve minimize and basinhopping by @jorenham in #221
  • optimize: complete shgo, improve basinhopping by @jorenham in #222
  • optimize: complete line_search by @jorenham in #223
  • optimize: complete _dcsrch (private) by @jorenham in #224
  • optimize: complete linear_sum_assignment by @jorenham in #225
  • optimize: complete quadratic_assignment by @jorenham in #227
  • signal: Replace the final Untyped in _short_time_fft.pyi. by @pavyamsiri in #226
  • optimize: complete _shgo_lib (private) by @jorenham in #228
  • optimize: complete _trlib and _trustregion* (private) by @jorenham in #236
  • optimize: complete _numdiff (private) by @jorenham in #237
  • optimize: complete _group_columns (private) by @jorenham in #238
  • optimize: remove _remove_redundancy (private) by @jorenham in #239
  • optimize: complete fmin_cobyla by @jorenham in #240
  • optimize: complete fmin_l_bfgs_b and LbfgsInvHessProduct by @jorenham in #241
  • optimize: complete fmin_slsqp by @jorenham in #242
  • linalg._basic: add overloads for shapes and dtypes by @jorenham in #244
  • linalg._decomp*: add overloads for shapes and dtypes by @jorenham in #245
  • linalg: improved special matrix constructor signatures by @jorenham in #246
  • linalg: improved norm signature by @jorenham in #247
  • linalg: 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 the Untyped counts by @jorenham in #253
  • prevent lock update with tools and uv setup guide by @miloth in #254

Dependencies

Other Changes

New Contributors

Full Changelog: v1.14.1.4...v1.14.1.5

v1.14.1.4

19 Nov 17:06
v1.14.1.4
3ea1900
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.14.1.3...v1.14.1.4

v1.14.1.3

08 Nov 22:40
v1.14.1.3
3342729
Compare
Choose a tag to compare

Highlights

Resolved issues

  • #134 - specializing scipy.optimize.OptimizeResult
  • #154 - select_range params in scipy.linalg._decomp can only be int{16,32,64} if select="i"
  • #155 - sync integrate._typing.QuadOpts with the kwargs of integrate.quad
  • #158 - scipy.spatial signature of [c]KDTree.query does not match docs
  • #159 - scipy.signal.find_peaks returned dictionary type is missing the 'widths' key
  • #163 - Wrong return type for scipy.fft.next_fast_len
  • #168 - scipy.stats.qmc.scale does not accept numpy array with typed shape as input when type checked with pyright

Merged PR's

Full Changelog: v1.14.1.2...v1.14.1.3

v1.14.1.2

01 Nov 03:24
v1.14.1.2
c4a970f
Compare
Choose a tag to compare

scipy-stubs v1.14.1.2

Highlights

  • fully annotated scipy.stats (#135)
  • fully annotated scipy.fft (#142)

Fixes

  • scipy.integrate.quad rejected all callables if args was passed (#141)
  • scipy.stats.permutation_test rejected statistic with multiple parameters (#143)

Merged PR's

New Contributors

Full Changelog: v1.14.1.1...v1.14.1.2

v1.14.1.1

22 Oct 01:21
v1.14.1.1
b29a660
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.14.1.0...v1.14.1.1

v1.14.1.0

14 Oct 22:47
v1.14.1.0
ccbcc55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.1a3...v1.14.1.0

v1.14.1a3

08 Sep 00:25
v1.4.1a3
c0fab4d
Compare
Choose a tag to compare

What's Changed

  • fixes & improvements for scipy.stats.distributions by @jorenham in #37
  • fix scipy.integrate quad integrand function signatures by @jorenham in #38
  • loosened the type signature of the integrand in scipy.integrate.nquad by @jorenham in #39
  • fix stubtest errors by @jorenham in #40
  • various fixes and improvements in scipy.stats._distn_infrastructure by @jorenham in #41

Full Changelog: v1.14.1a2...v1.4.1a3

v1.14.1a2

07 Sep 00:06
v1.14.1a2
f7d366b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.14.1a1...v1.14.1a2

v1.14.1a1

30 Aug 02:46
v1.14.1a1
f0a0d53
Compare
Choose a tag to compare

First official (pre-)release

Full Changelog: https://github.com/jorenham/scipy-stubs/commits/v1.14.1a1