NumPy 1.18.1 Release Notes#

This release contains fixes for bugs reported against NumPy 1.18.0. Two bugs in particular that caused widespread problems downstream were:

  • The cython random extension test was not using a temporary directory for building, resulting in a permission violation. Fixed.

  • Numpy distutils was appending -std=c99 to all C compiler runs, leading to changed behavior and compile problems downstream. That flag is now only applied when building numpy C code.

The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.14 for Python 3.8 support and OpenBLAS >= 3.7 to avoid errors on the Skylake architecture.


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

  • Charles Harris

  • Matti Picus

  • Maxwell Aladago

  • Pauli Virtanen

  • Ralf Gommers

  • Tyler Reddy

  • Warren Weckesser

Pull requests merged#

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

  • #15158: MAINT: Update for towncrier.

  • #15159: DOC: add moved modules to 1.18 release note

  • #15161: MAINT, DOC: Minor backports and updates for 1.18.x

  • #15176: TST: Add assert_array_equal test for big integer arrays

  • #15184: BUG: use tmp dir and check version for cython test (#15170)

  • #15220: BUG: distutils: fix msvc+gfortran openblas handling corner case

  • #15221: BUG: remove -std=c99 for c++ compilation (#15194)

  • #15222: MAINT: unskip test on win32

  • #15223: TST: add BLAS ILP64 run in Travis & Azure

  • #15245: MAINT: only add –std=c99 where needed

  • #15246: BUG: lib: Fix handling of integer arrays by gradient.

  • #15247: MAINT: Do not use private Python function in testing

  • #15250: REL: Prepare for the NumPy 1.18.1 release.