NumPy 2.1.2 Release Notes#

NumPy 2.1.2 is a maintenance release that fixes bugs and regressions discovered after the 2.1.1 release.

The Python versions supported by this release are 3.10-3.13.

Contributors#

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

  • Charles Harris

  • Chris Sidebottom

  • Ishan Koradia +

  • João Eiras +

  • Katie Rust +

  • Marten van Kerkwijk

  • Matti Picus

  • Nathan Goldbaum

  • Peter Hawkins

  • Pieter Eendebak

  • Slava Gorloff +

Pull requests merged#

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

  • #27333: MAINT: prepare 2.1.x for further development

  • #27400: BUG: apply critical sections around populating the dispatch cache

  • #27406: BUG: Stub out get_build_msvc_version if distutils.msvccompiler…

  • #27416: BUILD: fix missing include for std::ptrdiff_t for C++23 language…

  • #27433: BLD: pin setuptools to avoid breaking numpy.distutils

  • #27437: BUG: Allow unsigned shift argument for np.roll

  • #27439: BUG: Disable SVE VQSort

  • #27471: BUG: rfftn axis bug

  • #27479: BUG: Fix extra decref of PyArray_UInt8DType.

  • #27480: CI: use PyPI not scientific-python-nightly-wheels for CI doc…

  • #27481: MAINT: Check for SVE support on demand

  • #27484: BUG: initialize the promotion state to be weak

  • #27501: MAINT: Bump pypa/cibuildwheel from 2.20.0 to 2.21.2

  • #27506: BUG: avoid segfault on bad arguments in ndarray.__array_function__