Skip to content

Commit

Permalink
Bump numpy from 2.0.1 to 2.1.0 (#110)
Browse files Browse the repository at this point in the history
Bumps [numpy](https://github.com/numpy/numpy) from 2.0.1 to 2.1.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>2.1.0 (Aug 18, 2024)</h2>
<h1>NumPy 2.1.0 Release Notes</h1>
<p>NumPy 2.1.0 provides support for the upcoming Python 3.13 release and
drops support for Python 3.9. In addition to the usual bug fixes and
updated Python support, it helps get us back into our usual release
cycle after the extended development of 2.0. The highlights for this
release are:</p>
<ul>
<li>Support for the array-api 2023.12 standard.</li>
<li>Support for Python 3.13.</li>
<li>Preliminary support for free threaded Python 3.13.</li>
</ul>
<p>Python versions 3.10-3.13 are supported in this release.</p>
<h2>New functions</h2>
<h3>New function <code>numpy.unstack</code></h3>
<p>A new function <code>np.unstack(array, axis=...)</code> was added, which splits an
array into a tuple of arrays along an axis. It serves as the inverse of
[numpy.stack]{.title-ref}.</p>
<p>(<a href="https://redirect.github.com/numpy/numpy/pull/26579">gh-26579</a>)</p>
<h2>Deprecations</h2>
<ul>
<li>
<p>The <code>fix_imports</code> keyword argument in <code>numpy.save</code> is deprecated.
Since NumPy 1.17, <code>numpy.save</code> uses a pickle protocol that no longer
supports Python 2, and ignored <code>fix_imports</code> keyword. This keyword
is kept only for backward compatibility. It is now deprecated.</p>
<p>(<a href="https://redirect.github.com/numpy/numpy/pull/26452">gh-26452</a>)</p>
</li>
<li>
<p>Passing non-integer inputs as the first argument of
[bincount]{.title-ref} is now deprecated, because such inputs are
silently cast to integers with no warning about loss of precision.</p>
<p>(<a href="https://redirect.github.com/numpy/numpy/pull/27076">gh-27076</a>)</p>
</li>
</ul>
<h2>Expired deprecations</h2>
<ul>
<li>
<p>Scalars and 0D arrays are disallowed for <code>numpy.nonzero</code> and
<code>numpy.ndarray.nonzero</code>.</p>
<p>(<a href="https://redirect.github.com/numpy/numpy/pull/26268">gh-26268</a>)</p>
</li>
<li>
<p><code>set_string_function</code> internal function was removed and
<code>PyArray_SetStringFunction</code> was stubbed out.</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/2f7fe64b8b6d7591dd208942f1cc74473d5db4cb"><code>2f7fe64</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/27236">#27236</a> from charris/prepare-2.1.0</li>
<li><a href="https://github.com/numpy/numpy/commit/b6f434f852e9d1ed4f7de9a3a465b38171d54a61"><code>b6f434f</code></a> REL: Prepare for the NumPy 2.1.0 release [wheel build]</li>
<li><a href="https://github.com/numpy/numpy/commit/3cf93948797fb81fc251c26cb90d6c44f8374c54"><code>3cf9394</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/27234">#27234</a> from charris/backport-25984</li>
<li><a href="https://github.com/numpy/numpy/commit/7443dcc915fea1e905f354da511e9e60da82e19c"><code>7443dcc</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/27233">#27233</a> from charris/backport-27223</li>
<li><a href="https://github.com/numpy/numpy/commit/85b1cab2ad5f418cca485042478622ce13a497a7"><code>85b1cab</code></a> BUG: Allow fitting of degree zero polynomials with Polynomial.fit</li>
<li><a href="https://github.com/numpy/numpy/commit/395a81dee5be52b2acff817e6f16652d23181fc3"><code>395a81d</code></a> DOC: reword discussion about shared arrays to hopefully be clearer</li>
<li><a href="https://github.com/numpy/numpy/commit/5af2e965a02137cd05706d8d395d8263f395f7c7"><code>5af2e96</code></a> Move NUMUSERTYPES thread safety discussion to legacy DType API docs</li>
<li><a href="https://github.com/numpy/numpy/commit/d902c24b684e8ba5370a160a375beaa77bae5032"><code>d902c24</code></a> DOC: add docs on thread safety in NumPy</li>
<li><a href="https://github.com/numpy/numpy/commit/c080180fabc1f8fcde14c27e3df2de8fcbe7cf03"><code>c080180</code></a> Merge pull request <a href="https://redirect.github.com/numpy/numpy/issues/27229">#27229</a> from charris/backport-27226</li>
<li><a href="https://github.com/numpy/numpy/commit/44ce7e8f7b43c1045ad78eecaac0435fff491fae"><code>44ce7e8</code></a> BUG: Fix <code>PyArray_ZeroContiguousBuffer</code> (resize) with struct dtypes</li>
<li>Additional commits viewable in <a href="https://github.com/numpy/numpy/compare/v2.0.1...v2.1.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.0.1&new-version=2.1.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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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>
  • Loading branch information
dependabot[bot] authored Sep 1, 2024
1 parent 24d9625 commit 23c3c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
networkx==3.3
numpy==2.0.1
numpy==2.1.0
pandas==2.2.2
scikit-learn==1.5.1
scipy==1.14.0
Expand Down

0 comments on commit 23c3c15

Please sign in to comment.