• [Python-announce] NumPy 2.2. 2 Release

    From Charles R Harris@charlesr.harris@gmail.com to comp.lang.python.announce on Sat Jan 18 17:55:04 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.2.2. NumPy 2.2.2 is a patch release that fixes bugs found after the 2.2.1 release. The number of typing fixes/updates is notable.

    This release supports Python 3.10-3.13. Wheels can be downloaded from PyPI <https://pypi.org/project/numpy/2.2.2>; source archives, release notes, and wheel hashes are available on Github <https://github.com/numpy/numpy/releases/tag/v2.2.2>.

    *Contributors*

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

    - Alicia Boya García +
    - Charles Harris
    - Joren Hammudoglu
    - Kai Germaschewski +
    - Nathan Goldbaum
    - PTUsumit +
    - Rohit Goswami
    - Sebastian Berg


    *Pull requests merged*

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


    - #28050: MAINT: Prepare 2.2.x for further development
    - #28055: TYP: fix ``void`` arrays not accepting ``str`` keys in
    ``__setitem__``
    - #28066: TYP: fix unnecessarily broad ``integer`` binop return types
    (#28065)
    - #28112: TYP: Better ``ndarray`` binop return types for ``float64`` &...
    - #28113: TYP: Return the correct ``bool`` from ``issubdtype``
    - #28114: TYP: Always accept ``date[time]`` in the ``datetime64``
    constructor
    - #28120: BUG: Fix auxdata initialization in ufunc slow path
    - #28131: BUG: move reduction initialization to ufunc initialization
    - #28132: TYP: Fix ``interp`` to accept and return scalars
    - #28137: BUG: call PyType_Ready in f2py to avoid data races
    - #28145: BUG: remove unnecessary call to PyArray_UpdateFlags
    - #28160: BUG: Avoid data race in PyArray_CheckFromAny_int
    - #28175: BUG: Fix f2py directives and --lower casing
    - #28176: TYP: Fix overlapping overloads issue in 2->1 ufuncs
    - #28177: TYP: preserve shape-type in ndarray.astype()
    - #28178: TYP: Fix missing and spurious top-level exports


    Cheers,

    Charles Harris
    --- Synchronet 3.20c-Linux NewsLink 1.2