• [Python-announce] NumPy 2.5.4 released

    From Charles R Harris@[email protected] to comp.lang.python.announce on Sat Oct 10 16:15:43 2026
    From Newsgroup: comp.lang.python.announce

    Hi All,

    NumPy 2.5.4 is now available. This is a patch release that fixes bugs discovered after the 2.5.3 release. Highlights include:

    - Many typing fixes and improvements
    - A workaround for the MSVC 19.51 bug (see below for details)

    This release supports Python versions 3.12-3.15. Wheels can be downloaded
    from PyPI <https://pypi.org/project/numpy/2.5.4>; release notes and the changelog are available on Github <https://github.com/numpy/numpy/releases/tag/v2.5.4>.


    *Contributors*

    A total of 9 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

    - Aniket Singh Yadav
    - Bhuvansh Kataria +
    - Charles Harris
    - Iason Krommydas
    - Joren Hammudoglu
    - Lazizbek Ergashev +
    - Nathan Goldbaum
    - Sebastian Berg
    - Yeonho Kim


    *Pull requests merged*

    A total of 17 pull requests were merged for this release.

    - #32520: MAINT: Prepare 2.5.x for further development
    - #32557: BUG: Reset an unrepresentable fill_value on a dtype change
    (#32508)
    - #32565: BLD: work around MSVC 19.51 bug (#32561)
    - #32600: BUG: fix np.strings.replace truncating old/new to a's
    - #32707: BUG: fix ureduce reshape when a kept axis has size 0 (#32536)
    - #32709: BUG: fix two possible crashes in the ufunc.accumulate
    implementation ...
    - #32710: BUG: Reset an inherited fill_value in MaskedArray.__new__ as
    ...
    - #32711: ENH: Improvements and fixes for stringdtype hashing (#32563)
    - #32713: CI: increase ppc64le timeout to match other timeouts (#32583)
    - #32718: BUG: fix memory leak in legacy ArrayMethod wrapper code
    - #32719: BUG: check for non-finite input before calling gesdd/gelsd and
    ...
    - #32738: BUG: fix segfault in as_arrays() on self-referencing pyscalars
    - #32741: TYP: Various typing improvements.
    - #32791: BUG: Fix canonicalization/promotion of nested subarray types
    ...
    - #32888: MAINT: Update vendored-meson to match main.
    - #32904: TYP: Backport a number of typing updates.
    - #32956: TYP: Various typing fixes and improvements.


    Cheers,

    Charles Harris
    --- Synchronet 3.22a-Linux NewsLink 1.2