Repository navigation
Update dependency numpy to v2.5.4 - #71
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
2.5.3→2.5.4Release Notes
numpy/numpy (numpy)
v2.5.4: (Oct 10, 2026)Compare Source
NumPy 2.5.4 Release Notes
Released on 2026-10-10.
NumPy 2.5.4 is a patch release that fixes bugs discovered after the 2.5.3
release. Highlights are:
This release supports Python versions 3.12-3.15.
Improvements
numpy.linalg.svdandnumpy.linalg.lstsqnow raise for inputs containinginfinities instead of returning garbage results.
Fixed hangs in
numpy.linalg.svdandnumpy.linalg.lstsqfor certain inputscontaining infinities for recent versions of some LAPACK implementations.
numpy.linalg.condnow handles non-finite inputs more consistently.(gh-32593)
StringDType hashing with NaN sentinels
StringDTypeinstances with equivalent floating-point NaN sentinels nowhave equal hashes. Previously, distinct NaN objects could produce equal
dtype instances with different hashes, causing dictionary lookups and set
deduplication to fail.
(gh-32563)
Changes
MaskedArrayresets a fill_value that cannot be represented in a new dtypeA fill_value copied from a source array is now reset to the default fill_value
for the new dtype when it cannot be represented in that dtype. Previously the
copied value could be stale: ufuncs that change dtype left the result holding a
fill_value typed for the old dtype, which raised a
TypeErroronly whensomething later validated it (such as
.view()), and a floating pointfill_value that overflows an integer dtype was kept as an out-of-range value
together with a
RuntimeWarning. Both now fall back to the default,including when a masked array is passed to
MaskedArraywith a differentdtype. A fill_value given explicitly by the user is still validated andraises as before. This can now raise a
ComplexWarningif the fill_value iscomplex and the new dtype is real.
(gh-32508)
(gh-32562)
Contributors
A total of 9 people contributed to this release. People with a "+" by their
names contributed a patch for the first time.
Pull requests merged
A total of 17 pull requests were merged for this release.
Configuration
📅 Schedule: (in timezone Europe/London)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.