v2.5.1
📦 numpyView on GitHub →
✨ 1 features🐛 11 fixes🔧 10 symbols
Summary
NumPy 2.5.1 is a patch release fixing bugs, most notably resolving an issue with the datetime cython API, and raising the minimum required GCC version to 10.3.0.
Migration Steps
- Ensure your build environment uses GCC version 10.3.0 or newer, as the minimum supported version has been raised from 9.3.0.
✨ New Features
- Preparation for Python 3.15 continues along with typing improvements.
🐛 Bug Fixes
- Fixed the numpy datetime cython API to allow downstream support for NumPy versions older than 2.5.
- Relaxed finfo to be easier accessible for all user dtypes.
- Avoided deadlocks using NpyString API.
- Fixed out array leak in reduceat and accumulate when dtype is involved.
- Fixed incorrect dtype inference of `asarray([])`.
- Fixed `np.ma.masked_array` 2.5.0 regression.
- Refactored error handling in array_setstate to prevent typecode issues.
- Fixed leak in reductions when a ufunc override errors or is encountered.
- Fixed several bugs in StringDType operations.
- Fixed segfault in MT19937 by preventing recursive seed lists.
- Fixed signed integer overflow in datetime.c.