NumPy 1.25.2 Release Notes#

NumPy 1.25.2 is a maintenance release that fixes bugs and regressions discovered after the 1.25.1 release. This is the last planned release in the 1.25.x series, the next release will be 1.26.0, which will use the meson build system and support Python 3.12. The Python versions supported by this release are 3.9-3.11.

Contributors#

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

  • Aaron Meurer

  • Andrew Nelson

  • Charles Harris

  • Kevin Sheppard

  • Matti Picus

  • Nathan Goldbaum

  • Peter Hawkins

  • Ralf Gommers

  • Randy Eckenrode +

  • Sam James +

  • Sebastian Berg

  • Tyler Reddy

  • dependabot[bot]

Pull requests merged#

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

  • #24148: MAINT: prepare 1.25.x for further development

  • #24174: ENH: Improve clang-cl compliance

  • #24179: MAINT: Upgrade various build dependencies.

  • #24182: BLD: use -ftrapping-math with Clang on macOS

  • #24183: BUG: properly handle negative indexes in ufunc_at fast path

  • #24184: BUG: PyObject_IsTrue and PyObject_Not error handling in setflags

  • #24185: BUG: histogram small range robust

  • #24186: MAINT: Update meson.build files from main branch

  • #24234: MAINT: exclude min, max and round from np.__all__

  • #24241: MAINT: Dependabot updates

  • #24242: BUG: Fix the signature for np.array_api.take

  • #24243: BLD: update OpenBLAS to an intermediate commit

  • #24244: BUG: Fix reference count leak in str(scalar).

  • #24245: BUG: fix invalid function pointer conversion error

  • #24255: BUG: Factor out slow getenv call used for memory policy warning

  • #24292: CI: correct URL in cirrus.star [skip cirrus]

  • #24293: BUG: Fix C types in scalartypes

  • #24294: BUG: do not modify the input to ufunc_at

  • #24295: BUG: Further fixes to indexing loop and added tests