Skip to content

Releases: jorenham/scipy-stubs

v1.15.1.0 (scipy 1.15.1)

11 Jan 01:40
v1.15.1.0
9c6a2d7
Compare
Choose a tag to compare

This is the first scipy-stubs release that supports SciPy 1.15.1.

What's Changed

Improvements

Dependencies

Other Changes

  • 🎨 fix and run the FixTrailingComma codemod by @jorenham in #397

Full Changelog: v1.15.0.0...v1.15.1.0

v1.15.0.0 (scipy 1.15.0)

01 Jan 18:57
v1.15.0.0
d715ec0
Compare
Choose a tag to compare

This is the first scipy-stubs release that supports SciPy 1.15.0.

What's Changed

SciPy 1.15.0 compatability

  • ⬆️ increase the minimum scipy version to 1.15.0rc1 by @jorenham in #327
  • 🚧 temporarily ignore all stubtest errors by @jorenham in #326
  • ⚰️ misc: remove all code by @jorenham in #328
  • differentiate: preliminary (yet complete) stubs by @jorenham in #329
  • 🏷️ _typing: SPEC-7 compliant (private) ToRNG type alias (previously Seed) by @jorenham in #333
  • 👽️ fft[pack]: 1.15.0 support by @jorenham in #336
  • 👽️ integrate: 1.15.0 support by @jorenham in #337
  • 👽️ interpolate: 1.15.0 support by @jorenham in #338
  • 👽️ constants: 1.15.0 support by @jorenham in #330
  • 👽️ _lib: 1.15.0 support by @jorenham in #331
  • 👽️ cluster: 1.15.0 support by @jorenham in #334
  • 👽️ io: 1.15.0 support by @jorenham in #341
  • 👽️ linalg.interpolative: 1.15.0 support by @jorenham in #343
  • 👽️ linalg: 1.15.0 support by @jorenham in #344
  • 👽️ version: 1.15.0 remove commit_count by @jorenham in #345
  • 👽️ ndimage: 1.15.0 support by @jorenham in #346
  • 👽️ optimize: SPEC 7 & scipy 1.15.0 support by @jorenham in #347
  • 👽️ sparse: 1.15.0 support by @jorenham in #349
  • 👽️ special: 1.15.0 support by @jorenham in #351
  • 👽️ signal: 1.15.0 support by @jorenham in #348
  • 👽️ spatial: 1.15.0 support and many improvements by @jorenham in #350
  • 👽️ stats: 1.15.0 support and several improvements by @jorenham in #353
  • 👽️ sparse: accept axes: tuple[int[:], int[:]] in coo_array.tensordot by @jorenham in #357
  • 👽️ stats: 1.15.0 new distribution infrastructure by @jorenham in #360
  • 💬 interpolate: fix scipy version in interpnd deprecation warning messages by @jorenham in #366
  • 💬 special: mention the deprecation version in lpn and [c]lpmn by @jorenham in #367
  • 🗑️ interpolate: deprecate the dfitpack functions, fix & improve the sp* functions by @jorenham in #372
  • 📌 pin scipy<1.16 by @jorenham in #371
  • 👽️ scipy==1.15.0rc2 by @jorenham in #376

Improvements

Fixes

  • 🐛 sparse: add the missing sparse array/matrix dunder methods by @jorenham in #391

Documentation

Dependencies

Other Changes

Full Changelog: v1.14.1.6...v1.15.0.0

v1.14.1.6

15 Dec 23:07
v1.14.1.6
5714501
Compare
Choose a tag to compare

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.
  • 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 improve interpnd by @jorenham in #272
  • interpolate: complete _bsplines and _ndbspline by @jorenham in #273
  • interpolate: complete RBFInterpolator and Rbf 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 the LinearOperators 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: complete LaplacianNd & accept in dtypes in LinearOperator by @jorenham in #301
  • sparse.linalg: complete _dsolve by @jorenham in #302
  • sparse.linalg: complete _eigen.arpack by @jorenham in #303
  • sparse.linalg: complete lobpcg by @jorenham in #305
  • sparse.linalg: complete svds by @jorenham in #306
  • sparse: complete the sparse arrays and matrices by @jorenham in #307
  • sparse: complete eye[_array] by @jorenham in #309
  • sparse: complete identity by @jorenham in #310
  • sparse: complete kron[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: complete find and tri{l,u} by @jorenham in #318
  • sparse: complete rand[om[_array]] by @jorenham in #319
  • sparse: complete bmat and block_{array,diag} by @jorenham in #320
  • sparse: adopt the new generic sparse arrays in linalg and csgraph by @jorenham in #321
  • 🎨 sparse: various linalg.LinearOperator tweaks and improvements by @jorenham in #322
  • sparse: complete linalg.ls{m,q}r by @jorenham in #323
  • sparse: complete linalg._isolve.utils.* (private) by @jorenham in #324
  • sparse: complete the remaining sparse.linalg functions by @jorenham in #325

Fixes

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

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

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