Skip to content

Releases: scipy/scipy-stubs

v1.16.1.1

21 Aug 00:57
v1.16.1.1
f4c171a
Compare
Choose a tag to compare

This release targets SciPy 1.16.1 and requires Python 3.11-3.14, NumPy 1.25-2.3, and optype 0.13.4.

What's Changed

✨ Improvements

🐛 Fixes

⬆️ Dependencies

Other Changes

  • ♻️ stats: consistent typar naming and remove redundant float | defaults by @jorenham in #807

Full Changelog: v1.16.1.0...v1.16.1.1

v1.16.1.0

01 Aug 02:41
v1.16.1.0
8244740
Compare
Choose a tag to compare

This is the first scipy-stubs release that officially supports SciPy 1.16.1. In these last 4 weeks of hard work, we've made many improvements to the accuracy and correctness of many annotations, and improved compatibility with older NumPy versions.
If you encounter any regressions or other issues, please report them at https://github.com/scipy/scipy-stubs/issues.

This release requires Python 3.11-3.14, NumPy 1.25.2 or greater, and optype 0.13.1 or greater.

What's Changed

👽️ SciPy 1.16.1 Changes

✨ Improvements

  • 🏷️ linalg: stub more of the internal scipy machinery by @jorenham in #710
  • linalg: support sparse arrays in clarkson_woodruff_transform by @jorenham in #711
  • ✨ stub scipy._cyutility by @jorenham in #712
  • 🏷️ _lib: stub _ccallback_c and _array_api[_compat_vendor] by @jorenham in #713
  • 🏷️ cluster: stub internal cython submodules by @jorenham in #714
  • 🏷️ integrate: stub integrate._rules.* (private api) by @jorenham in #715
  • 🏷️ integrate: stub the remaining private C-extension modules by @jorenham in #716
  • 🏷️ interpolate: stub the remaining private C- and cython modules by @jorenham in #717
  • 🏷️ io.matlab: stub private cython modules by @jorenham in #718
  • 🏷️ sparse: added stubs for all formats in kron and kronsum by @JulVandenBroeck in #719
  • 🏷️ ndimage: stub the remaining private modules by @jorenham in #720
  • 🏷️ optimize: stub the remaining private modules by @jorenham in #722
  • 🏷️ signal: stub the remaining private modules by @jorenham in #723
  • 🏷️ sparse: stub the remaining private modules by @jorenham in #724
  • 🏷️ spatial: stub the remaining private modules by @jorenham in #725
  • 🏷️ special: stub the remaining private modules by @jorenham in #726
  • 🏷️ stats: stub the remaining private modules by @jorenham in #727
  • stats: improved [differential_]entropy annotations by @jorenham in #738
  • stats: improved Covariance generic type parameter inference by @jorenham in #739
  • ndimage: improved fourier_* annotations by @jorenham in #740
  • linalg: improved basic solve* annotations by @jorenham in #741
  • linalg: improved inv annotations by @jorenham in #743
  • linalg: improved det annotations by @jorenham in #744
  • 🧑‍💻 vscode tasks for basedpyright, mypy, and stubtest by @jorenham in #754
  • linalg: improved eigh return type inference for float64 by @jorenham in #755
  • 🏷️ sparse: overhauled stubs for diags_array, eye_array, and their matrix equivalents by @JulVandenBroeck in #733
  • integrate: improve the odeint signature by @jorenham in #763
  • integrate: improved solve_ivp annotations by @jorenham in #765
  • signal: improved convolution and correlation functions by @jorenham in #767
  • signal: improved filter function annotations by @jorenham in #768
  • Add hstack and vstack overloads for different sparse formats by @JulVandenBroeck in #774

🐛 Fixes

  • 🐛 sparse.linalg: allow passing arrays to expm_multiply by @jorenham in #708
  • 🐛 sparse.linalg: fix several LinearOperator issues by @jorenham in #709
  • 🏷️ sparse: improved init stubs of sparse arrays with shape as positional argument. by @JulVandenBroeck in #704
  • 🐛 sparse: csc array/matrix constructor fixes by @jorenham in #753
  • 🩹 fix missing type arguments on numpy<2.3 by @jorenham in #779
  • 🚨 fftpack: fix stubtest error on numpy<2 by @jorenham in #786
  • ✅ fix failing type-tests on numpy==2.2.* by @jorenham in #787
  • ✅ fix failing type-tests on numpy==2.1.* by @jorenham in #788
  • ✅ fix failing type-tests on numpy<2.1 by @jorenham in #789
  • 💚 fix CI numpy testing matrix by @jorenham in #778
  • 🐛 interpolate: Fix incorrect return type for make_lsq_spline by @elael in #776
  • 🩹 optimize: fix compatibility issues with ABCPolyBase on numpy==2.1 by @jorenham in #780
  • 🩹 fix compatibility issues with np.[c]longdouble on numpy<2.2 by @jorenham in #781
  • 🗑️ special.comb: remove expired @deprecated non-integer exact=True overloads by @jorenham in #793

📝 Documentation

  • add a "who's using scipy-stubs" section to the readme by @jorenham in #732
  • add scanpy as dependent project by @jorenham in #747
  • CONTRIBUTING.md fixes by @jorenham in #760
  • add xarray, radioactivedecay, neurogym, and foamlib to the list of dependents by @jorenham in #772

⬆️ Dependencies

Other Changes

  • 🔖 prepare for further development by @jorenham in #701
  • 🔨 dev script for listing all (private) unstubbed modules by @jorenham in #706
  • 🎨 use 88 as max line length for scipts/*.py by @jorenham in #721
  • 📌 pin CI action version tags by @jorenham in #728
  • ♻️ always use optype.numpy.compat for abstract scalar types by @jorenham in #730
  • ♻️ reduce reliance on "fake" *._typing modules by @jorenham in #731
  • ♻️ explicit onp.AnyFloat64DType | None by @jorenham in #735
  • 🎨 workaround for path-dependent pyright bug by shuffling disjoint overloads by @jorenham in #745
  • 🎨 linalg: simplified _decomp_svd type aliases by @jorenham in #749
  • 🤖 correct TypeVarTuple naming in copilot instructions by @jorenham in #764
  • 🐴 work around false positive overload-overlap mypy errors on numpy>=2.2 by @jorenham in #782
  • 🤡 work around false positive reportOverlappingOverload pyright errors on numpy<2.1 by @jorenham in #783
  • 🐴 special: work around false positive overload-overlap mypy errors on numpy<2.1 by @jorenham in #785
  • 📄 explicit license-files by @jorenham in #795
  • 🧱 uv_build by @jorenham in #796

🎉 New Contributors

Read more

v1.16.0.2

01 Jul 23:18
v1.16.0.2
d0e56b2
Compare
Choose a tag to compare

What's Changed

✨ Improvements

🐛 Fixes

  • stats: private _continuous_distns functions should accept scalars by @jorenham in #694
  • special.logsumexp: add missing axis parameter defaults by @jorenham in #698

📝 Documentation

Other Changes

Full Changelog: v1.16.0.1...v1.16.0.2

v1.16.0.1

30 Jun 21:09
v1.16.0.1
8f2ef65
Compare
Choose a tag to compare

This is the second scipy-stubs release that supports SciPy 1.16. In these last 2 weeks of hard work, we've also made many improvements to the accuracy, correctness, and documentation of scipy-stubs.
If you encounter any regressions or other issues, please report them at https://github.com/scipy/scipy-stubs/issues.

This release requires Python 3.11-3.13 and NumPy 1.25.2 or greater.

What's Changed

👽️ SciPy Changes

  • scipy 1.16 changes for optimize.fmin_l_bfgs_b by @jorenham in #643

✨ Improvements

  • stats: Annotate the private functions and consts in _continuous_distns by @jorenham in #650
  • cluster.vq: improved dtype annotations by @jorenham in #651
  • interpolate: Generic Krogh and barycentric interpolator types by @jorenham in #667
  • optimize: Generic Bounds type by @jorenham in #675
  • sparse.linalg: Improved linear solver function annotations by @jorenham in #678
  • fft: improved *fft, *fft2 and *fftn annotations by @jorenham in #681
  • fft: improved [i]fftshift annotations by @jorenham in #682
  • fft: sync (private) signatures of _realtransforms and _realtransforms_backend by @jorenham in #684

🐛 Fixes

  • stats.qmc: Add missing seed constructor parameters by @jorenham in #647
  • optimize: accept tuple functions in fmin_l_bfgs_b by @jorenham in #649
  • cluster.vq: Add missing seed parameter to kmeans and kmeans2 by @jorenham in #652
  • interpolate: Add missing seed kwarg to the BarycentricInterpolator constructor by @jorenham in #654
  • linalg: Add missing seed kwarg to clarkson_woodruff_transform by @jorenham in #655
  • optimize: Add missing seed kwargs to the global optimize functions by @jorenham in #656
  • sparse: Add missing random_state kwarg to random_array and rand[om] by @jorenham in #657
  • sparse.linalg: Add missing random_state kwarg to svds by @jorenham in #658
  • spatial.distance: Add missing seed kwarg to directed_hausdorff by @jorenham in #659
  • spatial.transform: Add missing random_state kwarg to Rotation.random by @jorenham in #660
  • stats: Add missing random_state kwargs by @jorenham in #661
  • sparse: fix sparse array/matrix indexing by @jorenham in #664
  • signal: simplify get_window input type by @jorenham in #665
  • sparse: Transposition duality of CSR and CSC arrays by @jorenham in #669
  • sparse.linalg: Fix factorize return type annotations by @jorenham in #679
  • interpolate: consistent RBFInterpolator generic type parameter ordering by @jorenham in #685

⬆️ Dependencies

📝 Documentation

Other Changes

  • 🏷️ io: loadmat return dict with gradual value types by @jorenham in #676
  • 💬 update string literals for SciPy 1.16.0 by @jorenham in #683
  • 🔧 update release note config by @jorenham in #686
  • 🧑‍💻 update editorconfig and vscode settings by @jorenham in #687
  • 🧑‍💻 dprint formatter for markdown, json, toml and yaml by @jorenham in #688
  • ⬆️ Bump crate-ci/typos from 1.33.1 to 1.34.0 in the actions group by @dependabot in #689

Full Changelog: v1.16.0.0...v1.16.0.1

v1.16.0.0

18 Jun 03:49
v1.16.0.0
228894c
Compare
Choose a tag to compare

This is the first scipy-stubs release that supports SciPy 1.16. In these last 6 weeks of hard work, we've also made many improvements to the accuracy, correctness, and testing coverage of scipy-stubs.
If you encounter any regressions or other issues, please report them at https://github.com/scipy/scipy-stubs/issues.

This release requires Python 3.11-3.13 and NumPy 1.25.2 or greater.

⭐ Highlights

  • Support for SciPy 1.16 (currently 1.16.0rc2) (release notes)
  • Support for NumPy 2.3 (currently 2.3.0) (release notes)
  • scipy.linalg: Low-level BLAS and LAPACK function annotations
  • scipy.sparse: Many sparse array and matrix improvements, including preliminary shape-typing support
  • Improved type-testing coverage, which uncovered several bugs that have now been fixed

See below for the complete list of PR's that are included in this scipy-stubs release.

What's Changed

👽️ SciPy 1.16.0 Changes

  • scipy 1.16 changes for _lib by @jorenham in #525
  • scipy 1.16 changes for cluster.vq.whiten by @jorenham in #526
  • scipy 1.16 changes for interpolate.dfitpack by @jorenham in #527
  • scipy 1.16 change for interpolate.RectBivariateSpline by @jorenham in #528
  • scipy 1.16 change for interpolate.make_smoothing_spline by @jorenham in #529
  • scipy 1.16 addition for io.matlab by @jorenham in #530
  • scipy 1.16 changes for linalg.sqrtm by @jorenham in #531
  • scipy 1.16 new function ndimage.vectorized_filter by @jorenham in #537
  • scipy 1.16 batching support in scipy.linalg by @jorenham in #535
  • scipy 1.16 changes for optimize._differentiable_functions by @jorenham in #538
  • scipy 1.16 changes for optimize.least_squares by @jorenham in #539
  • scipy 1.16 changes for optimize._numdiff by @jorenham in #540
  • scipy 1.16 changes for optimize._trustregion_constr by @jorenham in #541
  • scipy 1.16 changes for optimize.nnls by @jorenham in #542
  • scipy 1.16 changes for optimize.slsqp by @jorenham in #544
  • scipy 1.16 additions for signal._short_time_fft by @jorenham in #546
  • scipy 1.16 new function signal.firwin_2d by @jorenham in #548
  • scipy 1.16 changes for signal.__all__ by @jorenham in #549
  • scipy 1.16 changes for signal.windows by @jorenham in #550
  • signal: dedupe the @deprecated public submodule function definitions by @jorenham in #551
  • scipy 1.16 deprecations for linalg.{logm, signm, sqrtm} by @jorenham in #553
  • scipy 1.16 new internal module _lib._sparse by @jorenham in #555
  • scipy 1.16 changes for sparse._base by @jorenham in #556
  • scipy 1.16 removals for sparse by @jorenham in #557
  • scipy 1.16 changes for sparse.csgraph._shortest_path by @jorenham in #558
  • scipy 1.16 changes for sparse._sputils by @jorenham in #559
  • scipy 1.16 expired deprecations for sparse._dok by @jorenham in #560
  • scipy 1.16 additions for spatial.transform._rotation by @jorenham in #561
  • scipy 1.16 new class spatial.transform.RigidTransform by @jorenham in #562
  • scipy 1.16 changes for special._support_alternative_backends by @jorenham in #563
  • scipy 1.16 new function stats.quantile by @jorenham in #564
  • scipy 1.16 changes for stats.make_distribution by @jorenham in #565
  • scipy 1.16 new class stats._distribution_infrastructure by @jorenham in #566
  • scipy 1.16 new class stats.Binomial by @jorenham in #567
  • scipy 1.16 removal of stats._mvn by @jorenham in #569
  • scipy 1.16 changes for stats.tukey_hsd by @jorenham in #570
  • scipy 1.16 changes for stats.f_oneway by @jorenham in #573
  • scipy 1.16 removal of stats.trapz by @jorenham in #574
  • scipy 1.16 changes for stats.multivariate_normal.[log]cdf by @jorenham in #575
  • scipy 1.16 changes for stats.gaussian_kde.integrate_box by @jorenham in #576
  • scipy 1.16 changes for stats.boxcox_llf by @jorenham in #577
  • scipy 1.16 changes for stats.{siegel,theil}slopes by @jorenham in #580
  • scipy 1.16 changes for stats.gstd by @jorenham in #581
  • scipy 1.16 changes for stats.power_divergence and stats.chisquare by @jorenham in #582
  • scipy 1.16 expired deprecation for stats.linregress by @jorenham in #583
  • scipy 1.16 changes for stats.linregress by @jorenham in #584
  • scipy 1.16 changes for stats.pointbiserialr by @jorenham in #585
  • scipy 1.16 changes for stats.{kendall,weighted}tau by @jorenham in #586
  • scipy 1.16 changes for version by @jorenham in #587

✨ Improvements

  • signal: generic ShortTimeFFT type-param and improved annotations by @jorenham in #547
  • linalg: improved _matfuncs return dtypes by @jorenham in #554
  • stats: improved hypothesis test function return type annotations by @jorenham in #571
  • linalg: low-level BLAS function annotations by @jorenham in #594
  • linalg: low-level LAPACK function annotations by @jorenham in #595
  • optimize: stub _slsqplib cpython extension module by @jorenham in #596
  • linalg: stub _decomp_interpolative cpython extension module by @jorenham in #597
  • stats: stub the _rcont subpackage by @jorenham in #598
  • sparse: improved annotations and code cleanup by @jorenham in #602
  • sparse: type testing & sparse matrix and array improvements by @jorenham in #605
  • constants: type-tests & improved annotations by @jorenham in #610
  • sparse: constructor function type-tests by @jorenham in #619
  • sparse: improved integer matrix/array method annotations by @jorenham in #624
  • sparse: fix and improve get_index_type return type by @jorenham in #625
  • sparse: simplified gradual load_npz return type by @jorenham in #626
  • preliminary support for Python 3.14 by @jorenham in #631
  • sparse: Improved shape-typing support for CSR and DOK arrays by @jorenham in #634
  • fft: improved [i]fht() annotations by @jorenham in #640
  • fft: improved discrete sine- and cosine transform return types by @jorenham in #641

🐛 Fixes

Read more

v1.15.3.0 (scipy 1.15.3)

08 May 16:58
v1.15.3.0
8afe864
Compare
Choose a tag to compare

⭐ Highlights

What's Changed

🐛 Fixes

⬆️ Dependencies

Other Changes

New Contributors

Full Changelog: v1.15.2.2...v1.15.3.0

v1.15.2.2 (scipy 1.15.2)

07 Apr 20:58
v1.15.2.2
5630a80
Compare
Choose a tag to compare

What's Changed

✨ Improvements

  • ndimage: improved filter and measurement function annotations by @jorenham in #499
  • optimize: narrowed OptimizeResult.{fun,x} attrs for minimize[_scalar] by @jorenham in #504

🐛 Fixes

  • adjust pyright config for optype.numpy compatibility by @jorenham in #491
  • interpolate: accept ndarray for points in RegularGridInterpolator by @jorenham in #501
  • optimize: accept a scalar for x0 in minimize by @jorenham in #502
  • optimize: accept a scalar for x0 in fmin* by @jorenham in #503

📝 Documentation

⬆️ Dependencies

Other Changes

Full Changelog: v1.15.2.1...v1.15.2.2

v1.15.2.1 (scipy 1.15.2)

12 Mar 13:32
v1.15.2.1
4e581c8
Compare
Choose a tag to compare

What's Changed

✨ Improvements

  • interpolate: improved support for complex splines by @jorenham in #477

🐛 Fixes

📝 Documentation

Dependencies

Other Changes

New Contributors

Full Changelog: v1.15.2.0...v1.15.2.1

v1.15.2.0

17 Feb 05:04
v1.15.2.0
76b2d8a
Compare
Choose a tag to compare

⭐ Highlights

  • The repo has been transferred from jorenham/scipy-stubs to scipy/scipy-stubs by @rgommers
  • Support for SciPy 1.15.2 and NumPy 2.2.3

What's Changed

✨ Improvements

  • special: improved dtype handling in the "basic" functions by @jorenham in #419
  • signal: generic lti, and dlti types by @jorenham in #425
  • optimize: improved linprog and milp annotations by @jorenham in #427
  • optimize: method-specific overloads and options for minimize_scalar by @jorenham in #428
  • optimize: Generic InverseJacobian and related types by @jorenham in #429
  • signal: improvements related to czt and zoom_fft by @jorenham in #430
  • sparse: generic sparray by @jorenham in #435
  • stats.zmap: accept complex input and basic shape-typing by @jorenham in #457

🐛 Fixes

  • stats: fix rv_discrete sample constructor by @jorenham in #418
  • signal: add plain number option for find_peaks argument prominence by @drewsilcock in #448
  • stats: make optimizer argument optional in rv_continuous.fit() by @drewsilcock in #451

📝 Documentation

⬆️ Dependencies

Other Changes

New Contributors

Full Changelog: v1.15.1.0...v1.15.2.0

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