NumPy 1.26.1 is a maintenance release that fixes bugs and regressions
discovered after the 1.26.0 release. In addition, it adds new
functionality for detecting BLAS and LAPACK when building from source.
Highlights are:
Improved detection of BLAS and LAPACK libraries for meson builds
Pickle compatibility with the upcoming NumPy 2.0.
The 1.26.release series is the last planned minor release series before
NumPy 2.0. The Python versions supported by this release are 3.9-3.12.
Build system changes
Improved BLAS/LAPACK detection and control
Auto-detection for a number of BLAS and LAPACK is now implemented for
Meson. By default, the build system will try to detect MKL, Accelerate
(on macOS >=13.3), OpenBLAS, FlexiBLAS, BLIS and reference BLAS/LAPACK.
Support for MKL was significantly improved, and support for FlexiBLAS
was added.
New command-line flags are available to further control the selection of
the BLAS and LAPACK libraries to build against.
To select a specific library, use the config-settings interface via
pip or pypa/build. E.g., to select libblas/liblapack, use:
This works not only for the libraries named above, but for any library
that Meson is able to detect with the given name through pkg-config or
CMake.
Besides -Dblas and -Dlapack, a number of other new flags are
available to control BLAS/LAPACK selection and behavior:
-Dblas-order and -Dlapack-order: a list of library names to
search for in order, overriding the default search order.
-Duse-ilp64: if set to true, use ILP64 (64-bit integer) BLAS and
LAPACK. Note that with this release, ILP64 support has been extended
to include MKL and FlexiBLAS. OpenBLAS and Accelerate were supported
in previous releases.
-Dallow-noblas: if set to true, allow NumPy to build with its
internal (very slow) fallback routines instead of linking against an
external BLAS/LAPACK library. *The default for this flag may be
... (truncated)
Commits
411a55b Merge pull request #24928 from charris/update-version
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps numpy from 1.24.3 to 1.26.1.
Release notes
Sourced from numpy's releases.
... (truncated)
Commits
411a55b
Merge pull request #24928 from charris/update-versionaa91e5d
REL: Update release versions6207a52
Merge pull request #24916 from charris/prepare-1.26.1-releasee27f774
MAINT: Revert cibuildwheel update48bdb17
REL: Prepare for the NumPy 1.26.1 releasef51d3ad
Merge pull request #24912 from charris/backport-2490494e315d
Merge pull request #24911 from charris/backport-24860114d086
Merge pull request #24906 from mtsokol/backport-_core-stubs54e6e65
BUG: loongarch doesn't use REAL(10)cc5e90f
MAINT: Bump pypa/cibuildwheel from 2.16.1 to 2.16.2Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show