Skip to main content
`Ctrl`+`K`

# NumPy 2.2.2 Release Notes

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 versions 3.10-3.13.

## 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