Bump numpy from 2.5.3 to 2.5.4 in /.learn_environment in the compatible-python group
Bumps the compatible-python group in /.learn_environment with 1 update: numpy.
Updates numpy from 2.5.3 to 2.5.4
Release notes
Sourced from numpy's releases.
v2.5.4 (Oct 10, 2026)
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:
- Many typing fixes and improvements,
- A workaround for the MSVC 19.51 bug, see below.
This release supports Python versions 3.12-3.15.
Improvements
numpy.linalg.svdandnumpy.linalg.lstsqnow raise for inputs containing infinities instead of returning garbage results.Fixed hangs in
numpy.linalg.svdandnumpy.linalg.lstsqfor certain inputs containing 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 now have 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 when something later validated it (such as.view()), and a floating point fill_value that overflows an integer dtype was kept as an out-of-range value together with aRuntimeWarning. Both now fall back to the default, including when a masked array is passed toMaskedArraywith a differentdtype. A fill_value given explicitly by the user is still validated and raises as before. This can now raise aComplexWarningif the fill_value is complex and the new dtype is real.
... (truncated)
Commits
a3d0ef1Merge pull request #32969 from charris/prepare-2.5.4087b536MAINT: Make OpenBLAS version check use 2.5.x branch.91acd87REL: Prepare for the NumPy 2.5.4 release.9cc555bMerge pull request #32956 from charris/backport-typing-1e04b972TYP:dtype[void].names: allow setting with list (#32943)d929969TYP:timedelta64:datetime.timedeltaconstruction isn't deprecated (#...839467fTYP:ma.getmaskarray: accept array-likes (#32934)64b721bTYP:polynomial: accept scalarcoefin the poly constructors (#32931)06b7ad2TYP:void: accept anydtype: strin constructor calls (#32928)c7bcd2cTYP:place: widenmask(#32926)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Updates numpy from 2.5.3 to 2.5.4 in the .learn_environment ingest requirements and regenerates the lockfile. This patch release fixes hangs and garbage results in numpy.linalg.svd and numpy.linalg.lstsq when inputs contain infinities, makes numpy.linalg.cond handle non-finite inputs consistently, includes typing improvements, and works around an MSVC 19.51 bug.