Browse Source

Bump pyo3 from 0.22.2 to 0.22.3 (#1364)

Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.2 to 0.22.3.
<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.3</h2>
<p>This release contains a number of quality improvements building upon
PyO3 0.22.2.</p>
<p>Python function calls (using <code>.call0()</code>,
<code>.call1(args)</code> and <code>.call(args, kwargs)</code>) will now
make use of the &quot;vectorcall&quot; calling conventions where
possible, which can reduce overheads in many cases.</p>
<p>There have been several fix-ups to PyO3's FFI definitions. A new
<code>pyo3::ffi::compat</code> namespace has been added which offers
some backwards-compatible implementations of Python APIs otherwise
normally only available on recent Pythons.</p>
<p>There have been numerous other bug-fixes and minor tweaks to improve
user experience.</p>
<p>Thank you to the following contributors for the improvements:</p>
<p><a href="https://github.com/birkenfeld"><code>@​birkenfeld</code></a>
<a
href="https://github.com/ChayimFriedman2"><code>@​ChayimFriedman2</code></a>
<a href="https://github.com/csernazs"><code>@​csernazs</code></a>
<a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a>
<a href="https://github.com/Icxolu"><code>@​Icxolu</code></a>
<a href="https://github.com/jakelishman"><code>@​jakelishman</code></a>
<a href="https://github.com/LilyFoote"><code>@​LilyFoote</code></a>
<a href="https://github.com/ngoldbaum"><code>@​ngoldbaum</code></a>
<a href="https://github.com/Zyell"><code>@​Zyell</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PyO3/pyo3/blob/v0.22.3/CHANGELOG.md">pyo3's
changelog</a>.</em></p>
<blockquote>
<h2>[0.22.3] - 2024-09-15</h2>
<h3>Added</h3>
<ul>
<li>Add <code>pyo3::ffi::compat</code> namespace with compatibility
shims for C API functions added in recent versions of Python.</li>
<li>Add FFI definition <code>PyDict_GetItemRef</code> on Python 3.13 and
newer, and <code>compat::PyDict_GetItemRef</code> for all versions. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4355">#4355</a></li>
<li>Add FFI definition <code>PyList_GetItemRef</code> on Python 3.13 and
newer, and <code>pyo3_ffi::compat::PyList_GetItemRef</code> for all
versions. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4410">#4410</a></li>
<li>Add FFI definitions <code>compat::Py_NewRef</code> and
<code>compat::Py_XNewRef</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4445">#4445</a></li>
<li>Add FFI definitions <code>compat::PyObject_CallNoArgs</code> and
<code>compat::PyObject_CallMethodNoArgs</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4461">#4461</a></li>
<li>Add <code>GilOnceCell&lt;Py&lt;T&gt;&gt;::clone_ref</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4511">#4511</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Improve error messages for <code>#[pyfunction]</code> defined inside
<code>#[pymethods]</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4349">#4349</a></li>
<li>Improve performance of calls to Python by using the vectorcall
calling convention where possible. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4456">#4456</a></li>
<li>Mention the type name in the exception message when trying to
instantiate a class with no constructor defined. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4481">#4481</a></li>
</ul>
<h3>Removed</h3>
<ul>
<li>Remove private FFI definition <code>_Py_PackageContext</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4420">#4420</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix compile failure in declarative <code>#[pymodule]</code> under
presence of <code>#![no_implicit_prelude]</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4328">#4328</a></li>
<li>Fix use of borrowed reference in <code>PyDict::get_item</code>
(unsafe in free-threaded Python). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4355">#4355</a></li>
<li>Fix <code>#[pyclass(eq)]</code> macro hygiene issues for structs and
enums. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4359">#4359</a></li>
<li>Fix hygiene/span issues of <code>'#[pyfunction]</code> and
<code>#[pymethods]</code> generated code which affected expansion in
<code>macro_rules</code> context. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4382">#4382</a></li>
<li>Fix <code>unsafe_code</code> lint error in <code>#[pyclass]</code>
generated code. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4396">#4396</a></li>
<li>Fix async functions returning a tuple only returning the first
element to Python. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4407">#4407</a></li>
<li>Fix use of borrowed reference in <code>PyList::get_item</code>
(unsafe in free-threaded Python). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4410">#4410</a></li>
<li>Correct FFI definition <code>PyArg_ParseTupleAndKeywords</code> to
take <code>*const *const c_char</code> instead of <code>*mut *mut
c_char</code> on Python 3.13 and up. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4420">#4420</a></li>
<li>Fix a soundness bug with <code>PyClassInitializer</code>: panic if
adding subclass to existing instance via
<code>PyClassInitializer::from(Py&lt;BaseClass&gt;).add_subclass(SubClass)</code>.
<a href="https://redirect.github.com/PyO3/pyo3/pull/4454">#4454</a></li>
<li>Fix illegal reference counting op inside implementation of
<code>__traverse__</code> handlers. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4479">#4479</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyO3/pyo3/commit/cd5369c1a0d264db5db030bb099aaafccee28598"><code>cd5369c</code></a>
release: 0.22.3</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/f38c43aaf5b05c45dece964c7ab46e3fe2366d16"><code>f38c43a</code></a>
revert removal of <code>_Py_XNewRef</code> and <code>_Py_NewRef</code>
in 0.22 line</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/dbb33ad10a87f1c5e6168b1fc72483e093faf240"><code>dbb33ad</code></a>
ci: fixup abi3 ui test output</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/ee3b73fcb965805729efd0753e28d5eae4943b4c"><code>ee3b73f</code></a>
ci: updates for Rust 1.81 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4533">#4533</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/146c39705d9a37d5a42c5bc0525ce81fb3599d7f"><code>146c397</code></a>
ci: fix nightly warning about unreachable pattern (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4437">#4437</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/08a16302cb41ec163e91a3dc398270fd15c54444"><code>08a1630</code></a>
type_object: fix new clippy complaint about length of doc comment (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4527">#4527</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/6c546328462c635c754432a027ce1fc0eae341c3"><code>6c54632</code></a>
fix beta/nightly ci (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4549">#4549</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/560790b92101103869dfef421263b9329939933e"><code>560790b</code></a>
fix nightly ci (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4385">#4385</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/2c66281b6a32cea9485f7c14167db7303822408b"><code>2c66281</code></a>
ci: fix diagnostic case with abi3</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/66ac6c7ac7d7087027711ab425f123eaaaed60cf"><code>66ac6c7</code></a>
fix ui tests (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4397">#4397</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyo3/pyo3/compare/v0.22.2...v0.22.3">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.2&new-version=0.22.3)](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 6 months ago
parent
commit
2084a6ba5e
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.2"
+version = "0.22.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
+checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
 dependencies = [
  "cfg-if",
  "indoc",
@@ -111,9 +111,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-build-config"
-version = "0.22.2"
+version = "0.22.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
+checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
 dependencies = [
  "once_cell",
  "target-lexicon",
@@ -121,9 +121,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-ffi"
-version = "0.22.2"
+version = "0.22.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
+checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
 dependencies = [
  "libc",
  "pyo3-build-config",
@@ -131,9 +131,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-macros"
-version = "0.22.2"
+version = "0.22.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
+checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
 dependencies = [
  "proc-macro2",
  "pyo3-macros-backend",
@@ -143,9 +143,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-macros-backend"
-version = "0.22.2"
+version = "0.22.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
+checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
 dependencies = [
  "heck",
  "proc-macro2",