Repository navigation
PR #45742: Bump numpy from 2.4.6 to 2.5.1 - #123615
Closed
copybara-service[bot] wants to merge 1 commit into
Closed
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
exported_pr_950666271
branch
3 times, most recently
from
July 20, 2026 10:58
087bc7c to
a106204
Compare
Imported from GitHub PR openxla/xla#45742 Bumps [numpy](https://github.com/numpy/numpy) from 2.4.6 to 2.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p> <blockquote> <h2>v2.5.1 (July 4, 2026)</h2> <h1>NumPy 2.5.1 Release Notes</h1> <p>The NumPy 2.5.1 is a patch release that fixes bugs discovered after the 2.5.0 release. The most noticeable is the fix is to the numpy datetime cython API which should allow downstream to support NumPy versions older than 2.5. Preparation for Python 3.15 continues along with typing improvements.</p> <p>This release supports Python versions 3.12-3.14</p> <h2>Changes</h2> <ul> <li> <p>The minimum supported GCC version has been updated from 9.3.0 to 10.3.0</p> <p>(<a href="https://redirect.github.com/numpy/numpy/pull/31843">gh-31843</a>)</p> </li> </ul> <h2>Contributors</h2> <p>A total of 10 people contributed to this release. People with a "+" by their names contributed a patch for the first time.</p> <ul> <li>Adhyan Gupta +</li> <li>Ankit Ahlawat</li> <li>Charles Harris</li> <li>Iason Krommydas</li> <li>Joren Hammudoglu</li> <li>Kumar Aditya</li> <li>Nathan Goldbaum</li> <li>Sebastian Berg</li> <li>Ties Jan Hefting +</li> <li>Vineet Kumar</li> </ul> <h2>Pull requests merged</h2> <p>A total of 20 pull requests were merged for this release.</p> <ul> <li><a href="https://redirect.github.com/numpy/numpy/pull/31707">#31707</a>: MAINT: Prepare 2.5.x for further development</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31721">#31721</a>: CI: fix new <code>cython-lint</code> errors (<a href="https://redirect.github.com/numpy/numpy/issues/31711">#31711</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31723">#31723</a>: MAINT: Update meson to match main</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31729">#31729</a>: TST: use setup-sde instead of curl to get SDE binaries (<a href="https://redirect.github.com/numpy/numpy/issues/31727">#31727</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31829">#31829</a>: BUG: Relax finfo to be easier accessible for all user dtypes...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31831">#31831</a>: TYP: Fix <code>flatiter.__next__</code> return type for <code>object_</code> and...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31832">#31832</a>: BUG: avoid deadlocks using NpyString API (<a href="https://redirect.github.com/numpy/numpy/issues/31682">#31682</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31833">#31833</a>: BUG: fix out array leak in reduceat and accumulate when dtype...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31835">#31835</a>: BUG: fix numpy datetime cython APIs to be compatible with older...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31836">#31836</a>: TYP: Fix incorrect dtype inference of <code>asarray([])</code> (<a href="https://redirect.github.com/numpy/numpy/issues/31732">#31732</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31837">#31837</a>: TYP: Fix <code>np.ma.masked_array</code> 2.5.0 regression</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31838">#31838</a>: FIX: Refactor error handling in array_setstate to prevent typecode...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31839">#31839</a>: TST: xfail multithreaded BLAS test more generously</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31840">#31840</a>: MAINT: Rename subroutine for crackfortran tests</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/numpy/numpy/commit/5e1d03ffac5f2c0a9c39bfcaa9fc853b2b83151e"><code>5e1d03f</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31863">#31863</a> from charris/prepare-2.5.1</li> <li><a href="https://github.com/numpy/numpy/commit/ad0b66b8bf1faedc727d8a80ec217bdc95a3037e"><code>ad0b66b</code></a> REL: Prepare for the NumPy 2.5.1 release.</li> <li><a href="https://github.com/numpy/numpy/commit/9df8516d6c933927b3bb9a7b8fd10f523e627ffd"><code>9df8516</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31858">#31858</a> from charris/backport-31688</li> <li><a href="https://github.com/numpy/numpy/commit/4dee265afc098a296a62666f6356d4927b67848f"><code>4dee265</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31857">#31857</a> from charris/backport-31775</li> <li><a href="https://github.com/numpy/numpy/commit/dc8d5530eb0bb3198bfc0538e28d1f284f6f4a80"><code>dc8d553</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31856">#31856</a> from charris/backport-31846</li> <li><a href="https://github.com/numpy/numpy/commit/67cb4a874e7c52d90176ca7343e208dfa3f11d11"><code>67cb4a8</code></a> fix:Signed integer overflow in datetime.c (<a href="https://redirect.github.com/numpy/numpy/issues/31688">#31688</a>)</li> <li><a href="https://github.com/numpy/numpy/commit/baa2589a94a93b4216159817fe891c83a39eb36d"><code>baa2589</code></a> TST: Clean up imports, formatting, and assertions</li> <li><a href="https://github.com/numpy/numpy/commit/2fe5ba41f935065305cfb31a561202188953c7e9"><code>2fe5ba4</code></a> TEST: Refactor tests to use np.testing.assert_raises_regex per review</li> <li><a href="https://github.com/numpy/numpy/commit/bb465819882f84304ecbfd180f00bd748f783134"><code>bb46581</code></a> MAINT: Remove deprecated Python recursion fix</li> <li><a href="https://github.com/numpy/numpy/commit/8f34214a5e6e813bea56fec2cdc9bc8ac79ff38b"><code>8f34214</code></a> MAINT: Move SeedSequence recursion guard to C-layer and add tests</li> <li>Additional commits viewable in <a href="https://github.com/numpy/numpy/compare/v2.4.6...v2.5.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> 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) </details> Copybara import of the project: -- 2f03ce37c360aabfb7aa2b53e889171d623e83e2 by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>: Bump numpy from 2.4.6 to 2.5.1 Bumps [numpy](https://github.com/numpy/numpy) from 2.4.6 to 2.5.1. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v2.4.6...v2.5.1) --- updated-dependencies: - dependency-name: numpy dependency-version: 2.5.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Merging this change closes #45742 Reverts changelist 949495726 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#45742 from openxla:dependabot/pip/numpy-2.5.1 2f03ce37c360aabfb7aa2b53e889171d623e83e2 PiperOrigin-RevId: 950666271
copybara-service
Bot
force-pushed
the
exported_pr_950666271
branch
from
July 20, 2026 12:25
a106204 to
39d9e44
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #45742: Bump numpy from 2.4.6 to 2.5.1
Imported from GitHub PR openxla/xla#45742
Bumps numpy from 2.4.6 to 2.5.1.
Release notes
Sourced from numpy's releases.
... (truncated)
Commits
5e1d03fMerge pull request #31863 from charris/prepare-2.5.1ad0b66bREL: Prepare for the NumPy 2.5.1 release.9df8516Merge pull request #31858 from charris/backport-316884dee265Merge pull request #31857 from charris/backport-31775dc8d553Merge pull request #31856 from charris/backport-3184667cb4a8fix:Signed integer overflow in datetime.c (#31688)baa2589TST: Clean up imports, formatting, and assertions2fe5ba4TEST: Refactor tests to use np.testing.assert_raises_regex per reviewbb46581MAINT: Remove deprecated Python recursion fix8f34214MAINT: Move SeedSequence recursion guard to C-layer and add testsDependabot 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)--
2f03ce37c360aabfb7aa2b53e889171d623e83e2 by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>:
Bump numpy from 2.4.6 to 2.5.1
Bumps numpy from 2.4.6 to 2.5.1.
updated-dependencies:
dependency-version: 2.5.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] [email protected]
Merging this change closes #45742
Reverts changelist 949495726
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#45742 from openxla:dependabot/pip/numpy-2.5.1 2f03ce37c360aabfb7aa2b53e889171d623e83e2