Browse Source

Bump pyo3 from 0.22.0 to 0.22.1 (#1343)

Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.0 to 0.22.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pyo3/pyo3/releases">pyo3's
releases</a>.</em></p>
<blockquote>
<h2>PyO3 0.22.1</h2>
<p>This patch release improves some cases related to new functionality
in PyO3 0.22.</p>
<p><code>PartialEq&lt;bool&gt;</code> has been added for
<code>Bound&lt;'py, PyBool&gt;</code>.</p>
<p>The <code>#[pyo3(submodule)]</code> attribute has been added for
declarative modules to stop submodules from generating an external C
symbol for importing the submodule directly (which is typically never
used). Declarative modules will also now correctly add items annotated
with full-path attributes like
<code>#[pyo3::prelude::pyfunction]</code>.</p>
<p>The <code>#[pyclass(eq)]</code> option will no longer raise a
<code>TypeError</code> on comparison against types not in the
signature.</p>
<p>A <code>#[setter]</code> in <code>#[pymethods]</code> with an
<code>Option&lt;T&gt;</code> input will no longer raise a deprecation
warning.</p>
<p>A regression has been fixed in conversions for 128-bit integers on
big-endian platforms.</p>
<p>Thank you to the following contributors for the improvements:</p>
<p><a href="https://github.com/alex"><code>@​alex</code></a>
<a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a>
<a href="https://github.com/jatoben"><code>@​jatoben</code></a>
<a href="https://github.com/kylebarron"><code>@​kylebarron</code></a>
<a
href="https://github.com/musicinmybrain"><code>@​musicinmybrain</code></a>
<a href="https://github.com/ngoldbaum"><code>@​ngoldbaum</code></a>
<a
href="https://github.com/Owen-CH-Leung"><code>@​Owen-CH-Leung</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md">pyo3's
changelog</a>.</em></p>
<blockquote>
<h2>[0.22.1] - 2024-07-06</h2>
<h3>Added</h3>
<ul>
<li>Add <code>#[pyo3(submodule)]</code> option for declarative
<code>#[pymodule]</code>s. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4301">#4301</a></li>
<li>Implement <code>PartialEq&lt;bool&gt;</code> for <code>Bound&lt;'py,
PyBool&gt;</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4305">#4305</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Return <code>NotImplemented</code> instead of raising
<code>TypeError</code> from generated equality method when comparing
different types. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4287">#4287</a></li>
<li>Handle full-path <code>#[pyo3::prelude::pymodule]</code> and similar
for <code>#[pyclass]</code> and <code>#[pyfunction]</code> in
declarative modules.<a
href="https://redirect.github.com/PyO3/pyo3/pull/4288">#4288</a></li>
<li>Fix 128-bit int regression on big-endian platforms with Python
&lt;3.13. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4291">#4291</a></li>
<li>Stop generating code that will never be covered with declarative
modules. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4297">#4297</a></li>
<li>Fix invalid deprecation warning for trailing optional on
<code>#[setter]</code> function. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4304">#4304</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyO3/pyo3/commit/59c4fa3f249aa19eb9cb80fe418298c8267c00b2"><code>59c4fa3</code></a>
release: 0.22.1 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4314">#4314</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/9afc38ae416bb750efd227e4f8b4302392c0d303"><code>9afc38a</code></a>
fixes <a
href="https://redirect.github.com/pyo3/pyo3/issues/4285">#4285</a> --
allow full-path to pymodule with nested declarative modules (#...</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/5860c4f7e9615afcf33b3905c95211d54242fad7"><code>5860c4f</code></a>
implement PartialEq for Pybool &amp; bool (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4305">#4305</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/0af02278342bada5c76bded787d4a7736cbdb96a"><code>0af0227</code></a>
fix deprecation warning for trailing optional on <code>#[setter]</code>
functions (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4304">#4304</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/ee9123a2d278dee8b461f9c3ee3235dee9c755c0"><code>ee9123a</code></a>
Fix link in the contribution guide (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4306">#4306</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/ccd04475a30409f226a1e044239c6b7e35260e98"><code>ccd0447</code></a>
refs <a
href="https://redirect.github.com/pyo3/pyo3/issues/4286">#4286</a> --
allow setting submodule on declarative pymodules (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4301">#4301</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/f3603a0a483448c71f1811786257d070733540bf"><code>f3603a0</code></a>
Avoid generating functions that are only ever const evaluated with
declarativ...</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/872bd7e6f7390ff2035b1d164582aace33d69e76"><code>872bd7e</code></a>
Add pyo3-arrow to README (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4302">#4302</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/8f7450e33d9edcab790d5b2ad303cbb81a86536e"><code>8f7450e</code></a>
Fix 128-bit int regression on big-endian with Python &lt;3.13 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4291">#4291</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/7c2f5e80de3a08bacd125164178da5f739b1b379"><code>7c2f5e8</code></a>
Don't raise <code>TypeError</code> from generated equality method (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4287">#4287</a>)</li>
<li>See full diff in <a
href="https://github.com/pyo3/pyo3/compare/v0.22.0...v0.22.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyo3&package-manager=cargo&previous-version=0.22.0&new-version=0.22.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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>
Jelmer Vernooij 8 months ago
parent
commit
a5a3d12cee
1 changed files with 10 additions and 10 deletions
  1. 10 10
      Cargo.lock

+ 10 - 10
Cargo.lock

@@ -93,9 +93,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3"
-version = "0.22.0"
+version = "0.22.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1962a33ed2a201c637fc14a4e0fd4e06e6edfdeee6a5fede0dab55507ad74cf7"
+checksum = "4e99090d12f6182924499253aaa1e73bf15c69cea8d2774c3c781e35badc3548"
 dependencies = [
  "cfg-if",
  "indoc",
@@ -111,9 +111,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-build-config"
-version = "0.22.0"
+version = "0.22.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab7164b2202753bd33afc7f90a10355a719aa973d1f94502c50d06f3488bc420"
+checksum = "7879eb018ac754bba32cb0eec7526391c02c14a093121857ed09fbf1d1057d41"
 dependencies = [
  "once_cell",
  "target-lexicon",
@@ -121,9 +121,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-ffi"
-version = "0.22.0"
+version = "0.22.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6424906ca49013c0829c5c1ed405e20e2da2dc78b82d198564880a704e6a7b7"
+checksum = "ce2baa5559a411fc1cf519295f24c34b53d5d725818bc96b5abf94762da09041"
 dependencies = [
  "libc",
  "pyo3-build-config",
@@ -131,9 +131,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-macros"
-version = "0.22.0"
+version = "0.22.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82b2f19e153122d64afd8ce7aaa72f06a00f52e34e1d1e74b6d71baea396460a"
+checksum = "049621c20a23f2def20f4fe67978d1da8d8a883d64b9c21362f3b776e254edc7"
 dependencies = [
  "proc-macro2",
  "pyo3-macros-backend",
@@ -143,9 +143,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-macros-backend"
-version = "0.22.0"
+version = "0.22.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd698c04cac17cf0fe63d47790ab311b8b25542f5cb976b65c374035c50f1eef"
+checksum = "0e969ee2e025435f1819d31a275ba4bb9cbbdf3ac535227fdbd85b9322ffe144"
 dependencies = [
  "heck",
  "proc-macro2",