Skip to content

Commit f46fd7d

Browse files
Chore(deps): Update numpy requirement from <=2.4.4,>=1.21 to >=1.21,<=2.4.5 (#954)
Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version. <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.4.5 (May 15, 2026)</h2> <h1>NumPy 2.4.5 Release Notes</h1> <p>NumPy 2.4.5 is a patch release that fixes bugs discovered after the 2.4.4 release, has some typing improvements, and maintains infrastructure.</p> <p>This release supports Python versions 3.11-3.14</p> <h2>Contributors</h2> <p>A total of 17 people contributed to this release. People with a &quot;+&quot; by their names contributed a patch for the first time.</p> <ul> <li>Aleksei Nikiforov</li> <li>Anarion Zuo +</li> <li>Ankit Ahlawat</li> <li>Breno Favaretto +</li> <li>Charles Harris</li> <li>Igor Krivenko +</li> <li>Ijtihed Kilani +</li> <li>Joren Hammudoglu</li> <li>Maarten Baert +</li> <li>Matti Picus</li> <li>Nathan Goldbaum</li> <li>Praneeth Kodumagulla +</li> <li>Ralf Gommers</li> <li>RoomWithOutRoof +</li> <li>Sebastian Berg</li> <li>Warren Weckesser</li> <li>div +</li> </ul> <h2>Pull requests merged</h2> <p>A total of 28 pull requests were merged for this release.</p> <ul> <li><a href="https://redirect.github.com/numpy/numpy/pull/31093">#31093</a>: MAINT: Prepare 2.4.x for further development</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31182">#31182</a>: TYP: fix <code>np.shape</code> assignability issue for python lists (<a href="https://redirect.github.com/numpy/numpy/issues/31171">#31171</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31197">#31197</a>: ENH: Return rank 0 for empty matrices in matrix_rank (<a href="https://redirect.github.com/numpy/numpy/issues/30422">#30422</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31198">#31198</a>: CI/BUG: add native jobs for s390x, fix bug in <code>pack_inner</code>...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31199">#31199</a>: BUG: f2py map complex_long_double to NPY_CLONGDOUBLE</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31205">#31205</a>: MAINT: f2py: Stop setting re._MAXCACHE to 50.</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31206">#31206</a>: BUG: fix heap buffer overflow in timedelta to string casts</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31207">#31207</a>: MAINT: Rename ppc64le and s390x workflow (<a href="https://redirect.github.com/numpy/numpy/issues/31121">#31121</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31208">#31208</a>: BUG: Fix matvec/vecmat in-place aliasing (out=input produces...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31209">#31209</a>: TYP: <code>tile</code>: accept numpy scalars and arrays as second argument...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31211">#31211</a>: DEP: Undo deprecation for np.dtype() signature used by old pickles...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31212">#31212</a>: REV: Manual revert of float16 svml use (<a href="https://redirect.github.com/numpy/numpy/issues/31178">#31178</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31222">#31222</a>: TYP: <code>ix_</code> fix for boolean and non-1d input (<a href="https://redirect.github.com/numpy/numpy/issues/31218">#31218</a>)</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31329">#31329</a>: BUG: incorrect temp elision for new-style (NEP 43) user-defined...</li> <li><a href="https://redirect.github.com/numpy/numpy/pull/31330">#31330</a>: TYP: fix sliding_window_view axis parameter typing</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst">numpy's changelog</a>.</em></p> <blockquote> <p>This is a walkthrough of the NumPy 2.4.0 release on Linux, which will be the first feature release using the <code>numpy/numpy-release &lt;https://github.com/numpy/numpy-release&gt;</code>__ repository.</p> <p>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:<code>general release guide &lt;prepare_release&gt;</code>.</p> <h1>Facility preparation</h1> <p>Before beginning to make a release, use the <code>requirements/*_requirements.txt</code> files 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:</p> <ul> <li>Git can be set up to use a keyring to store your GitHub personal access token. Search online for the details.</li> </ul> <h1>Prior to release</h1> <h2>Add/drop Python versions</h2> <p>When adding or dropping Python versions, multiple config and CI files need to be edited in addition to changing the minimum version in <code>pyproject.toml</code>. 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.</p> <h2>Backport pull requests</h2> <p>Changes that have been marked for this release must be backported to the maintenance/2.4.x branch.</p> <h2>Update 2.4.0 milestones</h2> <p>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.</p> <h2>Check the numpy-release repo</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/numpy/numpy/commit/26e81854b03fea36ac2b21e3158756fdd40f19bb"><code>26e8185</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31441">#31441</a> from charris/prepare-2.4.5</li> <li><a href="https://github.com/numpy/numpy/commit/573110c57cf0fcb8b8c922c4d4334ed6eb779727"><code>573110c</code></a> REL: Prepare for the NumPy 2.4.5 release.</li> <li><a href="https://github.com/numpy/numpy/commit/be6123aecff71ac70f304347fcf066ba328d7e4e"><code>be6123a</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31426">#31426</a> from jorenham/backport-31425</li> <li><a href="https://github.com/numpy/numpy/commit/a286f52cfc7411deb39de391dfc7164070e19365"><code>a286f52</code></a> TYP: Fix <code>DTypeLike</code> runtime type-checker support</li> <li><a href="https://github.com/numpy/numpy/commit/f880727ca1ef2aa784cf9986ac662744e3302cef"><code>f880727</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31404">#31404</a> from charris/backport-31399</li> <li><a href="https://github.com/numpy/numpy/commit/626d469496ba909ad73acb0f3744c72027244c4e"><code>626d469</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31402">#31402</a> from charris/backport-31397</li> <li><a href="https://github.com/numpy/numpy/commit/a42bd48565ae12a2258b343c6250a3a7ab22712c"><code>a42bd48</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/31401">#31401</a> from charris/backport-31396</li> <li><a href="https://github.com/numpy/numpy/commit/207ad05615ca78c0b39ee1f02985c6b34d2098c3"><code>207ad05</code></a> TYP: <code>_NestedSequence</code> type parameter default to work around a mypy issue (<a href="https://redirect.github.com/numpy/numpy/issues/3">#3</a>...</li> <li><a href="https://github.com/numpy/numpy/commit/309b6373180a2320a23eecfdb8609c7746eda8a9"><code>309b637</code></a> BUG: exclude <strong>pycache</strong> directories from wheels (<a href="https://redirect.github.com/numpy/numpy/issues/31397">#31397</a>)</li> <li><a href="https://github.com/numpy/numpy/commit/8ded93cba4c57708fe7ead08d2d6f0045952f6d4"><code>8ded93c</code></a> BUG: Avoid UB in safe_[add,sub,mul] helpers (<a href="https://redirect.github.com/numpy/numpy/issues/31396">#31396</a>)</li> <li>Additional commits viewable in <a href="https://github.com/numpy/numpy/compare/v1.21.0...v2.4.5">compare view</a></li> </ul> </details> <br /> 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> Co-authored-by: Joran Deschamps <6367888+jdeschamps@users.noreply.github.com>
1 parent 3c5e7c5 commit f46fd7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ classifiers = [
4242
]
4343
dependencies = [
4444
# --- Core dependencies ---
45-
"numpy>=1.21,<=2.4.4",
45+
"numpy>=1.21,<=2.4.5",
4646
'pydantic>=2.11,<=2.13.3',
4747
'pytorch_lightning>=2.2,<=2.6.1,!=2.6.2,!=2.6.3',
4848
# lightning currently does not support torch 2.10.0

0 commit comments

Comments
 (0)