|
4 | 4 | NumPy 2.2.1 Release Notes
|
5 | 5 | ==========================
|
6 | 6 |
|
| 7 | +NumPy 2.2.1 is a patch release following 2.2.0. It fixes bugs found after the |
| 8 | +2.2.0 release and has several maintenance pins to work around upstream changes. |
| 9 | + |
| 10 | +There was some breakage in downstream projects following the 2.2.0 release due |
| 11 | +to updates to NumPy typing. Because of problems due to MyPy defects, we |
| 12 | +recommend using basedpyright for type checking, it can be installed from |
| 13 | +PyPI. The Pylance extension for Visual Studio Code is also based on Pyright. |
| 14 | +Problems that persist when using basedpyright should be reported as issues |
| 15 | +on the NumPy github site. |
| 16 | + |
| 17 | +This release supports Python 3.10-3.13. |
| 18 | + |
| 19 | + |
| 20 | +Contributors |
| 21 | +============ |
| 22 | + |
| 23 | +A total of 9 people contributed to this release. People with a "+" by their |
| 24 | +names contributed a patch for the first time. |
| 25 | + |
| 26 | +* Charles Harris |
| 27 | +* Joren Hammudoglu |
| 28 | +* Matti Picus |
| 29 | +* Nathan Goldbaum |
| 30 | +* Peter Hawkins |
| 31 | +* Simon Altrogge |
| 32 | +* Thomas A Caswell |
| 33 | +* Warren Weckesser |
| 34 | +* Yang Wang + |
| 35 | + |
| 36 | + |
| 37 | +Pull requests merged |
| 38 | +==================== |
| 39 | + |
| 40 | +A total of 12 pull requests were merged for this release. |
| 41 | + |
| 42 | +* `#27935<https://github.com/numpy/numpy/pull/27935>`__: MAINT: Prepare 2.2.x for further development |
| 43 | +* `#27950<https://github.com/numpy/numpy/pull/27950>`__: TEST: cleanups [skip cirrus][skip azp] |
| 44 | +* `#27958<https://github.com/numpy/numpy/pull/27958>`__: BUG: fix use-after-free error in npy_hashtable.cpp (#27955) |
| 45 | +* `#27959<https://github.com/numpy/numpy/pull/27959>`__: BLD: add missing include |
| 46 | +* `#27982<https://github.com/numpy/numpy/pull/27982>`__: BUG:fix compile error libatomic link test to meson.build |
| 47 | +* `#27990<https://github.com/numpy/numpy/pull/27990>`__: TYP: Fix falsely rejected value types in ``ndarray.__setitem__`` |
| 48 | +* `#27991<https://github.com/numpy/numpy/pull/27991>`__: MAINT: Don't wrap ``#include <Python.h>`` with ``extern "C"`` |
| 49 | +* `#27993<https://github.com/numpy/numpy/pull/27993>`__: BUG: Fix segfault in stringdtype lexsort |
| 50 | +* `#28006<https://github.com/numpy/numpy/pull/28006>`__: MAINT: random: Tweak module code in mtrand.pyx to fix a Cython... |
| 51 | +* `#28007<https://github.com/numpy/numpy/pull/28007>`__: BUG: Cython API was missing NPY_UINTP. |
| 52 | +* `#28021<https://github.com/numpy/numpy/pull/28021>`__: CI: pin scipy-doctest to 1.5.1 |
| 53 | +* `#28044<https://github.com/numpy/numpy/pull/28044>`__: TYP: allow ``None`` in operand sequence of nditer |
7 | 54 |
|
8 |
| -Highlights |
9 |
| -========== |
10 |
| - |
11 |
| -*We'll choose highlights for this release near the end of the release cycle.* |
12 |
| - |
13 |
| - |
14 |
| -.. if release snippets have been incorporated already, uncomment the follow |
15 |
| - line (leave the `.. include:: directive) |
16 |
| -
|
17 |
| -.. **Content from release note snippets in doc/release/upcoming_changes:** |
18 |
| -
|
19 |
| -..include::notes-towncrier.rst |
|