NumPy 1.21.5 Release Notes#

NumPy 1.21.5 is a maintenance release that fixes a few bugs discovered after the 1.21.4 release and does some maintenance to extend the 1.21.x lifetime. The Python versions supported in this release are 3.7-3.10. If you want to compile your own version using gcc-11, you will need to use gcc-11.2+ to avoid problems.


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

  • Bas van Beek

  • Charles Harris

  • Matti Picus

  • Rohit Goswami

  • Ross Barnowski

  • Sayed Adel

  • Sebastian Berg

Pull requests merged#

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

  • #20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias

  • #20462: BUG: Fix float16 einsum fastpaths using wrong tempvar

  • #20463: BUG, DIST: Print os error message when the executable not exist

  • #20464: BLD: Verify the ability to compile C++ sources before initiating…

  • #20465: BUG: Force npymath` ` to respect ``npy_longdouble

  • #20466: BUG: Fix failure to create aligned, empty structured dtype

  • #20467: ENH: provide a convenience function to replace npy_load_module

  • #20495: MAINT: update wheel to version that supports python3.10

  • #20497: BUG: Clear errors correctly in F2PY conversions

  • #20613: DEV: add a warningfilter to fix pytest workflow.

  • #20618: MAINT: Help boost::python libraries at least not crash