Bump pyo3 from 0.28.2 to 0.28.3 in /reconcile-python #59

Open
dependabot[bot] wants to merge 1 commit from dependabot/cargo/reconcile-python/pyo3-0.28.3 into main
dependabot[bot] commented 2026-04-02 20:05:47 +01:00 (Migrated from github.com)

Bumps pyo3 from 0.28.2 to 0.28.3.

Release notes

Sourced from pyo3's releases.

PyO3 0.28.3

This patch contains several fixes for stability of the PyO3 0.28.x series:

  • Python::attach and Python::try_attach will no longer return before the thread initializing the interpreter has finished runnning site.py when using the auto-initialize feature.
  • Fix unsoundness in PyBytesWriter::write_vectored when targeting the Python 3.15 prerelease interpreter.
  • Fix possible deadlock in .into_pyobject() implementation for C-like #[pyclass] enums.

A couple of edge cases causing compile failures were also fixed.

Thank you to the following contributors for the improvements:

@​alex @​bschoenmaeckers @​chirizxc @​davidhewitt @​Embers-of-the-Fire @​Icxolu @​maurosilber @​ngoldbaum

Changelog

Sourced from pyo3's changelog.

[0.28.3] - 2026-04-02

Fixed

  • Fix compile error with #[pyclass(get_all)] on a type named Probe. #5837
  • Fix compile error in debug builds related to _Py_NegativeRefcount with Python < 3.12. #5847
  • Fix a race condition where Python::attach or try_attach could return before site.py had finished running. #5903
  • Fix unsoundness in PyBytesWriter::write_vectored with Python 3.15 prerelease versions. #5907
  • Fix deadlock in .into_pyobject() implementation for C-like #[pyclass] enums. #5928
Commits

Dependabot compatibility score

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 commands and options

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 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)
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.28.2 to 0.28.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.28.3</h2> <p>This patch contains several fixes for stability of the PyO3 0.28.x series:</p> <ul> <li><code>Python::attach</code> and <code>Python::try_attach</code> will no longer return before the thread initializing the interpreter has finished runnning <code>site.py</code> when using the <code>auto-initialize</code> feature.</li> <li>Fix unsoundness in <code>PyBytesWriter::write_vectored</code> when targeting the Python 3.15 prerelease interpreter.</li> <li>Fix possible deadlock in <code>.into_pyobject()</code> implementation for C-like <code>#[pyclass]</code> enums.</li> </ul> <p>A couple of edge cases causing compile failures were also fixed.</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/bschoenmaeckers"><code>@​bschoenmaeckers</code></a> <a href="https://github.com/chirizxc"><code>@​chirizxc</code></a> <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> <a href="https://github.com/Embers-of-the-Fire"><code>@​Embers-of-the-Fire</code></a> <a href="https://github.com/Icxolu"><code>@​Icxolu</code></a> <a href="https://github.com/maurosilber"><code>@​maurosilber</code></a> <a href="https://github.com/ngoldbaum"><code>@​ngoldbaum</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.28.3] - 2026-04-02</h2> <h3>Fixed</h3> <ul> <li>Fix compile error with <code>#[pyclass(get_all)]</code> on a type named <code>Probe</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/5837">#5837</a></li> <li>Fix compile error in debug builds related to <code>_Py_NegativeRefcount</code> with Python &lt; 3.12. <a href="https://redirect.github.com/PyO3/pyo3/pull/5847">#5847</a></li> <li>Fix a race condition where <code>Python::attach</code> or <code>try_attach</code> could return before <code>site.py</code> had finished running. <a href="https://redirect.github.com/PyO3/pyo3/pull/5903">#5903</a></li> <li>Fix unsoundness in <code>PyBytesWriter::write_vectored</code> with Python 3.15 prerelease versions. <a href="https://redirect.github.com/PyO3/pyo3/pull/5907">#5907</a></li> <li>Fix deadlock in <code>.into_pyobject()</code> implementation for C-like <code>#[pyclass]</code> enums. <a href="https://redirect.github.com/PyO3/pyo3/pull/5928">#5928</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/743af645e7143be6abe2217aafaa0540cf532af4"><code>743af64</code></a> release: 0.28.3</li> <li><a href="https://github.com/PyO3/pyo3/commit/2042b4c0c1da74844f43f4970ab52386abf6deac"><code>2042b4c</code></a> fix deadlock when initializing enum via <code>into_pyobject()</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/5928">#5928</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/01572470d031d16cd14fdc96f330397b4055f424"><code>0157247</code></a> ci: update UI tests for Rust 1.94 (<a href="https://redirect.github.com/pyo3/pyo3/issues/5859">#5859</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/e234f8a75aaa0c0c0feecaf360107a78a7c0e436"><code>e234f8a</code></a> Update getting-started.md (<a href="https://redirect.github.com/pyo3/pyo3/issues/5899">#5899</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/c06848d5f466350efe6bd05c9fc6cd923a12dd78"><code>c06848d</code></a> fix ffi-check in 3.15.0a7 (<a href="https://redirect.github.com/pyo3/pyo3/issues/5873">#5873</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/83f4283bde6e207827edeb9422e79944ced8327c"><code>83f4283</code></a> remove unused <code>try_trait_v2</code> feature when enabling the <code>nightly</code> feature (<a href="https://redirect.github.com/pyo3/pyo3/issues/5868">#5868</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/0de57ed453eeb47e40b011d8be2cdc0028116ebc"><code>0de57ed</code></a> Fix unsoundness in <code>PyBytesWriter::write_vectored</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/5907">#5907</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/49cd13fae22c5e46a4b0946539b9e64bb8ccb573"><code>49cd13f</code></a> fixes <a href="https://redirect.github.com/pyo3/pyo3/issues/5900">#5900</a> -- address race condition with initialization and site.py loading...</li> <li><a href="https://github.com/PyO3/pyo3/commit/c90d163638ef4a754fd31a3a29e3ba2ebc05a354"><code>c90d163</code></a> [fix] Fix <code>std::ffi</code> import for <code>_Py_NegativeRefcount</code> (<a href="https://redirect.github.com/pyo3/pyo3/issues/5847">#5847</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/b79d7257dd0abd9d6d029878d8f0902a8e35e695"><code>b79d725</code></a> fix(pyo3-macros): allow pyclass named Probe (<a href="https://redirect.github.com/pyo3/pyo3/issues/5837">#5837</a>)</li> <li>See full diff in <a href="https://github.com/pyo3/pyo3/compare/v0.28.2...v0.28.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.28.2&new-version=0.28.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 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>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/cargo/reconcile-python/pyo3-0.28.3:dependabot/cargo/reconcile-python/pyo3-0.28.3
git checkout dependabot/cargo/reconcile-python/pyo3-0.28.3

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff dependabot/cargo/reconcile-python/pyo3-0.28.3
git checkout dependabot/cargo/reconcile-python/pyo3-0.28.3
git rebase main
git checkout main
git merge --ff-only dependabot/cargo/reconcile-python/pyo3-0.28.3
git checkout dependabot/cargo/reconcile-python/pyo3-0.28.3
git rebase main
git checkout main
git merge --no-ff dependabot/cargo/reconcile-python/pyo3-0.28.3
git checkout main
git merge --squash dependabot/cargo/reconcile-python/pyo3-0.28.3
git checkout main
git merge --ff-only dependabot/cargo/reconcile-python/pyo3-0.28.3
git checkout main
git merge dependabot/cargo/reconcile-python/pyo3-0.28.3
git push origin main
Sign in to join this conversation.
No description provided.