NumPy 2.5.1 Release Notes
The NumPy 2.5.1 is a patch release that fixes bugs discovered after the 2.5.0
release. The most noticeable is the fix is to the numpy datetime cython API
which should allow downstream to support NumPy versions older than 2.5.
Preparation for Python 3.15 continues along with typing improvements.
This release supports Python versions 3.12-3.14
Changes
-
The minimum supported GCC version has been updated from 9.3.0 to 10.3.0
(gh-31843)
Contributors
A total of 10 people contributed to this release. People with a "+" by their
names contributed a patch for the first time.
- Adhyan Gupta +
- Ankit Ahlawat
- Charles Harris
- Iason Krommydas
- Joren Hammudoglu
- Kumar Aditya
- Nathan Goldbaum
- Sebastian Berg
- Ties Jan Hefting +
- Vineet Kumar
Pull requests merged
A total of 20 pull requests were merged for this release.
- #31707: MAINT: Prepare 2.5.x for further development
- #31721: CI: fix new
cython-linterrors (#31711) - #31723: MAINT: Update meson to match main
- #31729: TST: use setup-sde instead of curl to get SDE binaries (#31727)
- #31829: BUG: Relax finfo to be easier accessible for all user dtypes...
- #31831: TYP: Fix
flatiter.__next__return type forobject_and... - #31832: BUG: avoid deadlocks using NpyString API (#31682)
- #31833: BUG: fix out array leak in reduceat and accumulate when dtype...
- #31835: BUG: fix numpy datetime cython APIs to be compatible with older...
- #31836: TYP: Fix incorrect dtype inference of
asarray([])(#31732) - #31837: TYP: Fix
np.ma.masked_array2.5.0 regression - #31838: FIX: Refactor error handling in array_setstate to prevent typecode...
- #31839: TST: xfail multithreaded BLAS test more generously
- #31840: MAINT: Rename subroutine for crackfortran tests
- #31842: BUG: fix leak in reductions when a ufunc override errors or is...
- #31849: BLD: set minimum required gcc version to 10.3 (#31843)
- #31855: CI: fix hangs on MacOS ASan CI (#31853)
- #31856: BUG: fix several bugs in StringDType operations (#31846)
- #31857: BUG: Fix segfault in MT19937 by preventing recursive seed lists...
- #31858: BUG: Fix signed integer overflow in datetime.c (#31688)