NumPy 2.4.2 Release Notes#

The NumPy 2.4.2 is a patch release that fixes bugs discovered after the 2.4.1 release. Highlights are:

  • Fixes memory leaks

  • Updates OpenBLAS to fix hangs

This release supports Python versions 3.11-3.14

Contributors#

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

  • Charles Harris

  • Daniel Tang +

  • Joren Hammudoglu

  • Kumar Aditya

  • Matti Picus

  • Nathan Goldbaum

  • Ralf Gommers

  • Sebastian Berg

  • Vikram Kumar +

Pull requests merged#

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

  • #30629: MAINT: Prepare 2.4.x for further development

  • #30636: TYP: arange: accept datetime strings

  • #30657: MAINT: avoid possible race condition by not touching os.environ

  • #30700: BUG: validate contraction axes in tensordot (#30521)

  • #30701: DOC: __array_namespace__info__: set_module not __module__ (#30679)

  • #30702: BUG: fix free-threaded PyObject layout in replace_scalar_type_names…

  • #30703: TST: fix limited API example in tests for latest Cython

  • #30709: BUG: Fix some bugs found via valgrind (#30680)

  • #30712: MAINT: replace ob_type access with Py_TYPE in PyArray_CheckExact

  • #30713: BUG: Fixup the quantile promotion fixup

  • #30736: BUG: fix thread safety of array_getbuffer (#30667)

  • #30737: backport scipy-openblas version change