2.5.3Aktualisiert Sep 17, 2026

numpy

Fundamental package for array computing in Python

Risikowert50
Für 2.5.3 wurden noch keine Changelog-Notizen gefunden. Wir zeigen den letzten Release mit Notizen: 2.5.2.
2.5.22026-08-09T17:42:29Z
Release Notes

Changes

  • # NumPy 2.5.2 Release Notes
  • The NumPy 2.5.2 is a patch release that fixes bugs discovered after the 2.5.1
  • release. The big news is that it includes wheels for the newly released
  • Python 3.15.0rc1.
  • This release supports Python versions 3.12-3.15

PyArray_StringDTypeObject is opaque under the abi3t stable ABI

  • The PyArray_StringDTypeObject was accidentally exposed in NumPy
  • 2.5 when targeting the free-threading-compatible stable ABI
  • (Py_TARGET_ABI3T). PyArray_StringDTypeObject is now an opaque
  • struct: extensions compiled that way cannot access its fields, since
  • the struct layout depends on the size of the object header. Any code
  • that accessed PyArray_StringDTypeObject fields in an abi3t build
  • would have crashed, so we are making this API change in a bugfix
  • release.
  • The NpyString allocator API remains usable by passing the
  • descriptor object pointer, e.g.
  • NpyString_acquire_allocator((PyArray_StringDTypeObject *)descr).
  • (gh-31771)

Pull requests merged

  • A total of 28 pull requests were merged for this release.
  • #31864: MAINT: Prepare 2.5.x for further development
  • #31889: TYP: Backport multiple static typing fixes 1.
  • #31900: TST: add tests for stable ABI numpy extensions (#31822)
  • #31901: BUG: fix StringDType coerce flag in binary ufunc promotion...
  • #31902: BLD: fix meson deprecation warnings (#31892)
  • #31921: TYP: Backport multiple typing fixes 2.
  • #31947: MAINT: Update x86-simd-sort subproject (5adb334 → fa944ef) (#31908)
  • #31949: BUG: fix crash on 32 bit systems using abi3t (#31771)
  • #31950: MNT: remove some obsolete string to bool workarounds (#31859)
  • #31952: BUG: centralized helper for output coerce and na_object in stringdtype...
  • #31953: BUG: fix CPU feature env diagnostic buffer overruns (#31905)
  • #31954: BUG: restore ndarray.conjugate() for legacy user-defined dtypes...
  • #31955: TYP: Avoid shadowed dtype annotations
  • #32077: MAINT: Update verdored-meson/meson to match main.
  • #32114: BUG: fix refcount leak on overlapping copyto with where=False
  • #32115: BUG: fix swallowed cast error in fancy indexing assignment (#31975)
  • #32116: BUG: Fix buffered iterator stride after removing multi-index
  • #32117: BUG: fix np.fromiter corruption when reusing a StringDType...
  • #32119: BUG: add a special case for StringDType in np.isdtype (#32030)
  • #32121: BUG: reference leak in simd_sequence_from_iterable (#32038)
  • #32122: BUG: ensure lock is held when accessing or writing to RNG state...
  • #32123: BUG: fully reset cached RNG state for non-MT19937 RNGs (#32062)
  • #32135: TYP: type capabilities max dimensions
  • #32158: BUG: avoid possible stack overflow in arraydescr_dealloc (#32133)
  • #32206: MAINT: Update cibuildwheel to v4.2.0
  • #32214: MAINT: Skip limited_api tests on some platforms.
  • #32220: TYP: isclose shape-typing fix for 2d array-likes (#32205)
  • #32221: BUG: avoid segfaults when legacy copyswap slot is not defined...

Package README image


Powered by NumFOCUS PyPI Downloads Conda Downloads Stack Overflow Nature Paper LFX Health Score OpenSSF Scorecard Typing

NumPy is the fundamental package for scientific computing with Python.

It provides:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities

Testing:

NumPy requires pytest and hypothesis. Tests can then be run after installation with:

python -c "import numpy, sys; sys.exit(numpy.test() is False)"

Code of Conduct

NumPy is a community-driven open source project developed by a diverse group of contributors. The NumPy leadership has made a strong commitment to creating an open, inclusive, and positive community. Please read the NumPy Code of Conduct for guidance on how to interact with others in a way that makes our community thrive.

Call for Contributions

The NumPy project welcomes your expertise and enthusiasm!

Small improvements or fixes are always appreciated. If you are considering larger contributions to the source code, please contact us through the mailing list first.

Writing code isn’t the only way to contribute to NumPy. You can also:

  • review pull requests
  • help us stay on top of new and old issues
  • develop tutorials, presentations, and other educational materials
  • maintain and improve our website
  • develop graphic design for our brand assets and promotional materials
  • translate website content
  • help with outreach and onboard new contributors
  • write grant proposals and help with other fundraising efforts

For more information about the ways you can contribute to NumPy, visit our website. If you’re unsure where to start or how your skills fit in, reach out! You can ask on the mailing list or here, on GitHub, by opening a new issue or leaving a comment on a relevant issue that is already open.

Our preferred channels of communication are all public, but if you’d like to speak to us in private first, contact our community coordinators at numpy-team@googlegroups.com or on Slack (write numpy-team@googlegroups.com for an invitation).

We also have a biweekly community call, details of which are announced on the mailing list. You are very welcome to join.

If you are new to contributing to open source, this guide helps explain why, what, and how to successfully get involved.

Versionen vergleichen

Wähle zwei Releases mit Changelog-Notizen um die Änderungen zu sehen.

Hier werden nur Releases mit verfügbaren Changelog-Notizen gezeigt.

Für 2.5.3 wurden noch keine Changelog-Notizen gefunden. Wir zeigen den letzten Release mit Notizen: 2.5.2.

Wähle zwei Versionen um Änderungen zu vergleichen.