Browse Source

Bump pyo3 from 0.23.3 to 0.23.4 (#1478)

Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.23.3 to 0.23.4.
<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.23.4</h2>
<p>This release contains a range of fixes on top of PyO3 0.23.3,
primarily grouped into the following categories:</p>
<ul>
<li>Fixes for the new support for free-threaded Python 3.13</li>
<li>Fixes to conversions between Python and <code>chrono</code>
datetimes</li>
<li>Fixes to various build configuration cases for Windows</li>
<li>Fixes to edge cases in PyO3's macros leading to compile
failures</li>
</ul>
<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/bschoenmaeckers"><code>@​bschoenmaeckers</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/kahojyun"><code>@​kahojyun</code></a>
<a href="https://github.com/LilyFoote"><code>@​LilyFoote</code></a>
<a href="https://github.com/mejrs"><code>@​mejrs</code></a>
<a href="https://github.com/messense"><code>@​messense</code></a>
<a href="https://github.com/msimacek"><code>@​msimacek</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>
<a href="https://github.com/Tpt"><code>@​Tpt</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PyO3/pyo3/blob/v0.23.4/CHANGELOG.md">pyo3's
changelog</a>.</em></p>
<blockquote>
<h2>[0.23.4] - 2025-01-10</h2>
<h3>Added</h3>
<ul>
<li>Add <code>PyList::locked_for_each</code>, which uses a critical
section to lock the list on the free-threaded build. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4789">#4789</a></li>
<li>Add <code>pyo3_build_config::add_python_framework_link_args</code>
build script API to set rpath when using macOS system Python. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4833">#4833</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Use <code>datetime.fold</code> to distinguish ambiguous datetimes
when converting to and from <code>chrono::DateTime&lt;Tz&gt;</code>
(rather than erroring). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4791">#4791</a></li>
<li>Optimize PyList iteration on the free-threaded build. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4789">#4789</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix unnecessary internal <code>py.allow_threads</code> GIL-switch
when attempting to access contents of a <code>PyErr</code> which
originated from Python (could lead to unintended deadlocks). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4766">#4766</a></li>
<li>Fix thread-unsafe access of dict internals in
<code>BoundDictIterator</code> on the free-threaded build. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4788">#4788</a></li>
</ul>
<ul>
<li>Fix unnecessary critical sections in <code>BoundDictIterator</code>
on the free-threaded build. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4788">#4788</a></li>
</ul>
<ul>
<li>Fix time-of-check to time-of-use issues with list iteration on the
free-threaded build. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4789">#4789</a></li>
<li>Fix <code>chrono::DateTime&lt;Tz&gt;</code> to-Python conversion
when <code>Tz</code> is <code>chrono_tz::Tz</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4790">#4790</a></li>
<li>Fix <code>#[pyclass]</code> not being able to be named
<code>Probe</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4794">#4794</a></li>
<li>Fix not treating cross-compilation from x64 to aarch64 on Windows as
a cross-compile. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4800">#4800</a></li>
<li>Fix missing struct fields on GraalPy when subclassing builtin
classes. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4802">#4802</a></li>
<li>Fix generating import lib for PyPy when <code>abi3</code> feature is
enabled. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4806">#4806</a></li>
<li>Fix generating import lib for python3.13t when <code>abi3</code>
feature is enabled. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4808">#4808</a></li>
<li>Fix compile failure for raw identifiers like <code>r#box</code> in
<code>derive(FromPyObject)</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4814">#4814</a></li>
<li>Fix compile failure for <code>#[pyclass]</code> enum variants with
more than 12 fields. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4832">#4832</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyO3/pyo3/commit/f2a8460559d8f58269f306679fc58c9d101f70cf"><code>f2a8460</code></a>
release: 0.23.4</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/0c10e3462d34fe810df4f4ec5cfa7c853ae88add"><code>0c10e34</code></a>
ci: updates for Rust 1.84 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4846">#4846</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/9ee55a3a8f2ba7df759fb5f67879769aa7fc1100"><code>9ee55a3</code></a>
Implement locked iteration for PyList (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4789">#4789</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/4b04bb3752c87d3aa9ee643c169982181c160074"><code>4b04bb3</code></a>
Allow useless conversion (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4838">#4838</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/bcdbc9365165d5fc3c27023a9108d25a81356e00"><code>bcdbc93</code></a>
Fix PyDict issues on free-threaded build (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4788">#4788</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/8aa68254abf0e37bb5e98bf6529d1ea166aaa0d4"><code>8aa6825</code></a>
Add an API to set rpath when using macOS system Python (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4833">#4833</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/e19d048275aef8e92ae8639b88dea3b0470b2f12"><code>e19d048</code></a>
ci: add more tests for cross-compilation (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4773">#4773</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/325218f1520fcb30c1c8e0a6df65db79cb587fa6"><code>325218f</code></a>
docs: Expand docs on when and why allow_threads is necessary (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4767">#4767</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/869a25ba612936a01aa02d69f90d318d1040aba5"><code>869a25b</code></a>
fix error with complex enums with many fields (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4832">#4832</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/f2915f518c82661d82a3390b655ae600a6bf60db"><code>f2915f5</code></a>
fix: cross-compilation compatibility checks for Windows (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4800">#4800</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyo3/pyo3/compare/v0.23.3...v0.23.4">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.23.3&new-version=0.23.4)](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 2 months ago
parent
commit
1443e0ccdf
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.23.3"
+version = "0.23.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e484fd2c8b4cb67ab05a318f1fd6fa8f199fcc30819f08f07d200809dba26c15"
+checksum = "57fe09249128b3173d092de9523eaa75136bf7ba85e0d69eca241c7939c933cc"
 dependencies = [
  "cfg-if",
  "indoc",
@@ -111,9 +111,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-build-config"
-version = "0.23.3"
+version = "0.23.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b"
+checksum = "1cd3927b5a78757a0d71aa9dff669f903b1eb64b54142a9bd9f757f8fde65fd7"
 dependencies = [
  "once_cell",
  "target-lexicon",
@@ -121,9 +121,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-ffi"
-version = "0.23.3"
+version = "0.23.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d"
+checksum = "dab6bb2102bd8f991e7749f130a70d05dd557613e39ed2deeee8e9ca0c4d548d"
 dependencies = [
  "libc",
  "pyo3-build-config",
@@ -131,9 +131,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-macros"
-version = "0.23.3"
+version = "0.23.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdb6da8ec6fa5cedd1626c886fc8749bdcbb09424a86461eb8cdf096b7c33257"
+checksum = "91871864b353fd5ffcb3f91f2f703a22a9797c91b9ab497b1acac7b07ae509c7"
 dependencies = [
  "proc-macro2",
  "pyo3-macros-backend",
@@ -143,9 +143,9 @@ dependencies = [
 
 [[package]]
 name = "pyo3-macros-backend"
-version = "0.23.3"
+version = "0.23.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38a385202ff5a92791168b1136afae5059d3ac118457bb7bc304c197c2d33e7d"
+checksum = "43abc3b80bc20f3facd86cd3c60beed58c3e2aa26213f3cda368de39c60a27e4"
 dependencies = [
  "heck",
  "proc-macro2",