NumPy 1.21.2 Release Notes#

The NumPy 1.21.2 is a maintenance release that fixes bugs discovered after 1.21.1. It also provides 64 bit manylinux Python 3.10.0rc1 wheels for downstream testing. Note that Python 3.10 is not yet final. It also has preliminary support for Windows on ARM64, but there is no OpenBLAS for that platform and no wheels are available.

The Python versions supported for this release are 3.7-3.9. The 1.21.x series is compatible with Python 3.10.0rc1 and Python 3.10 will be officially supported after it is released. The previous problems with gcc-11.1 have been fixed by gcc-11.2, check your version if you are using gcc-11.


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

  • Bas van Beek

  • Carl Johnsen +

  • Charles Harris

  • Gwyn Ciesla +

  • Matthieu Dartiailh

  • Matti Picus

  • Niyas Sait +

  • Ralf Gommers

  • Sayed Adel

  • Sebastian Berg

Pull requests merged#

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

  • #19497: MAINT: set Python version for 1.21.x to <3.11

  • #19533: BUG: Fix an issue wherein importing numpy.typing could raise

  • #19646: MAINT: Update Cython version for Python 3.10.

  • #19648: TST: Bump the python 3.10 test version from beta4 to rc1

  • #19651: TST: avoid distutils.sysconfig in

  • #19652: MAINT: add missing dunder method to nditer type hints

  • #19656: BLD, SIMD: Fix testing extra checks when -Werror isn’t applicable…

  • #19657: BUG: Remove logical object ufuncs with bool output

  • #19658: MAINT: Include .coveragerc in source distributions to support…

  • #19659: BUG: Fix bad write in masked iterator output copy paths

  • #19660: ENH: Add support for windows on arm targets

  • #19661: BUG: add base to templated arguments for platlib

  • #19662: BUG,DEP: Non-default UFunc signature/dtype usage should be deprecated

  • #19666: MAINT: Add Python 3.10 to supported versions.

  • #19668: TST,BUG: Sanitize path-separators when running

  • #19671: BLD: load extra flags when checking for libflame

  • #19676: BLD: update circleCI docker image

  • #19677: REL: Prepare for 1.21.2 release.