Skip to content

Bump numpy from 1.25.2 to 1.26.0

WKDV Bot requested to merge dependabot/pip/numpy-1.26.0 into develop

Bumps numpy from 1.25.2 to 1.26.0.

Release notes

Sourced from numpy's releases.

v1.26.0

NumPy 1.26.0 Release Notes

The NumPy 1.26.0 release is a continuation of the 1.25.x release cycle with the addition of Python 3.12.0 support. Python 3.12 dropped distutils, consequently supporting it required finding a replacement for the setup.py/distutils based build system NumPy was using. We have chosen to use the Meson build system instead, and this is the first NumPy release supporting it. This is also the first release that supports Cython 3.0 in addition to retaining 0.29.X compatibility. Supporting those two upgrades was a large project, over 100 files have been touched in this release. The changelog doesn't capture the full extent of the work, special thanks to Ralf Gommers, Sayed Adel, Stéfan van der Walt, and Matti Picus who did much of the work in the main development branch.

The highlights of this release are:

  • Python 3.12.0 support.
  • Cython 3.0.0 compatibility.
  • Use of the Meson build system
  • Updated SIMD support
  • f2py fixes, meson and bind(x) support
  • Support for the updated Accelerate BLAS/LAPACK library

The Python versions supported in this release are 3.9-3.12.

New Features

Array API v2022.12 support in numpy.array_api

numpy.array_api now full supports the v2022.12 version of the array API standard. Note that this does not yet include the optional fft extension in the standard.

(gh-23789)

Support for the updated Accelerate BLAS/LAPACK library

Support for the updated Accelerate BLAS/LAPACK library, including ILP64 (64-bit integer) support, in macOS 13.3 has been added. This brings arm64 support, and significant performance improvements of up to 10x for commonly used linear algebra operations. When Accelerate is selected at build time, the 13.3+ version will automatically be used if available.

(gh-24053)

meson backend for f2py

f2py in compile mode (i.e. f2py -c) now accepts the

... (truncated)

Commits
  • d35cd07 Merge pull request #24722 from charris/prepare-1.26.0-release
  • 2f7c195 REL: Prepare for the NumPy 1.26.0 release
  • c550abf Merge pull request #24718 from rgommers/doc-update
  • 4893b24 DEV: improve spin docs command
  • 44fe37c DOC: fix two cross-references to SciPy docs in "building from source"
  • f2121dc DOC: Fix doc build warning for random.
  • ca97802 Merge pull request #24707 from charris/backport-24705
  • 92aab8c TYP: Use collections.abc.Buffer in the npt.ArrayLike definition
  • 56e580d TYP: Use collections.abc.Buffer in the Array API
  • 5ef53c6 TYP: Add annotations for the py3.12 buffer protocol
  • Additional commits viewable in compare view

Merge request reports