• [Python-announce] NumPy 2.3.1 released

    From Charles R Harris@charlesr.harris@gmail.com to comp.lang.python.announce on Sat Jun 21 07:34:32 2025
    From Newsgroup: comp.lang.python.announce

    Hi All,

    On behalf of the NumPy team, I'm pleased to announce the release of
    NumPy 2.3.1. The NumPy 2.3.1 release is a patch release with several bug
    fixes, annotation improvements, and better support for OpenBSD. Highlights
    are:

    - Fix bug in ``matmul`` for non-contiguous out kwarg parameter
    - Fix for Accelerate runtime warnings on M4 hardware
    - Fix new in NumPy 2.3.0 ``np.vectorize`` casting errors
    - Improved support of cpu features for FreeBSD and OpenBSD

    This release supports Python 3.11-3.13, Python 3.14 will be supported when
    it is released. Wheels can be downloaded from PyPI <https://pypi.org/project/numpy/2.3.1>; source archives, release notes, and wheel hashes are available on Github <https://github.com/numpy/numpy/releases/tag/v2.3.1>.


    *Contributors*

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

    - Brad Smith +
    - Charles Harris
    - Developer-Ecosystem-Engineering
    - François Rozet
    - Joren Hammudoglu
    - Matti Picus
    - Mugundan Selvanayagam
    - Nathan Goldbaum
    - Sebastian Berg



    *Pull requests merged*
    A total of 12 pull requests were merged for this release.

    - #29140: MAINT: Prepare 2.3.x for further development
    - #29191: BUG: fix matmul with transposed out arg (#29179)
    - #29192: TYP: Backport typing fixes and improvements.
    - #29205: BUG: Revert ``np.vectorize`` casting to legacy behavior
    (#29196)
    - #29222: TYP: Backport typing fixes
    - #29233: BUG: avoid negating unsigned integers in resize
    implementation...
    - #29234: TST: Fix test that uses uninitialized memory (#29232)
    - #29235: BUG: Address interaction between SME and FPSR (#29223)
    - #29237: BUG: Enforce integer limitation in concatenate (#29231)
    - #29238: CI: Add support for building NumPy with LLVM for Win-ARM64
    - #29241: ENH: Detect CPU features on OpenBSD ARM and PowerPC64
    - #29242: ENH: Detect CPU features on FreeBSD / OpenBSD RISC-V64.


    Cheers,

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