|
| 1 | +.. currentmodule:: numpy |
| 2 | + |
| 3 | +========================== |
| 4 | +NumPy 1.21.4 Release Notes |
| 5 | +========================== |
| 6 | + |
| 7 | +The NumPy 1.21.4 is a maintenance release that fixes a few bugs discovered |
| 8 | +after 1.21.3. The most important fix here is a fix for the NumPy header files |
| 9 | +to make them work for both x86_64 and M1 hardware when included in the Mac |
| 10 | +universal2 wheels. Previously, the header files only worked for M1 and this |
| 11 | +caused problems for folks building x86_64 extensions. This problem was not seen |
| 12 | +before Python 3.10 because there were thin wheels for x86_64 that had |
| 13 | +precedence. This release also provides thin x86_64 Mac wheels for Python 3.10. |
| 14 | + |
| 15 | +The Python versions supported in this release are 3.7-3.10. If you want to |
| 16 | +compile your own version using gcc-11, you will need to use gcc-11.2+ to avoid |
| 17 | +problems. |
| 18 | + |
| 19 | +Contributors |
| 20 | +============ |
| 21 | + |
| 22 | +A total of 7 people contributed to this release. People with a "+" by their |
| 23 | +names contributed a patch for the first time. |
| 24 | + |
| 25 | +* Bas van Beek |
| 26 | +* Charles Harris |
| 27 | +* Isuru Fernando |
| 28 | +* Matthew Brett |
| 29 | +* Sayed Adel |
| 30 | +* Sebastian Berg |
| 31 | +* 傅立业(Chris Fu) + |
| 32 | + |
| 33 | +Pull requests merged |
| 34 | +==================== |
| 35 | + |
| 36 | +A total of 9 pull requests were merged for this release. |
| 37 | + |
| 38 | +* `#20278 <https://github.com/numpy/numpy/pull/20278>`__: BUG: Fix shadowed reference of ``dtype`` in type stub |
| 39 | +* `#20293 <https://github.com/numpy/numpy/pull/20293>`__: BUG: Fix headers for universal2 builds |
| 40 | +* `#20294 <https://github.com/numpy/numpy/pull/20294>`__: BUG: ``VOID_nonzero`` could sometimes mutate alignment flag |
| 41 | +* `#20295 <https://github.com/numpy/numpy/pull/20295>`__: BUG: Do not use nonzero fastpath on unaligned arrays |
| 42 | +* `#20296 <https://github.com/numpy/numpy/pull/20296>`__: BUG: Distutils patch to allow for 2 as a minor version (!) |
| 43 | +* `#20297 <https://github.com/numpy/numpy/pull/20297>`__: BUG, SIMD: Fix 64-bit/8-bit integer division by a scalar |
| 44 | +* `#20298 <https://github.com/numpy/numpy/pull/20298>`__: BUG, SIMD: Workaround broadcasting SIMD 64-bit integers on MSVC... |
| 45 | +* `#20300 <https://github.com/numpy/numpy/pull/20300>`__: REL: Prepare for the NumPy 1.21.4 release. |
| 46 | +* `#20302 <https://github.com/numpy/numpy/pull/20302>`__: TST: Fix a ``Arrayterator`` typing test failure |
0 commit comments