NumPy 2.2.4 Release Notes#

NumPy 2.2.4 is a patch release that fixes bugs found after the 2.2.3 release. There are a large number of typing improvements, the rest of the changes are the usual mix of bug fixes and platform maintenance.

This release supports Python versions 3.10-3.13.

Contributors#

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

  • Abhishek Kumar

  • Andrej Zhilenkov

  • Andrew Nelson

  • Charles Harris

  • Giovanni Del Monte

  • Guan Ming(Wesley) Chiu +

  • Jonathan Albrecht +

  • Joren Hammudoglu

  • Mark Harfouche

  • Matthieu Darbois

  • Nathan Goldbaum

  • Pieter Eendebak

  • Sebastian Berg

  • Tyler Reddy

  • lvllvl +

Pull requests merged#

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

  • #28333: MAINT: Prepare 2.2.x for further development.

  • #28348: TYP: fix positional- and keyword-only params in astype, cross…

  • #28377: MAINT: Update FreeBSD version and fix test failure

  • #28379: BUG: numpy.loadtxt reads only 50000 lines when skip_rows >= max_rows

  • #28385: BUG: Make np.nonzero threading safe

  • #28420: BUG: safer bincount casting (backport to 2.2.x)

  • #28422: BUG: Fix building on s390x with clang

  • #28423: CI: use QEMU 9.2.2 for Linux Qemu tests

  • #28424: BUG: skip legacy dtype multithreaded test on 32 bit runners

  • #28435: BUG: Fix searchsorted and CheckFromAny byte-swapping logic

  • #28449: BUG: sanity check __array_interface__ number of dimensions

  • #28510: MAINT: Hide decorator from pytest traceback

  • #28512: TYP: Typing fixes backported from #28452, #28491, #28494

  • #28521: TYP: Backport fixes from #28505, #28506, #28508, and #28511

  • #28533: TYP: Backport typing fixes from main (2)

  • #28534: TYP: Backport typing fixes from main (3)

  • #28542: TYP: Backport typing fixes from main (4)