Skip to content

PR #45742: Bump numpy from 2.4.6 to 2.5.1 - #123615

Closed
copybara-service[bot] wants to merge 1 commit into
masterfrom
exported_pr_950666271
Closed

copybara-service[bot] wants to merge 1 commit into
masterfrom
exported_pr_950666271

Conversation

@copybara-service

Copy link
Copy Markdown

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.

v2.5.1 (July 4, 2026)

NumPy 2.5.1 Release Notes

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.

This release supports Python versions 3.12-3.14

Changes

  • The minimum supported GCC version has been updated from 9.3.0 to 10.3.0

    (gh-31843)

Contributors

A total of 10 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Adhyan Gupta +
  • Ankit Ahlawat
  • Charles Harris
  • Iason Krommydas
  • Joren Hammudoglu
  • Kumar Aditya
  • Nathan Goldbaum
  • Sebastian Berg
  • Ties Jan Hefting +
  • Vineet Kumar

Pull requests merged

A total of 20 pull requests were merged for this release.

  • #31707: MAINT: Prepare 2.5.x for further development
  • #31721: CI: fix new cython-lint errors (#31711)
  • #31723: MAINT: Update meson to match main
  • #31729: TST: use setup-sde instead of curl to get SDE binaries (#31727)
  • #31829: BUG: Relax finfo to be easier accessible for all user dtypes...
  • #31831: TYP: Fix flatiter.__next__ return type for object_ and...
  • #31832: BUG: avoid deadlocks using NpyString API (#31682)
  • #31833: BUG: fix out array leak in reduceat and accumulate when dtype...
  • #31835: BUG: fix numpy datetime cython APIs to be compatible with older...
  • #31836: TYP: Fix incorrect dtype inference of asarray([]) (#31732)
  • #31837: TYP: Fix np.ma.masked_array 2.5.0 regression
  • #31838: FIX: Refactor error handling in array_setstate to prevent typecode...
  • #31839: TST: xfail multithreaded BLAS test more generously
  • #31840: MAINT: Rename subroutine for crackfortran tests

... (truncated)

Commits
  • 5e1d03f Merge pull request #31863 from charris/prepare-2.5.1
  • ad0b66b REL: Prepare for the NumPy 2.5.1 release.
  • 9df8516 Merge pull request #31858 from charris/backport-31688
  • 4dee265 Merge pull request #31857 from charris/backport-31775
  • dc8d553 Merge pull request #31856 from charris/backport-31846
  • 67cb4a8 fix:Signed integer overflow in datetime.c (#31688)
  • baa2589 TST: Clean up imports, formatting, and assertions
  • 2fe5ba4 TEST: Refactor tests to use np.testing.assert_raises_regex per review
  • bb46581 MAINT: Remove deprecated Python recursion fix
  • 8f34214 MAINT: Move SeedSequence recursion guard to C-layer and add tests
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
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 from 2.4.6 to 2.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

@copybara-service
copybara-service Bot force-pushed the exported_pr_950666271 branch 3 times, most recently from 087bc7c to a106204 Compare July 20, 2026 10:58
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 &quot;+&quot; 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 />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=numpy&package-manager=pip&previous-version=2.4.6&new-version=2.5.1)](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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants