Releases: scipy/scipy-stubs
Releases · scipy/scipy-stubs
v1.14.1.5
Highlights
scipy-stubsis now also available on conda-forge, thanks to @lucascolleyscipy-stubsnow usesuvfor package- and project-management (previouslypoetry)scipy.linalghas 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.optimizeis now 100% annotated (by hand)scipy.signalnow accurately type-hints the "waveform" functionssawtooth,square,chirp,sweep_poly,unit_impulseandgausspulsescipy.specialnow accurately type-hints 80% of its ufuncs using type-signature-specific overloaded protocols.
What's Changed
Improvements
*: switch to the shape-typedoptype.numpyarray-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 withTypedDicts andLiterals by @jorenham in #203- prefer
optype.numpyfor annotating arrays by @jorenham in #204 optimize: complete_constraintsand_trustregion_constr.*by @jorenham in #205optimize: complete the root-finding functions by @jorenham in #207optimize: completefixed_pointby @jorenham in #208optimize: completecurve_fit,leastsq, andfsolveby @jorenham in #209optimize: completeHessianUpdateStrategy,BFGS, andSR1by @jorenham in #210optimize: completebasinhoppingby @jorenham in #211optimize: fix and completedirectby @jorenham in #212optimize: complete_differentiable_functions(private) by @jorenham in #214optimize: complete_lsq(private subpackage) by @jorenham in #215- Codemod for pos-only
selfparameters by @jorenham in #218 optimize: completedifferential_evolutionby @jorenham in #219optimize: completedual_annealingby @jorenham in #220optimize: fix and improveminimizeandbasinhoppingby @jorenham in #221optimize: completeshgo, improvebasinhoppingby @jorenham in #222optimize: completeline_searchby @jorenham in #223optimize: complete_dcsrch(private) by @jorenham in #224optimize: completelinear_sum_assignmentby @jorenham in #225optimize: completequadratic_assignmentby @jorenham in #227signal: Replace the finalUntypedin_short_time_fft.pyi. by @pavyamsiri in #226optimize: complete_shgo_lib(private) by @jorenham in #228optimize: complete_trliband_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_cobylaby @jorenham in #240optimize: completefmin_l_bfgs_bandLbfgsInvHessProductby @jorenham in #241optimize: completefmin_slsqpby @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: improvednormsignature 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.mdby @jorenham in #206 - document that
scipy-stubsis installable with conda by @jorenham in #230 - 📝 update the
scipycoverage phase table by @jorenham in #243 - Add a highlights section in
README.mdby @jorenham in #249 - update the
README.mdphase table to better reflect theUntypedcounts by @jorenham in #253 - prevent lock update with tools and
uvsetup guide by @miloth in #254
Dependencies
- bump
mdformatandmdformat-pyprojectby @jorenham in #187 - bump
ruffto0.8.0by @jorenham in #191 - bump
basedpyrightto1.22.0by @jorenham in #193 - bump
optypeto0.7.2by @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
.venvwhen opened by @jorenham in #213 - bump
ruffto0.8.1by @jorenham in #229 - bump
optypeto0.7.3by @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_tstutilsby @jorenham in #196- custom auto-generated release notes by @jorenham in #199
- enable all
ruffrules by default by @jorenham in #201 - restore the
libcstcodemod config by @jorenham in #217 - test with the oldest supported numpy version in the CI by @jorenham in #231
- use the new 0-d
optypearray aliases to simplify the code by @jorenham in #234 - use the new
optypestrict-shape array-likes by @jorenham in #235 - security policy update by @jorenham in #251
- use
uvas package manager by @miloth in #174
New Contributors
Full Changelog: v1.14.1.4...v1.14.1.5
v1.14.1.4
What's Changed
- Bump poethepoet from 0.29.0 to 0.30.0 in the actions group by @dependabot in #173
- bump
ruffto0.7.4by @jorenham in #178 - prepare for further development by @jorenham in #179
- configure dependabot to use the correct labels by @jorenham in #180
- Bump DavidAnson/markdownlint-cli2-action from 17 to 18 in the actions group by @dependabot in #181
- complete
scipy.interpolate._cubicby @jorenham in #182 - bump
libcstto1.5.1by @jorenham in #183 - use the conventional
optypeimport aliases by @jorenham in #184 - optype 0.7 by @jorenham in #185
New Contributors
- @dependabot made their first contribution in #173
Full Changelog: v1.14.1.3...v1.14.1.4
v1.14.1.3
Highlights
- annotated all of
scipy.signal.windows(#153) - annotated and tested the
scipy.signalspectral analysis functions (#157)periodogramspectrogramwelchlombscarglecsdcoherencestftandistftcheck_COLAandcheck_NOLA
- improved and fixed many
scipy.optimizefunctions (#167), including
Resolved issues
- #134 - specializing
scipy.optimize.OptimizeResult - #154 -
select_rangeparams inscipy.linalg._decompcan only beint{16,32,64}ifselect="i" - #155 - sync
integrate._typing.QuadOptswith the kwargs ofintegrate.quad - #158 -
scipy.spatialsignature of[c]KDTree.querydoes not match docs - #159 -
scipy.signal.find_peaksreturned dictionary type is missing the'widths'key - #163 - Wrong return type for
scipy.fft.next_fast_len - #168 -
scipy.stats.qmc.scaledoes not accept numpy array with typed shape as input when type checked with pyright
Merged PR's
- use
basedmypy[faster-cache]by @jorenham in #150 - bump
ruffto0.7.2by @jorenham in #151 - prepare for further development by @jorenham in #152
- sync
integrate._typing.QuadOptswithintegrate.quadkwargs by @jorenham in #156 signal.windows: Add type stubs for_windows.pyi. by @pavyamsiri in #153signal: Add type stubs to_spectral_py.pyi. by @pavyamsiri in #157- fix #159 and improve
scipy.signal._peak_findingby @jorenham in #161 - fix #158 and improve
scipy.spatial._[c]kdtreeby @jorenham in #162 - fix #163 and improve
scipy.fft._helperby @jorenham in #164 - fix #154 and improve
scipy.linalg._decompby @jorenham in #165 - add missing
__all__inscipy.optimizeby @jorenham in #166 - fix #134 and improve
scipy.optimize._optimizeby @jorenham in #167 - bump
ruffto0.7.3by @jorenham in #170 - bump
basedpyrightto1.21.0by @jorenham in #171 - fix incorrectly rejected
ndarrayinscipy.stats.qmcby @jorenham in #172
Full Changelog: v1.14.1.2...v1.14.1.3
v1.14.1.2
scipy-stubs v1.14.1.2
Highlights
Fixes
scipy.integrate.quadrejected all callables ifargswas passed (#141)scipy.stats.permutation_testrejectedstatisticwith multiple parameters (#143)
Merged PR's
- update development dependencies by @jorenham in #133
- complete
scipy.statsby @jorenham in #135 - bump
basedpyrightto1.19.1andtoxto4.23.2by @jorenham in #136 - use utf8 emoji's for pypi compat by @jorenham in #137
- bump
ruffto0.7.1by @jorenham in #138 - fix
scipy.integratequad function parameter types by @jorenham in #141 - complete
scipy.fftby @jorenham in #142 - fix permutation_test statistic callback type by @graingert-coef in #143
- bump
basedpyrightto1.20.0by @jorenham in #144 - fix dependabot target branch and include github-actions by @jorenham in #145
- configure and enforce
repo-review,codespell, andmdformatby @jorenham in #146 - bump to
basedmypy 2.7.0(mypy 1.3.0) by @jorenham in #147 - include more cache directories in the
poe cleandev command by @jorenham in #148 - Restructured type-tests and related documentation by @jorenham in #149
New Contributors
- @graingert-coef made their first contribution in #143
Full Changelog: v1.14.1.1...v1.14.1.2
v1.14.1.1
What's Changed
- fix and improve
scipy.optimize.minimizeby @jorenham in #86 - bump
basedpyrightto1.19.0andtoxto4.23.0by @jorenham in #88 - codemod for missing annotations by @jorenham in #89
- bump
ruffto0.7.0, and enableANNby @jorenham in #90 - add
.mypy_cacheto.gitignoreby @jorenham in #91 - codemod for params with missing trailing comma by @jorenham in #94
- fix the remaining pyright errors by @jorenham in #95
- made
scipyoptional, and loosened the version restrictions by @jorenham in #96 - complete
scipy.linalgby @jorenham in #109 - run
basedpyrightinpre-commitby @jorenham in #110 - complete
scipy.ioby @jorenham in #112 - simple contributing guide by @jorenham in #108
- refactor contextmanagers with a type-check-only mixins by @jorenham in #113
- use
AnyforUntypedby @jorenham in #114 - complete and improve
scipy._libby @jorenham in #116 - complete
scipy.spatialby @jorenham in #117 - Add type stubs to
scipy/signal/_peak_finding.pyiby @pavyamsiri in #87 - complete
scipy.odrby @jorenham in #119 - combine
allowlist.txtrules as regexes by @jorenham in #122 - explicit python version pypi classifiers by @jorenham in #123
- configure pyright execution environments by @jorenham in #125
- complete
scipy.fft.dct, and add relevant type aliases by @Avasam in #118 - complete
scipy.fftpackby @jorenham in #121 - complete
scipy.signal._savitzky_golayby @pavyamsiri in #124 - complete
scipy.integrateby @jorenham in #128 - manual typing fixes on numpy 1.24 and python 3.10 by @jorenham in #131
New Contributors
Full Changelog: v1.14.1.0...v1.14.1.1
v1.14.1.0
What's Changed
- improved
scipy.stats.distributionsby @jorenham in #43 - bump basedpyright to 1.17.3 by @jorenham in #44
- more poe tasks & CI typetesting by @jorenham in #45
scipy.optimize(partial) by @jorenham in #46- First pass on dealing with public private modules: Re-export attributes of public private modules through
__all__by @pavyamsiri in #54 - update the development dependencies by @jorenham in #55
- use 4-space indentation for toml by @jorenham in #56
- configure pre-commit by @jorenham in #57
- stubtest specific packages by @jorenham in #58
- completed
scipy.ioby @jorenham in #59 - fix pyright error in
scipy.clusterby @jorenham in #60 - deal with deprecated
scipy.integratemodules by @jorenham in #61 - deal with deprecated
scipy.linalgmodules by @jorenham in #62 - deal with deprecated
scipy.constantsmodules by @jorenham in #63 scipy.interpolateby @jorenham in #64- bump
basedpyrightto1.18.4by @jorenham in #65 - fix version number and stop using
verifytypesby @jorenham in #67 - move
./typeteststo./tests/typetestsby @jorenham in #70 - improved
README.mdby @jorenham in #71 scipy.ndimageby @jorenham in #72- fix pyright errors in
scipy.odrby @jorenham in #73 scipy.spatialby @jorenham in #74- Streamlined
README.mdby @jorenham in #75 scipy._libby @jorenham in #76- fix
stubtestbuild errors inscipy.statsby @jorenham in #77 - fix
scipy.signalstubtest by @jorenham in #78 - Final pass over the deprecated public modules by @pavyamsiri in #79
- fix
scipy.statsstubtest by @jorenham in #80 - improved
scipy.LowLevelCallableby @jorenham in #82 - fix
scipy.sparsestubtests by @jorenham in #83 - fix mypy errors in
scipy.signalby @jorenham in #84 - configure tox by @jorenham in #85
New Contributors
- @pavyamsiri made their first contribution in #54
Full Changelog: v1.4.1a3...v1.14.1.0
v1.14.1a3
What's Changed
- fixes & improvements for
scipy.stats.distributionsby @jorenham in #37 - fix
scipy.integratequad integrand function signatures by @jorenham in #38 - loosened the type signature of the integrand in
scipy.integrate.nquadby @jorenham in #39 - fix stubtest errors by @jorenham in #40
- various fixes and improvements in
scipy.stats._distn_infrastructureby @jorenham in #41
Full Changelog: v1.14.1a2...v1.4.1a3
v1.14.1a2
What's Changed
scipy.integrateby @jorenham in #11- update development dependencies by @jorenham in #12
scipy.__init__by @jorenham in #13- fix stubtest
__all__errors by @jorenham in #14 - add
poecommands by @jorenham in #15 scipy.versionby @jorenham in #16- fix
scipy.stats.distributionsstubtests by @jorenham in #17 - fix
scipy.integratestubtests by @jorenham in #18 scipy.datasetsby @jorenham in #19- stop incorrectly using
basedpyright --verifytypesby @jorenham in #20 - fix
scipy.LowLevelCallablestubtests by @jorenham in #21 - fix
scipy.linalgstubtests by @jorenham in #22 scipy.clusterby @jorenham in #23scipy.miscby @jorenham in #24scipy.special.cython_specialby @jorenham in #25scipy.specialby @jorenham in #26- bump ruff to 0.6.4 by @jorenham in #28
- some
README.mdfixes and improvements by @jorenham in #29
Full Changelog: v1.14.1a1...v1.14.1a2
v1.14.1a1
First official (pre-)release
Full Changelog: https://github.com/jorenham/scipy-stubs/commits/v1.14.1a1