NumPy 2.4.1 Release Notes#

The NumPy 2.4.1 is a patch release that fixes bugs discovered after the 2.4.0 release. In particular, the typo SeedlessSequence is preserved to enable wheels using the random Cython API and built against NumPy < 2.4.0 to run without errors.

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.

  • Alexander Shadchin

  • Bill Tompkins +

  • Charles Harris

  • Joren Hammudoglu

  • Marten van Kerkwijk

  • Nathan Goldbaum

  • Raghuveer Devulapalli

  • Ralf Gommers

  • Sebastian Berg

Pull requests merged#

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

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

  • #30503: DOC: numpy.select: fix default parameter docstring…

  • #30504: REV: Revert part of #30164 (#30500)

  • #30506: TYP: numpy.select: allow passing array-like default

  • #30507: MNT: use if constexpr for compile-time branch selection

  • #30513: BUG: Fix leak in flat assignment iterator

  • #30516: BUG: fix heap overflow in fixed-width string multiply (#30511)

  • #30523: BUG: Ensure summed weights returned by np.average always are…

  • #30527: TYP: Fix return type of histogram2d

  • #30594: MAINT: avoid passing ints to random functions that take double…

  • #30595: BLD: Avoiding conflict with pygit2 for static build

  • #30596: MAINT: Fix msvccompiler missing error on FreeBSD

  • #30608: BLD: update vendored Meson to 1.9.2

  • #30620: ENH: use more fine-grained critical sections in array coercion…

  • #30623: BUG: Undo result type change of quantile/percentile but keep…