Skip to content

Commit b9be542

Browse files
Bump numpy from 2.4.6 to 2.5.0 (#838)
Bumps [numpy](https://github.com/numpy/numpy) from 2.4.6 to 2.5.0. <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.0 (June 21, 2026)</h2> <h1>NumPy 2.5.0 Release Notes</h1> <p>Numpy 2.5.0 is a transitional release. It drops support for Python 3.11, marking the end of distutils, and expires a large number of deprecations made in the 2.0.x release. It also improves free threading and brings sorting into compliance with the array-api standard with the addition of descending sorts. There is also a fair amount of preparation for Python 3.15, which will be supported starting with the first rc.</p> <p>This release supports Python versions 3.12-3.14.</p> <h2>Highlights</h2> <ul> <li>Distutils has been removed,</li> <li>Many expired deprecations, see below,</li> <li>Many new deprecations, see below,</li> <li>Many static typing improvements.</li> <li>Improved support for free threading,</li> <li>Support for descending sorts,</li> </ul> <p>See New Features below for other additions.</p> <h2>Deprecations</h2> <ul> <li> <p><code>numpy.char.chararray</code> is deprecated. Use an <code>ndarray</code> with a string or bytes dtype instead.</p> <p>(<a href="https://redirect.github.com/numpy/numpy/pull/30605">gh-30605</a>)</p> </li> <li> <p><code>numpy.take</code> now correctly checks if the result can be cast to the provided <code>out=out</code> under the same-kind rule. A <code>DeprecationWarning</code> is given now when this check fails. Previously, <code>take</code> incorrectly checked if <code>out</code> could be cast to the result (the wrong direction). This deprecation also affects <code>compress</code> and possibly other functions. (Future versions of NumPy may tighten the casting check further.)</p> <p>(<a href="https://redirect.github.com/numpy/numpy/pull/30615">gh-30615</a>)</p> </li> <li> <p>The <code>numpy.char.[as]array</code> functions are deprecated. Use an <code>numpy.[as]array</code> with a string or bytes dtype instead.</p> <p>(<a href="https://redirect.github.com/numpy/numpy/pull/30802">gh-30802</a>)</p> </li> <li> <p>Setting the dtype attribute is deprecated because mutating an array is unsafe if an array is shared, especially by multiple threads. As an alternative, you can create a view with a new dtype via <code>array.view(dtype=new_dtype)</code>.</p> <p>(<a href="https://redirect.github.com/numpy/numpy/pull/29244">gh-29244</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/numpy/numpy/commit/6910b28fc12f4c3e821f315e24c51a6a2d89ba49"><code>6910b28</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31706">#31706</a> from charris/prepare-2.5.0-release</li> <li><a href="https://github.com/numpy/numpy/commit/e0acd2bef5dc193eeec3b2d6b7ea9fc30fd7e263"><code>e0acd2b</code></a> REL: Prepare for the NumPy 2.5.0 release.</li> <li><a href="https://github.com/numpy/numpy/commit/8d928b715af39e403441e243df45a25db9d79ce3"><code>8d928b7</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31704">#31704</a> from charris/backport-31649</li> <li><a href="https://github.com/numpy/numpy/commit/c2055ba2aabbfc31164297dd7ecb9b3a001262f6"><code>c2055ba</code></a> MAINT: update openblas to 0.3.33.112.0 (<a href="https://redirect.github.com/numpy/numpy/issues/31649">#31649</a>)</li> <li><a href="https://github.com/numpy/numpy/commit/ce17c81376e5d1195a22610a1f4bc79795c18911"><code>ce17c81</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31703">#31703</a> from charris/backport-31609</li> <li><a href="https://github.com/numpy/numpy/commit/3de6203f44832dc5580d4cec30691f0fa10add87"><code>3de6203</code></a> BUG: fix StringDType distinct-allocator bugs and add tests (<a href="https://redirect.github.com/numpy/numpy/issues/31609">#31609</a>)</li> <li><a href="https://github.com/numpy/numpy/commit/c723971cf2dc71f0a9db851a72e47a2548f7bda6"><code>c723971</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31700">#31700</a> from charris/backport-31694</li> <li><a href="https://github.com/numpy/numpy/commit/64513b250beb6b180449be76407352f33e5ee209"><code>64513b2</code></a> MAINT: Bump pypa/cibuildwheel from 3.4.1 to 4.1.0</li> <li><a href="https://github.com/numpy/numpy/commit/04707f0dfb2de64883564be66623cb3705045a49"><code>04707f0</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31698">#31698</a> from charris/try-fix-emscripten</li> <li><a href="https://github.com/numpy/numpy/commit/5cf0686152a721c66eda84cacb6d0b49cab394c4"><code>5cf0686</code></a> MAINT: Try to fix emscripten wheel build.</li> <li>Additional commits viewable in <a href="https://github.com/numpy/numpy/compare/v2.4.6...v2.5.0">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.0)](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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent c6db9d1 commit b9be542

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy==2.4.6
1+
numpy==2.5.0
22
XlsxWriter==3.2.9
33
PyYAML==6.0.3
44
pre-commit==4.5.1

0 commit comments

Comments
 (0)