NumPy 1.22.2 Release Notes#
The NumPy 1.22.2 is maintenance release that fixes bugs discovered after the 1.22.1 release. Notable fixes are:
Several build related fixes for downstream projects and other platforms.
Various Annotation fixes/additions.
Numpy wheels for Windows will use the 1.41 tool chain, fixing downstream link problems for projects using NumPy provided libraries on Windows.
Deal with CVE-2021-41495 complaint.
The Python versions supported for this release are 3.8-3.10.
Contributors#
A total of 14 people contributed to this release. People with a “+” by their names contributed a patch for the first time.
Andrew J. Hesford +
Bas van Beek
Brénainn Woodsend +
Charles Harris
Hood Chatham
Janus Heide +
Leo Singer
Matti Picus
Mukulika Pahari
Niyas Sait
Pearu Peterson
Ralf Gommers
Sebastian Berg
Serge Guelton
Pull requests merged#
A total of 21 pull requests were merged for this release.
#20842: BLD: Add NPY_DISABLE_SVML env var to opt out of SVML
#20843: BUG: Fix build of third party extensions with Py_LIMITED_API
#20844: TYP: Fix pyright being unable to infer the
real
andimag
…#20845: BUG: Fix comparator function signatures
#20906: BUG: Avoid importing
numpy.distutils
on import numpy.testing#20907: MAINT: remove outdated mingw32 fseek support
#20908: TYP: Relax the return type of
np.vectorize
#20909: BUG: fix f2py’s define for threading when building with Mingw
#20910: BUG: distutils: fix building mixed C/Fortran extensions
#20912: DOC,TST: Fix Pandas code example as per new release
#20935: TYP, MAINT: Add annotations for
flatiter.__setitem__
#20936: MAINT, TYP: Added missing where typehints in
fromnumeric.pyi
#20937: BUG: Fix build_ext interaction with non numpy extensions
#20938: BUG: Fix missing intrinsics for windows/arm64 target
#20945: REL: Prepare for the NumPy 1.22.2 release.
#20982: MAINT: f2py: don’t generate code that triggers
-Wsometimes-uninitialized
.#20983: BUG: Fix incorrect return type in reduce without initial value
#20984: ENH: review return values for PyArray_DescrNew
#20985: MAINT: be more tolerant of setuptools >= 60
#20986: BUG: Fix misplaced return.
#20992: MAINT: Further small return value validation fixes