chore(deps): update dependency scipy to v1.16.3 #95
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.15.3->==1.16.3Release Notes
scipy/scipy (scipy)
v1.16.3: SciPy 1.16.3Compare Source
SciPy 1.16.3 Release Notes
SciPy
1.16.3is a bug-fix release with no new features compared to1.16.2.Authors
A total of 8 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.
The full issue and pull request lists, and the release asset hashes are available
in the associated
README.txtfile.v1.16.2: SciPy 1.16.2Compare Source
SciPy 1.16.2 Release Notes
SciPy
1.16.2is a bug-fix release with no new featurescompared to
1.16.1. This is the first stable release ofSciPy to provide Windows on ARM wheels on PyPI.
Authors
A total of 12 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.
The full issue and pull request lists, and the release asset hashes are available
in the associated
README.txtfile.v1.16.1: SciPy 1.16.1Compare Source
SciPy 1.16.1 Release Notes
SciPy
1.16.1is a bug-fix release that adds support for Python3.14.0rc1,including PyPI wheels.
Authors
A total of 12 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.
The full issue and pull request lists, and the release asset hashes are available
in the associated
README.txtfile.v1.16.0: SciPy 1.16.0Compare Source
SciPy 1.16.0 Release Notes
SciPy
1.16.0is the culmination of 6 months of hard work. It containsmany new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with
python -Wdand check forDeprecationWarnings).Our development attention will now shift to bug-fix releases on the
1.16.x branch, and on adding new features on the main branch.
This release requires Python
3.11-3.13and NumPy1.25.2or greater.Highlights of this release
new support in
scipy.signal, and additional support inscipy.statsandscipy.special. Improved support for JAX and Dask backends has been added,with notable support in
scipy.cluster.hierarchy, many functions inscipy.special, and many of the trimmed statistics functions.scipy.optimizenow uses the new Python implementation from thePRIMApackage for COBYLA. The PRIMA implementation fixes many bugsin the old Fortran 77 implementation with a better performance on average.
scipy.sparse.coo_arraynow supports n-D arrays with reshaping, arithmetic andreduction operations like sum/mean/min/max. No n-D indexing or
scipy.sparse.random_arraysupport yet.scipy.linalgnamespace that accept arrayarguments now support N-dimensional arrays to be processed as a batch.
scipy.signalfunctions,scipy.signal.firwin_2dandscipy.signal.closest_STFT_dual_window, for creation of a 2-D FIR filter andscipy.signal.ShortTimeFFTdual window calculation, respectively.scipy.spatial.transform.RigidTransform, provides functionalityto convert between different representations of rigid transforms in 3-D
space.
scipy.ndimage.vectorized_filterfor generic filters thattake advantage of a vectorized Python callable was added.
New features
scipy.ioimprovementsscipy.io.savematnow provides informative warnings for invalid field names.scipy.io.mmreadnow provides a clearer error message when provided witha source file path that does not exist.
scipy.io.wavfile.readcan now read non-seekable files.scipy.integrateimprovementsscipy.integrate.tanhsinhwas improved.scipy.interpolateimprovementsscipy.interpolate.make_smoothing_spline.scipy.linalgimprovementsscipy.linalgnamespace that accept arrayarguments now support N-dimensional arrays to be processed as a batch.
See
linalg_batchfor details.scipy.linalg.sqrtmis rewritten in C and its performance is improved. Italso tries harder to return real-valued results for real-valued inputs if
possible. See the function docstring for more details. In this version the
input argument
dispand the optional output argumenterrestaredeprecated and will be removed four versions later. Similarly, after
changing the underlying algorithm to recursion, the
blocksizekeywordargument has no effect and will be removed two versions later.
?stevd,?langb,?sytri,?hetriand?gbconwere added toscipy.linalg.lapack.scipy.linalg.eigh_tridiagonalwas improved.scipy.linalg.solvecan now estimate the reciprocal condition number andthe matrix norm calculation is more efficient.
scipy.ndimageimprovementsscipy.ndimage.vectorized_filterfor generic filters thattake advantage of a vectorized Python callable was added.
scipy.ndimage.rotatehas improved performance, especially on ARM platforms.scipy.optimizeimprovementsPRIMApackage.The PRIMA implementation fixes many bugs
in the old Fortran 77 implementation. In addition, it results in fewer function evaluations on average
but it depends on the problem and for some
problems it can result in more function evaluations or a less optimal
result. For those cases the user can try modifying the initial and final
trust region radii given by
rhobegandtolrespectively. A largerrhobegcan help the algorithm take bigger steps initially, while asmaller
tolcan help it continue and find a better solution.For more information, see the PRIMA documentation.
scipy.optimize.minimizemethods, and thescipy.optimize.least_squaresfunction, have been given aworkerskeyword. This allows parallelization of some calculations via a map-like
callable, such as
multiprocessing.Pool. These parallelizationopportunities typically occur during numerical differentiation. This can
greatly speed up minimization when the objective function is expensive to
calculate.
lmmethod ofscipy.optimize.least_squarescan now accept3-pointandcsfor thejackeyword.constraint multipliers are exposed to the user through the
multiplierkeyword of the returned
scipy.optimize.OptimizeResultobject.regression introduced in 1.15.x
scipy.optimize.rootnow warns for invalid inner parameters when using thenewton_krylovmethodmethod='L-BFGS-B'now hasa faster
hess_inv.todense()implementation. Time complexity has improvedfrom cubic to quadratic.
scipy.optimize.least_squareshas a newcallbackargument that is applicableto the
trfanddogboxmethods.callbackmay be used to trackoptimization results at each step or to provide custom conditions for
stopping.
scipy.signalimprovementsscipy.signal.firwin_2dfor the creation of a 2-D FIR Filterusing the 1-D window method was added.
scipy.signal.cspline1d_evalandscipy.signal.qspline1d_evalnow providean informative error on empty input rather than hitting the recursion limit.
scipy.signal.closest_STFT_dual_windowto calculate thescipy.signal.ShortTimeFFTdual window of a given window closest to adesired dual window.
scipy.signal.ShortTimeFFT.from_win_equals_dualtocreate a
scipy.signal.ShortTimeFFTinstance where the window and its dualare equal up to a scaling factor. It allows to create short-time Fourier
transforms which are unitary mappings.
scipy.signal.convolve2dwas improved.scipy.sparseimprovementsscipy.sparse.coo_arraynow supports n-D arrays using binary and reductionoperations.
matmul.
scipy.sparse.csgraph.dijkstrashortest_path is more efficient.scipy.sparse.csgraph.yenhas performance improvements.sparse.csgraphandsparse.linalgwasadded.
scipy.spatialimprovementsscipy.spatial.transform.RigidTransform, provides functionalityto convert between different representations of rigid transforms in 3-D
space, its application to vectors and transform composition.
It follows the same design approach as
scipy.spatial.transform.Rotation.scipy.spatial.transform.Rotationnow has an appropriate__repr__method,and improved performance for its
scipy.spatial.transform.Rotation.applymethod.
scipy.statsimprovementsscipy.stats.quantile, an array API compatible function forquantile estimation, was added.
scipy.stats.make_distributionwas extended to work with existing discretedistributions and to facilitate the creation of custom distributions in the
new random variable infrastructure.
scipy.stats.Binomial, was added.equal_varkeyword was added toscipy.stats.tukey_hsd(enables theGames-Howell test) and
scipy.stats.f_oneway(enables Welch ANOVA).scipy.stats.gennormwas improved.scipy.stats.modeimplementation was vectorized, for faster batchcalculation.
axis,nan_policy, andkeepdimskeywords was added toscipy.stats.power_divergence,scipy.stats.chisquare,scipy.stats.pointbiserialr,scipy.stats.kendalltau,scipy.stats.weightedtau,scipy.stats.theilslopes,scipy.stats.siegelslopes,scipy.stats.boxcox_llf, andscipy.stats.linregress.keepdimsandnan_policykeywords was added toscipy.stats.gstd.scipy.stats.special_ortho_groupandscipy.stats.pearsonrwas improved.
rngkeyword argument was added to thelogcdfandcdfmethods ofmultivariate_normal_genandmultivariate_normal_frozen.Array API Standard Support
Experimental support for array libraries other than NumPy has been added to
multiple submodules in recent versions of SciPy. Please consider testing
these features by setting the environment variable
SCIPY_ARRAY_API=1andproviding PyTorch, JAX, CuPy or Dask arrays as array arguments.
Many functions in
scipy.stats,scipy.special,scipy.optimize, andscipy.constantsnow provide tables documenting compatible array and devicetypes as well as support for lazy arrays and JIT compilation. New features with
support and old features with support added for SciPy 1.16.0 include:
scipy.signalfunctionalityscipy.ndimage.vectorized_filterscipy.special.stdtritscipy.special.softmaxscipy.special.log_softmaxscipy.stats.quantilescipy.stats.gstdscipy.stats.rankdataFeatures with extended array API support (generally, improved support
for JAX and Dask) in SciPy 1.16.0 include:
scipy.cluster.hierarchyfunctionsscipy.specialscipy.statsSciPy now has a CI job that exercises GPU (CUDA) support, and as a result
using PyTorch, CuPy or JAX arrays on GPU with SciPy is now more reliable.
Deprecated features
atolargument ofscipy.optimize.nnlsis deprecated and willbe removed in SciPy 1.18.0.
dispargument ofscipy.linalg.signm,scipy.linalg.logm, andscipy.linalg.sqrtmwill be removed in SciPy 1.18.0.scipy.stats.multinomialnow emits aFutureWarningif the rows ofpdo not sum to
1.0. This condition will produce NaNs beginning in SciPy1.18.0.
dispandiprintarguments of thel-bfgs-bsolver ofscipy.optimizehave been deprecated, and will be removed in SciPy 1.18.0.
Expired Deprecations
scipy.sparse.conjtransphas been removed. Use.T.conj()instead.quadrature='trapz'option has been removed fromscipy.integrate.quad_vec, andscipy.stats.trapzhas been removed. Usetrapezoidin both instances instead.scipy.special.combandscipy.special.permnow raise whenexact=Trueand arguments are non-integral.
argument
xhas been removed fromscipy.stats.linregress. The datamust be specified separately as
xandy.scipy.stats.power_divergenceandscipy.stats.chisquare.(e.g.,
scipy.sparse.base,scipy.interpolate.dfitpack) were cleanedup. They were previously already emitting deprecation warnings.
Backwards incompatible changes
scipy.linalgfunctions for solving a linear system (e.g.scipy.linalg.solve) documented that the RHS argument must be either 1-D or2-D but did not always raise an error when the RHS argument had more the
two dimensions. Now, many-dimensional right hand sides are treated according
to the rules specified in
linalg_batch.scipy.stats.bootstrapnow explicitly broadcasts elements ofdatato thesame shape (ignoring
axis) before performing the calculation.from scipy.signal import *,but may still be imported directly, as detailed at scipy/scipy-stubs#549.
Build and packaging related changes
10.13.
from 60 MB to 30 MB.
Cython>=3.1.0, SciPy now uses the newcython --generate-sharedfunctionality, which reduces the total size of SciPy's wheels and on-disk
installations significantly.
after
sf_error_statewas removed fromscipy.special.-Duse-system-librarieshas been added. It allowsopting in to using system libraries instead of using vendored sources.
Currently
Boost.MathandQhullare supported as system builddependencies.
Other changes
scipy-stubs(v1.16.0.0) isavailable at https://github.com/scipy/scipy-stubs/releases/tag/v1.16.0.0
scipy._libonscipy.sparsewas removed,which reduces the import time of a number of other SciPy submodules.
issues in
scipy.specialwere fixed, andpytest-run-parallelis now usedin a CI job to guard against regressions.
spinas a developerCLI was added, including support for editable installs. The SciPy-specific
python dev.pyCLI will be removed in the next release cycle in favor ofspin.scipy.specialwas moved to the newheader-only
xsflibrary. That library wasincluded back in the SciPy source tree as a git submodule.
namedtuple-like bunch objects returned by some SciPy functionsnow have improved compatibility with the
polarslibrary.rvsmethod ofscipy.stats.wrapcauchyis now mapped tothe unit circle between 0 and
2 * pi.lmmethod ofscipy.optimize.least_squaresnow has a different behaviorfor the maximum number of function evaluations,
max_nfev. The default forthe
lmmethod is changed to100 * n, for both a callable and anumerically estimated jacobian. This limit on function evaluations excludes
those used for any numerical estimation of the Jacobian. Previously the
default when using an estimated jacobian was
100 * n * (n + 1), becausethe method included evaluations used in the estimation. In addition, for the
lmmethod the number of function calls used in Jacobian approximationis no longer included in
OptimizeResult.nfev. This brings the behaviorof
lm,trf, anddogboxinto line.Authors
A total of 126 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.
Complete issue list, PR list, and release asset hashes are available in the associated
README.txt.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.