Update numpy requirement from >=1.24 to >=2.4.6
Updates the requirements on numpy to permit the latest version.
Release notes
Sourced from numpy's releases.
v2.4.6 (May 18, 2026)
NumPy 2.4.6 Release Notes
NumPy 2.4.6 is a quick release that fixes a regression discovered in the 2.4.5 release.
This release supports Python versions 3.11-3.14
Contributors
A total of 4 people contributed to this release. People with a "+" by their names contributed a patch for the first time.
- !EarlMilktea
- Charles Harris
- Sebastian Berg
- Warren Weckesser
Pull requests merged
A total of 4 pull requests were merged for this release.
Changelog
Sourced from numpy's changelog.
This is a walkthrough of the NumPy 2.4.0 release on Linux, which will be the first feature release using the
numpy/numpy-release <https://github.com/numpy/numpy-release>__ repository.The commands can be copied into the command line, but be sure to replace 2.4.0 with the correct version. This should be read together with the :ref:
general release guide <prepare_release>.Facility preparation
Before beginning to make a release, use the
requirements/*_requirements.txtfiles to ensure that you have the needed software. Most software can be installed with pip, but some will require apt-get, dnf, or whatever your system uses for software. You will also need a GitHub personal access token (PAT) to push the documentation. There are a few ways to streamline things:
- Git can be set up to use a keyring to store your GitHub personal access token. Search online for the details.
Prior to release
Add/drop Python versions
When adding or dropping Python versions, multiple config and CI files need to be edited in addition to changing the minimum version in
pyproject.toml. Make these changes in an ordinary PR against main and backport if necessary. We currently release wheels for new Python versions after the first Python RC once manylinux and cibuildwheel support that new Python version.Backport pull requests
Changes that have been marked for this release must be backported to the maintenance/2.4.x branch.
Update 2.4.0 milestones
Look at the issues/prs with 2.4.0 milestones and either push them off to a later version, or maybe remove the milestone. You may need to add a milestone.
Check the numpy-release repo
... (truncated)
Commits
b832a09Merge pull request #31462 from charris/prepare-2.4.657cc147REL: Prepare for the NumPy 2.4.6 release0c72b0bMerge pull request #31459 from charris/backport-313479778d26BUG: core: Don't call INCREF/DECREF on descr in NpyStringAcquireAllocator. (#...e0e3876BUG: core: Don't call INCREF/DECREF on descr in NpyStringAcquireAllocator. (#...d1bffebBUG:np.linalg.svd(..., hermitian=True)returns non-unitaryvh(#31347)8d8d7e5Merge pull request #31453 from seberg/issue-31452bddaab7BUG: Fix regression inarr.conj()37a1eccMerge pull request #31444 from charris/begin-2.4.63c0e043MAINT: Prepare 2.4.x for further development- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Raise numpy minimum version to 2.4.6 to standardize on NumPy 2.x and include recent bug fixes. This drops support for numpy 1.x and avoids the 2.4.5 regression.