On behalf of the NumPy team, I'm pleased to announce the release of NumPy 1.22.2. NumPy 1.22.2 fixes several bugs discovered after the 1.22.1 release. Notable fixes are:
- Build related fixes for downstream projects and other platforms. - Various annotation fixes/additions. - Fixes for the CVE-2021-41495 complaint. - Toolchain fixes on Windows. Numpy wheels now use the 1.41 tool chain, fixing downstream link problems for projects using NumPy provided libraries on Windows.
Note that OSX wheels are provided for both the x86_64 and arm64 architectures, but there are no universal2 wheels. The minimum supported OS X version is now 10.14 for the former and 11.0 for the latter. The Python versions supported in this release are 3.8-3.10. Wheels can be downloaded from PyPI https://pypi.org/project/numpy/1.22.2; source archives, release notes, and wheel hashes are available on Github https://github.com/numpy/numpy/releases/tag/v1.22.2. Linux users will need pip >= 0.19.3 in order to install the manylinux2014 wheels.
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`` and ``imag``... - #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