Skip to content

Commit

Permalink
Bump pyo3 from 0.22.5 to 0.23.3 (#151)
Browse files Browse the repository at this point in the history
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.5 to 0.23.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.23.3</h2>
<p><strong><em>This release is a soundness fix for PyO3 0.23.0 through
0.23.2.</em></strong></p>
<p>In PyO3 0.23.0 the <code>PYO3_CONFIG_FILE</code> environment variable
used to configure builds regressed such that changing the environment
variable would no longer trigger PyO3 to reconfigure and recompile. In
combination with workflows using tools such as <code>maturin</code> to
build for multiple versions in a single build, this leads to Python
wheels being compiled against the wrong Python API version.</p>
<p>All users who distribute artefacts for multiple Python versions are
encouraged to update and rebuild with PyO3 0.23.3. Affected wheels
produced from PyO3 0.23.0 through 0.23.2 are highly unstable and will
crash the Python interpreter in unpredictable ways.</p>
<p>Aside from this fix, PyO3 0.23.3 contains some fixes to link
configuration for Python 3.13t on Windows.</p>
<p>Thank you to the following contributors for the improvements:</p>
<p><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/kemingy"><code>@​kemingy</code></a></p>
<h2>PyO3 0.23.2</h2>
<p>This release fixes a build failure when attempting to compile for
free-threaded Python when the <code>abi3</code> or
<code>abi3-pyxx</code> features are enabled. With this fix, the compile
will now ignore (with a warning) the <code>abi3</code> and
<code>abi3-pyxx</code> flags (as is the case when compiling for PyPy, as
neither support <code>abi3</code>).</p>
<p>This release also iterates upon the new <code>IntoPyObject</code>
trait by adding an <code>IntoPyObjectExt</code> helper trait with some
common convenience functions.</p>
<p>Finally, a compile failure related to
<code>ambiguous_associated_items</code> lint errors inside generated
<code>#[pyclass]</code> and <code>#[derive(IntoPyObject)]</code> output
has been fixed.</p>
<p>Thank you to the following contributors for the improvements:</p>
<p><a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a>
<a href="https://github.com/LilyFoote"><code>@​LilyFoote</code></a>
<a href="https://github.com/ngoldbaum"><code>@​ngoldbaum</code></a></p>
<h2>PyO3 0.23.1</h2>
<p>This is a re-release of PyO3 0.23.0 with corrections to fix docs.rs
builds.</p>
<p>Thanks <a
href="https://github.com/yotamofek"><code>@​yotamofek</code></a> for the
reports &amp; fixes!</p>
<h2>PyO3 0.23.0</h2>
<p>This release is a significant iteration to both PyO3's internals and
API with two major enhancements:</p>
<ul>
<li>Support for Python 3.13t, also known as &quot;free-threaded
Python&quot;.</li>
<li>A new trait <code>IntoPyObject</code>, which unifies the existing
to-Python conversion traits <code>IntoPy</code> and
<code>ToPyObject</code> while also allowing new optimizations and proper
error handling. The new trait also has a
<code>#[derive(IntoPyObject)]</code> macro.</li>
</ul>
<p>While both of these new features have undergone extensive design, it
will be no surprise to find teething issues. All feedback is encouraged
so that we can follow up with iterative improvements for these new
features in future releases.</p>
<p>On top of the major additions, the removal of the &quot;GIL
Refs&quot; API deprecated in PyO3 0.21 is now complete. A number of PyO3
APIs have had new simpler names introduced now that the PyO3 API is no
longer in a migration phase (for example <code>PyTuple::new_bound</code>
is now simplified to <code>PyTuple::new</code>).</p>
<p>Beyond that, PyO3 0.23 contains nearly 5 months of incremental
improvements, bug fixes and smaller features that have been implemented
while the major work of this release was ongoing.</p>
<p>Please consult the <a
href="https://pyo3.rs/v0.23.0/migration.html">migration guide</a> for
help upgrading.</p>
<p>Thank you to everyone who contributed code, documentation, design
ideas, bug reports, and feedback. The following contributors' commits
are included in this release:</p>
<p><a href="https://github.com/abrisco"><code>@​abrisco</code></a>
<a
href="https://github.com/adamcavendish"><code>@​adamcavendish</code></a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.23.3] - 2024-12-03</h2>
<h3>Packaging</h3>
<ul>
<li>Bump optional <code>python3-dll-a</code> dependency to 0.2.11. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4749">#4749</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix unresolved symbol link failures on Windows when compiling for
Python 3.13t with <code>abi3</code> features enabled. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4733">#4733</a></li>
<li>Fix unresolved symbol link failures on Windows when compiling for
Python 3.13t using the <code>generate-import-lib</code> feature. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4749">#4749</a></li>
<li>Fix compile-time regression in PyO3 0.23.0 where changing
<code>PYO3_CONFIG_FILE</code> would not reconfigure PyO3 for the new
interpreter. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4758">#4758</a></li>
</ul>
<h2>[0.23.2] - 2024-11-25</h2>
<h3>Added</h3>
<ul>
<li>Add <code>IntoPyObjectExt</code> trait. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4708">#4708</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix compile failures when building for free-threaded Python when the
<code>abi3</code> or <code>abi3-pyxx</code> features are enabled. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4719">#4719</a></li>
<li>Fix <code>ambiguous_associated_items</code> lint error in
<code>#[pyclass]</code> and <code>#[derive(IntoPyObject)]</code> macros.
<a href="https://redirect.github.com/PyO3/pyo3/pull/4725">#4725</a></li>
</ul>
<h2>[0.23.1] - 2024-11-16</h2>
<p>Re-release of 0.23.0 with fixes to docs.rs build.</p>
<h2>[0.23.0] - 2024-11-15</h2>
<h3>Packaging</h3>
<ul>
<li>Drop support for PyPy 3.7 and 3.8. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4582">#4582</a></li>
<li>Extend range of supported versions of <code>hashbrown</code>
optional dependency to include version 0.15. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4604">#4604</a></li>
<li>Bump minimum version of <code>eyre</code> optional dependency to
0.6.8. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li>
<li>Bump minimum version of <code>hashbrown</code> optional dependency
to 0.14.5. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li>
<li>Bump minimum version of <code>indexmap</code> optional dependency to
2.5.0. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li>
<li>Bump minimum version of <code>num-complex</code> optional dependency
to 0.4.6. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li>
<li>Bump minimum version of <code>chrono-tz</code> optional dependency
to 0.10. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4617">#4617</a></li>
<li>Support free-threaded Python 3.13t. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4588">#4588</a></li>
</ul>
<h3>Added</h3>
<ul>
<li>Add <code>IntoPyObject</code> (fallible) conversion trait to convert
from Rust to Python values. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4060">#4060</a></li>
<li>Add <code>#[pyclass(str=&quot;&lt;format string&gt;&quot;)]</code>
option to generate <code>__str__</code> based on a <code>Display</code>
implementation or format string. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4233">#4233</a></li>
<li>Implement <code>PartialEq</code> for <code>Bound&lt;'py,
PyInt&gt;</code> with <code>u8</code>, <code>u16</code>,
<code>u32</code>, <code>u64</code>, <code>u128</code>,
<code>usize</code>, <code>i8</code>, <code>i16</code>, <code>i32</code>,
<code>i64</code>, <code>i128</code> and <code>isize</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4317">#4317</a></li>
<li>Implement <code>PartialEq&lt;f64&gt;</code> and
<code>PartialEq&lt;f32&gt;</code> for <code>Bound&lt;'py,
PyFloat&gt;</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4348">#4348</a></li>
<li>Add <code>as_super</code> and <code>into_super</code> methods for
<code>Bound&lt;T: PyClass&gt;</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4351">#4351</a></li>
<li>Add FFI definitions <code>PyCFunctionFast</code> and
<code>PyCFunctionFastWithKeywords</code> <a
href="https://redirect.github.com/PyO3/pyo3/pull/4415">#4415</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyO3/pyo3/commit/b5599dcdb0f24274988e3136f04895bfd67f6a40"><code>b5599dc</code></a>
release: 0.23.3</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/a423c79f0d73956696eedbc7716bd04b080def94"><code>a423c79</code></a>
fix <code>PYO3_CONFIG_FILE</code> env var not requesting rebuilds (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4758">#4758</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/9c862e58e30c4843ac360031ce8f83bceb47a8f7"><code>9c862e5</code></a>
fix another <code>unsafe_op_in_unsafe_fn</code> trigger (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4753">#4753</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/5c681ca7ea5bb7044029ae987471b83b5e1f809f"><code>5c681ca</code></a>
support python3-dll-a free-threaded generation (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4749">#4749</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/3cb0b87aeedd639044f7e3b1007ad71b85f7f275"><code>3cb0b87</code></a>
ci: test debug builds using 3.13.0 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4750">#4750</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/9714eabfc3a23f4de3fc6967fd41a9afc43cb1ef"><code>9714eab</code></a>
don't link to abi3 dll on windows for free-threaded build (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4733">#4733</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/a75242547b41fee1784130fa0f9c52bfde179aab"><code>a752425</code></a>
add missing CHANGELOG entry for 4589 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4744">#4744</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/d3f79cf8df536a4a39c38571d7b2297ac96bbbdc"><code>d3f79cf</code></a>
ci: updates for Rust 1.83 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4741">#4741</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/42bd0e5d7cbbdc2641b6c3368cc7659d34795cff"><code>42bd0e5</code></a>
Update class.md (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4739">#4739</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/824ba56849b02ca1c0b81c677197ee5f2e5ef1d3"><code>824ba56</code></a>
fix clippy beta (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4737">#4737</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyo3/pyo3/compare/v0.22.5...v0.23.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.5&new-version=0.23.3)](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>
  • Loading branch information
dependabot[bot] authored Dec 9, 2024
1 parent cbaa51d commit 78cd463
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "sourmash_plugin_directsketch"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.22.5", features = ["extension-module", "anyhow"] }
pyo3 = { version = "0.23.3", features = ["extension-module", "anyhow"] }
rayon = "1.10.0"
serde = { version = "1.0.204", features = ["derive"] }
sourmash = { version = "0.16.0"}
Expand Down

0 comments on commit 78cd463

Please sign in to comment.