Visitar URL original
REL: Prepare for the NumPy 2.5.2 release (#32226) · numpy/numpy@48fecee · GitHub
Skip to content

Commit 48fecee

Browse files
authored
REL: Prepare for the NumPy 2.5.2 release (#32226)
1 parent ecf599c commit 48fecee

5 files changed

Lines changed: 146 additions & 16 deletions

File tree

‎.mailmap‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ Ajay Kumar Janapareddi <ajayjanapareddi@gmail.com>
100100
Alan Fontenot <logeaux@yahoo.com>
101101
Alan Fontenot <logeaux@yahoo.com> <36168460+logeaux@users.noreply.github.com>
102102
Abdul Muneer <abdulmuneer@gmail.com>
103+
Abhijeetsingh Meena <abhijeet040403@gmail.com>
104+
Abhijeetsingh Meena <abhijeet040403@gmail.com> <amethhac@gmail.com>
105+
Abhijeetsingh Meena <abhijeet040403@gmail.com> NumPy Bugfix <bugfix@localhost>
103106
Abhilash Barigidad <abhilash.ub@gmail.com>
104107
Abhilash Barigidad <abhilash.ub@gmail.com> <64172584+abhilash42@users.noreply.github.com>
105108
Abhinav Reddy <abhinav071197@gmail.com>
@@ -337,11 +340,14 @@ FX Coudert <fxcoudert@gmail.com>
337340
Gael Varoquaux <gael.varoquaux@normalesup.org>
338341
Gagandeep Singh <gdp.1807@gmail.com>
339342
Gavin Zhang <zhanggan@cn.ibm.com>
343+
Geonho <mnb0968@naver.com>
340344
Gerrit Holl <gerrit.holl@gmail.com> <gerrit.holl@utoronto.ca>
341345
Gerrit Holl <gerrit.holl@gmail.com> <g.holl@reading.ac.uk>
342346
Giuseppe Venturini <ggventurini@users.noreply.github.com>
343347
Golnaz Irannejad <golnazirannejad@gmail.com>
344348
Gopal Singh Meena <gopalmeena94@gmail.com>
349+
Gopu Yeshwanth Reddy <Gopu.Reddy@deshaw.com>
350+
Gopu Yeshwanth Reddy <Gopu.Reddy@deshaw.com> <87797634+Yeshwanth-G@users.noreply.github.com>
345351
Greg Knoll <gregory@bccn-berlin.de>
346352
Greg Yang <sorcererofdm@gmail.com>
347353
Greg Young <gfyoung17@gmail.com>

‎doc/changelog/2.5.2-changelog.rst‎

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
2+
Contributors
3+
============
4+
5+
A total of 16 people contributed to this release. People with a "+" by their
6+
names contributed a patch for the first time.
7+
8+
* Abhijeetsingh Meena +
9+
* Charalampos Stratakis
10+
* Charles Harris
11+
* Chris Ninham +
12+
* David Woods
13+
* Geonho +
14+
* Gopu Yeshwanth Reddy +
15+
* Iason Krommydas
16+
* Ijtihed Kilani
17+
* Jelle Zijlstra +
18+
* Joren Hammudoglu
19+
* Kumar Aditya
20+
* Mike Boyle
21+
* Nathan Goldbaum
22+
* Raghuveer Devulapalli
23+
* Sebastian Berg
24+
25+
Pull requests merged
26+
====================
27+
28+
A total of 28 pull requests were merged for this release.
29+
30+
* `#31864 <https://github.com/numpy/numpy/pull/31864>`__: MAINT: Prepare 2.5.x for further development
31+
* `#31889 <https://github.com/numpy/numpy/pull/31889>`__: TYP: Backport multiple static typing fixes 1.
32+
* `#31900 <https://github.com/numpy/numpy/pull/31900>`__: TST: add tests for stable ABI numpy extensions (#31822)
33+
* `#31901 <https://github.com/numpy/numpy/pull/31901>`__: BUG: fix ``StringDType`` coerce flag in binary ufunc promotion...
34+
* `#31902 <https://github.com/numpy/numpy/pull/31902>`__: BLD: fix meson deprecation warnings (#31892)
35+
* `#31921 <https://github.com/numpy/numpy/pull/31921>`__: TYP: Backport multiple typing fixes 2.
36+
* `#31947 <https://github.com/numpy/numpy/pull/31947>`__: MAINT: Update x86-simd-sort subproject (5adb334 → fa944ef) (#31908)
37+
* `#31949 <https://github.com/numpy/numpy/pull/31949>`__: BUG: fix crash on 32 bit systems using abi3t (#31771)
38+
* `#31950 <https://github.com/numpy/numpy/pull/31950>`__: MNT: remove some obsolete string to bool workarounds (#31859)
39+
* `#31952 <https://github.com/numpy/numpy/pull/31952>`__: BUG: centralized helper for output coerce and na_object in stringdtype...
40+
* `#31953 <https://github.com/numpy/numpy/pull/31953>`__: BUG: fix CPU feature env diagnostic buffer overruns (#31905)
41+
* `#31954 <https://github.com/numpy/numpy/pull/31954>`__: BUG: restore ndarray.conjugate() for legacy user-defined dtypes...
42+
* `#31955 <https://github.com/numpy/numpy/pull/31955>`__: TYP: Avoid shadowed dtype annotations
43+
* `#32077 <https://github.com/numpy/numpy/pull/32077>`__: MAINT: Update verdored-meson/meson to match main.
44+
* `#32114 <https://github.com/numpy/numpy/pull/32114>`__: BUG: fix refcount leak on overlapping copyto with where=False
45+
* `#32115 <https://github.com/numpy/numpy/pull/32115>`__: BUG: fix swallowed cast error in fancy indexing assignment (#31975)
46+
* `#32116 <https://github.com/numpy/numpy/pull/32116>`__: BUG: Fix buffered iterator stride after removing multi-index
47+
* `#32117 <https://github.com/numpy/numpy/pull/32117>`__: BUG: fix ``np.fromiter`` corruption when reusing a ``StringDType``...
48+
* `#32119 <https://github.com/numpy/numpy/pull/32119>`__: BUG: add a special case for StringDType in np.isdtype (#32030)
49+
* `#32121 <https://github.com/numpy/numpy/pull/32121>`__: BUG: reference leak in ``simd_sequence_from_iterable`` (#32038)
50+
* `#32122 <https://github.com/numpy/numpy/pull/32122>`__: BUG: ensure lock is held when accessing or writing to RNG state...
51+
* `#32123 <https://github.com/numpy/numpy/pull/32123>`__: BUG: fully reset cached RNG state for non-MT19937 RNGs (#32062)
52+
* `#32135 <https://github.com/numpy/numpy/pull/32135>`__: TYP: type capabilities max dimensions
53+
* `#32158 <https://github.com/numpy/numpy/pull/32158>`__: BUG: avoid possible stack overflow in arraydescr_dealloc (#32133)
54+
* `#32206 <https://github.com/numpy/numpy/pull/32206>`__: MAINT: Update cibuildwheel to v4.2.0
55+
* `#32214 <https://github.com/numpy/numpy/pull/32214>`__: MAINT: Skip limited_api tests on some platforms.
56+
* `#32220 <https://github.com/numpy/numpy/pull/32220>`__: TYP: ``isclose`` shape-typing fix for 2d array-likes (#32205)
57+
* `#32221 <https://github.com/numpy/numpy/pull/32221>`__: BUG: avoid segfaults when legacy copyswap slot is not defined...

‎doc/release/upcoming_changes/31771.c_api.rust‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎doc/source/release/2.5.2-notes.rst‎

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,88 @@ NumPy 2.5.2 Release Notes
55
=========================
66

77
The NumPy 2.5.2 is a patch release that fixes bugs discovered after the 2.5.1
8+
release. The big news is that it includes wheels for the newly released
9+
Python 3.15.0rc1.
10+
11+
This release supports Python versions 3.12-3.15
12+
13+
14+
C API changes
15+
=============
16+
17+
``PyArray_StringDTypeObject`` is opaque under the abi3t stable ABI
18+
------------------------------------------------------------------
19+
20+
The ``PyArray_StringDTypeObject`` was accidentally exposed in NumPy
21+
2.5 when targeting the free-threading-compatible stable ABI
22+
(``Py_TARGET_ABI3T``). ``PyArray_StringDTypeObject`` is now an opaque
23+
struct: extensions compiled that way cannot access its fields, since
24+
the struct layout depends on the size of the object header. Any code
25+
that accessed ``PyArray_StringDTypeObject`` fields in an abi3t build
26+
would have crashed, so we are making this API change in a bugfix
827
release.
928

10-
This release supports Python versions 3.12-3.14
29+
The ``NpyString`` allocator API remains usable by passing the
30+
descriptor object pointer, e.g.
31+
``NpyString_acquire_allocator((PyArray_StringDTypeObject *)descr)``.
32+
33+
(`gh-31771 <https://github.com/numpy/numpy/pull/31771>`__)
34+
35+
36+
Contributors
37+
============
38+
39+
A total of 16 people contributed to this release. People with a "+" by their
40+
names contributed a patch for the first time.
41+
42+
* Abhijeetsingh Meena +
43+
* Charalampos Stratakis
44+
* Charles Harris
45+
* Chris Ninham +
46+
* David Woods
47+
* Geonho +
48+
* Gopu Yeshwanth Reddy +
49+
* Iason Krommydas
50+
* Ijtihed Kilani
51+
* Jelle Zijlstra +
52+
* Joren Hammudoglu
53+
* Kumar Aditya
54+
* Mike Boyle
55+
* Nathan Goldbaum
56+
* Raghuveer Devulapalli
57+
* Sebastian Berg
58+
59+
Pull requests merged
60+
====================
61+
62+
A total of 28 pull requests were merged for this release.
63+
64+
* `#31864 <https://github.com/numpy/numpy/pull/31864>`__: MAINT: Prepare 2.5.x for further development
65+
* `#31889 <https://github.com/numpy/numpy/pull/31889>`__: TYP: Backport multiple static typing fixes 1.
66+
* `#31900 <https://github.com/numpy/numpy/pull/31900>`__: TST: add tests for stable ABI numpy extensions (#31822)
67+
* `#31901 <https://github.com/numpy/numpy/pull/31901>`__: BUG: fix ``StringDType`` coerce flag in binary ufunc promotion...
68+
* `#31902 <https://github.com/numpy/numpy/pull/31902>`__: BLD: fix meson deprecation warnings (#31892)
69+
* `#31921 <https://github.com/numpy/numpy/pull/31921>`__: TYP: Backport multiple typing fixes 2.
70+
* `#31947 <https://github.com/numpy/numpy/pull/31947>`__: MAINT: Update x86-simd-sort subproject (5adb334 → fa944ef) (#31908)
71+
* `#31949 <https://github.com/numpy/numpy/pull/31949>`__: BUG: fix crash on 32 bit systems using abi3t (#31771)
72+
* `#31950 <https://github.com/numpy/numpy/pull/31950>`__: MNT: remove some obsolete string to bool workarounds (#31859)
73+
* `#31952 <https://github.com/numpy/numpy/pull/31952>`__: BUG: centralized helper for output coerce and na_object in stringdtype...
74+
* `#31953 <https://github.com/numpy/numpy/pull/31953>`__: BUG: fix CPU feature env diagnostic buffer overruns (#31905)
75+
* `#31954 <https://github.com/numpy/numpy/pull/31954>`__: BUG: restore ndarray.conjugate() for legacy user-defined dtypes...
76+
* `#31955 <https://github.com/numpy/numpy/pull/31955>`__: TYP: Avoid shadowed dtype annotations
77+
* `#32077 <https://github.com/numpy/numpy/pull/32077>`__: MAINT: Update verdored-meson/meson to match main.
78+
* `#32114 <https://github.com/numpy/numpy/pull/32114>`__: BUG: fix refcount leak on overlapping copyto with where=False
79+
* `#32115 <https://github.com/numpy/numpy/pull/32115>`__: BUG: fix swallowed cast error in fancy indexing assignment (#31975)
80+
* `#32116 <https://github.com/numpy/numpy/pull/32116>`__: BUG: Fix buffered iterator stride after removing multi-index
81+
* `#32117 <https://github.com/numpy/numpy/pull/32117>`__: BUG: fix ``np.fromiter`` corruption when reusing a ``StringDType``...
82+
* `#32119 <https://github.com/numpy/numpy/pull/32119>`__: BUG: add a special case for StringDType in np.isdtype (#32030)
83+
* `#32121 <https://github.com/numpy/numpy/pull/32121>`__: BUG: reference leak in ``simd_sequence_from_iterable`` (#32038)
84+
* `#32122 <https://github.com/numpy/numpy/pull/32122>`__: BUG: ensure lock is held when accessing or writing to RNG state...
85+
* `#32123 <https://github.com/numpy/numpy/pull/32123>`__: BUG: fully reset cached RNG state for non-MT19937 RNGs (#32062)
86+
* `#32135 <https://github.com/numpy/numpy/pull/32135>`__: TYP: type capabilities max dimensions
87+
* `#32158 <https://github.com/numpy/numpy/pull/32158>`__: BUG: avoid possible stack overflow in arraydescr_dealloc (#32133)
88+
* `#32206 <https://github.com/numpy/numpy/pull/32206>`__: MAINT: Update cibuildwheel to v4.2.0
89+
* `#32214 <https://github.com/numpy/numpy/pull/32214>`__: MAINT: Skip limited_api tests on some platforms.
90+
* `#32220 <https://github.com/numpy/numpy/pull/32220>`__: TYP: ``isclose`` shape-typing fix for 2d array-likes (#32205)
91+
* `#32221 <https://github.com/numpy/numpy/pull/32221>`__: BUG: avoid segfaults when legacy copyswap slot is not defined...
1192

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
'Programming Language :: Python :: 3.12',
2626
'Programming Language :: Python :: 3.13',
2727
'Programming Language :: Python :: 3.14',
28+
'Programming Language :: Python :: 3.15',
2829
'Programming Language :: Python :: 3 :: Only',
2930
'Programming Language :: Python :: Implementation :: CPython',
3031
'Topic :: Software Development',

0 commit comments

Comments
 (0)