NumPy 2.2.3 Release Notes#

NumPy 2.2.3 is a patch release that fixes bugs found after the 2.2.2 release. The majority of the changes are typing improvements and fixes for free threaded Python. Both of those areas are still under development, so if you discover new problems, please report them.

This release supports Python versions 3.10-3.13.

Contributors#

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

  • !amotzop

  • Charles Harris

  • Chris Sidebottom

  • Joren Hammudoglu

  • Matthew Brett

  • Nathan Goldbaum

  • Raghuveer Devulapalli

  • Sebastian Berg

  • Yakov Danishevsky +

Pull requests merged#

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

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

  • #28201: BUG: fix data race in a more minimal way on stable branch

  • #28208: BUG: Fix from_float_positional errors for huge pads

  • #28209: BUG: fix data race in np.repeat

  • #28212: MAINT: Use VQSORT_COMPILER_COMPATIBLE to determine if we should…

  • #28224: MAINT: update highway to latest

  • #28236: BUG: Add cpp atomic support (#28234)

  • #28237: BLD: Compile fix for clang-cl on WoA

  • #28243: TYP: Avoid upcasting float64 in the set-ops

  • #28249: BLD: better fix for clang / ARM compiles

  • #28266: TYP: Fix timedelta64.__divmod__ and timedelta64.__mod__

  • #28274: TYP: Fixed missing typing information of set_printoptions

  • #28278: BUG: backport resource cleanup bugfix from gh-28273

  • #28282: BUG: fix incorrect bytes to stringdtype coercion

  • #28283: TYP: Fix scalar constructors

  • #28284: TYP: stub numpy.matlib

  • #28285: TYP: stub the missing numpy.testing modules

  • #28286: CI: Fix the github label for TYP: PR’s and issues

  • #28305: TYP: Backport typing updates from main

  • #28321: BUG: fix race initializing legacy dtype casts

  • #28324: CI: update test_moderately_small_alpha