Skip to content

Commit 53be616

Browse files
Bump pyo3 from 0.23.3 to 0.23.4 (#178)
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="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/alex"><code>@​alex</code></a> <a href="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/bschoenmaeckers"><code>@​bschoenmaeckers</code></a> <a href="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/davidhewitt"><code>@​davidhewitt</code></a> <a href="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/Icxolu"><code>@​Icxolu</code></a> <a href="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/kahojyun"><code>@​kahojyun</code></a> <a href="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/LilyFoote"><code>@​LilyFoote</code></a> <a href="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/mejrs"><code>@​mejrs</code></a> <a href="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/messense"><code>@​messense</code></a> <a href="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/msimacek"><code>@​msimacek</code></a> <a href="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/ngoldbaum"><code>@​ngoldbaum</code></a> <a href="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/Owen-CH-Leung"><code>@​Owen-CH-Leung</code></a> <a href="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/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) 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tessa Pierce Ward <[email protected]>
1 parent 7f0570d commit 53be616

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "sourmash_plugin_directsketch"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.23.3", features = ["extension-module","anyhow"]}
12+
pyo3 = { version = "0.23.4", features = ["extension-module","anyhow"]}
1313
rayon = "1.10.0"
1414
serde = { version = "1.0.217", features = ["derive"] }
1515
sourmash = { version = "0.18.0"}

0 commit comments

Comments
 (0)