chore(deps): update rust crate pyo3 to v0.29.2 #154

Open
noplife wants to merge 1 commit from nop/pyo3-0.x-lockfile into main
Collaborator

This PR contains the following updates:

Package Type Update Change
pyo3 workspace.dependencies patch 0.29.00.29.2

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

pyo3/pyo3 (pyo3)

v0.29.2: PyO3 0.29.2

Compare Source

This patch fixes a regression in PyO3 0.29.1 which broke PyPy 3.11 compatibility (#[pyclass] types would crash PyPy on instance deletion).

A few further fixes have also landed with similar themes to PyO3 0.29.1: fixes to minor reference counting bugs, rough edges which would cause crashes, issues which would cause failed builds, and fixes to experimental-inspect type stub generation.

For a full list of the exact fixes please consult the CHANGELOG.

Thank you to the following contributors for the improvements:

@​davidhewitt
@​dependabot[bot]
@​ImFeH2
@​musicinmybrain
@​Tpt
@​WaterWhisperer

v0.29.1

Compare Source

Changed
  • Use the inline definition of Py_TYPE in the unlimited API on 3.14+ #​6179
Fixed
  • Fix incorrect pointer arithmetic in FFI definitions PyObject_GET_WEAKREFS_LISTPTR and PyHeapType_GET_MEMBERS. #​6145
  • Fix compilation error with nightly feature on PyPy and GraalPy due to !Ungil implementations for FFI types not available on those platforms. #​6146
  • Fix append_to_inittab and PyInit_<module> internal module definition corruption on 32-bit and big-endian platforms on Python 3.15+. #​6150
  • Fix return value of PyClassGuardMutSuper::as_super being scoped to the full guard lifetime, now the &mut borrow of the as_super() call. #​6181
  • Fix builds for free-threaded interpreters older than 3.15 erroring with "cannot set a minimum Python version" when an abi3t-py3* feature is enabled and the configuration comes from PYO3_CONFIG_FILE, sysconfigdata or cross-compilation defaults. #​6192
  • Fix a memory leak when deallocating #[pyclass(dict)] instances with a populated __dict__. #​6198
  • Fix an abort inside a #[pyclass]'s GC traversal when the traversal is stopped early. #​6206
  • Fix reference cycles through the __dict__ of a #[pyclass(dict)] never being collected. #​6206
  • Fix building on GraalPy 3.13. #​6208
  • Fix reference count leak of references to #[pyclass] type objects held by their instances on instance deallocation. #​6224
  • Fix FFI definitions PyByteArray_GET_SIZE, PyList_GET_SIZE, and PySet_GET_SIZE to use an atomic load for free-threaded Python. #​6230
  • Fix a memory leak on Python 3.11 and 3.12 where creating an instance of a #[pyclass(dict)] class leaked one empty dict per instance. #​6234
  • Fix experimental-inspect type stubs to emit the arguments of many magic methods as positional-only to match runtime behavior, rather than positional-or-keyword. #​6239
  • Fix experimental-inspect type stubs to emit the Python name rather than the Rust name for #[pyfunction(name = "...")]. #​6254
  • Fix experimental-inspect generating invalid internal JSON when #[pymodule] members are gated by #[cfg]. #​6255
  • Fix __inplace_concat__ and __inplace_repeat__ overriding __concat__ and __repeat__ when both were defined. #​6260
  • Fix conversion of out-of-range time::Duration values to return OverflowError instead of panicking. #​6266
  • Fix experimental-inspect type stubs padding blank lines inside indented docstrings. #​6270

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pyo3](https://github.com/pyo3/pyo3) | workspace.dependencies | patch | `0.29.0` → `0.29.2` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/124) for more information. --- ### Release Notes <details> <summary>pyo3/pyo3 (pyo3)</summary> ### [`v0.29.2`](https://github.com/PyO3/pyo3/releases/tag/v0.29.2): PyO3 0.29.2 [Compare Source](https://github.com/pyo3/pyo3/compare/v0.29.1...v0.29.2) This patch fixes a regression in PyO3 0.29.1 which broke PyPy 3.11 compatibility (`#[pyclass]` types would crash PyPy on instance deletion). A few further fixes have also landed with similar themes to PyO3 0.29.1: fixes to minor reference counting bugs, rough edges which would cause crashes, issues which would cause failed builds, and fixes to `experimental-inspect` type stub generation. For a full list of the exact fixes please consult the CHANGELOG. Thank you to the following contributors for the improvements: [@&#8203;davidhewitt](https://github.com/davidhewitt) [@&#8203;dependabot](https://github.com/dependabot)\[bot] [@&#8203;ImFeH2](https://github.com/ImFeH2) [@&#8203;musicinmybrain](https://github.com/musicinmybrain) [@&#8203;Tpt](https://github.com/Tpt) [@&#8203;WaterWhisperer](https://github.com/WaterWhisperer) ### [`v0.29.1`](https://github.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0291---2026-08-02) [Compare Source](https://github.com/pyo3/pyo3/compare/v0.29.0...v0.29.1) ##### Changed - Use the inline definition of `Py_TYPE` in the unlimited API on 3.14+ [#&#8203;6179](https://github.com/PyO3/pyo3/pull/6179) ##### Fixed - Fix incorrect pointer arithmetic in FFI definitions `PyObject_GET_WEAKREFS_LISTPTR` and `PyHeapType_GET_MEMBERS`. [#&#8203;6145](https://github.com/PyO3/pyo3/pull/6145) - Fix compilation error with `nightly` feature on PyPy and GraalPy due to `!Ungil` implementations for FFI types not available on those platforms. [#&#8203;6146](https://github.com/PyO3/pyo3/pull/6146) - Fix `append_to_inittab` and `PyInit_<module>` internal module definition corruption on 32-bit and big-endian platforms on Python 3.15+. [#&#8203;6150](https://github.com/PyO3/pyo3/pull/6150) - Fix return value of `PyClassGuardMutSuper::as_super` being scoped to the full guard lifetime, now the `&mut` borrow of the `as_super()` call. [#&#8203;6181](https://github.com/PyO3/pyo3/pull/6181) - Fix builds for free-threaded interpreters older than 3.15 erroring with "cannot set a minimum Python version" when an `abi3t-py3*` feature is enabled and the configuration comes from `PYO3_CONFIG_FILE`, sysconfigdata or cross-compilation defaults. [#&#8203;6192](https://github.com/PyO3/pyo3/pull/6192) - Fix a memory leak when deallocating `#[pyclass(dict)]` instances with a populated `__dict__`. [#&#8203;6198](https://github.com/PyO3/pyo3/pull/6198) - Fix an abort inside a `#[pyclass]`'s GC traversal when the traversal is stopped early. [#&#8203;6206](https://github.com/PyO3/pyo3/pull/6206) - Fix reference cycles through the `__dict__` of a `#[pyclass(dict)]` never being collected. [#&#8203;6206](https://github.com/PyO3/pyo3/pull/6206) - Fix building on GraalPy 3.13. [#&#8203;6208](https://github.com/PyO3/pyo3/pull/6208) - Fix reference count leak of references to `#[pyclass]` type objects held by their instances on instance deallocation. [#&#8203;6224](https://github.com/PyO3/pyo3/pull/6224) - Fix FFI definitions `PyByteArray_GET_SIZE`, `PyList_GET_SIZE`, and `PySet_GET_SIZE` to use an atomic load for free-threaded Python. [#&#8203;6230](https://github.com/PyO3/pyo3/pull/6230) - Fix a memory leak on Python 3.11 and 3.12 where creating an instance of a `#[pyclass(dict)]` class leaked one empty dict per instance. [#&#8203;6234](https://github.com/PyO3/pyo3/pull/6234) - Fix `experimental-inspect` type stubs to emit the arguments of many magic methods as positional-only to match runtime behavior, rather than positional-or-keyword. [#&#8203;6239](https://github.com/PyO3/pyo3/pull/6239) - Fix `experimental-inspect` type stubs to emit the Python name rather than the Rust name for `#[pyfunction(name = "...")]`. [#&#8203;6254](https://github.com/PyO3/pyo3/pull/6254) - Fix `experimental-inspect` generating invalid internal JSON when `#[pymodule]` members are gated by `#[cfg]`. [#&#8203;6255](https://github.com/PyO3/pyo3/pull/6255) - Fix `__inplace_concat__` and `__inplace_repeat__` overriding `__concat__` and `__repeat__` when both were defined. [#&#8203;6260](https://github.com/PyO3/pyo3/pull/6260) - Fix conversion of out-of-range `time::Duration` values to return `OverflowError` instead of panicking. [#&#8203;6266](https://github.com/PyO3/pyo3/pull/6266) - Fix `experimental-inspect` type stubs padding blank lines inside indented docstrings. [#&#8203;6270](https://github.com/PyO3/pyo3/pull/6270) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI4MS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
chore(deps): update rust crate pyo3 to v0.29.1
Some checks failed
CI / helm (pull_request) Successful in 1m45s
CI / python (3.12) (pull_request) Successful in 17m3s
CI / python (3.11) (pull_request) Successful in 18m47s
CI / python (3.10) (pull_request) Successful in 19m2s
CI / rust (pull_request) Failing after 20m15s
CI / torch (pull_request) Successful in 23m27s
CI / pre-commit (pull_request) Failing after 25m52s
CI / wheels (pull_request) Successful in 30m48s
d11dc10977
noplife force-pushed nop/pyo3-0.x-lockfile from d11dc10977
Some checks failed
CI / helm (pull_request) Successful in 1m45s
CI / python (3.12) (pull_request) Successful in 17m3s
CI / python (3.11) (pull_request) Successful in 18m47s
CI / python (3.10) (pull_request) Successful in 19m2s
CI / rust (pull_request) Failing after 20m15s
CI / torch (pull_request) Successful in 23m27s
CI / pre-commit (pull_request) Failing after 25m52s
CI / wheels (pull_request) Successful in 30m48s
to b7ef6233eb
Some checks failed
CI / helm (pull_request) Successful in 18s
CI / rust (pull_request) Failing after 6m0s
CI / python (3.10) (pull_request) Successful in 6m22s
CI / python (3.11) (pull_request) Successful in 6m27s
CI / python (3.12) (pull_request) Successful in 6m27s
CI / pre-commit (pull_request) Failing after 7m23s
CI / wheels (pull_request) Successful in 7m45s
CI / torch (pull_request) Successful in 7m56s
2026-08-06 00:07:44 +00:00
Compare
noplife changed title from chore(deps): update rust crate pyo3 to v0.29.1 to chore(deps): update rust crate pyo3 to v0.29.2 2026-08-06 00:07:46 +00:00
Some checks failed
CI / helm (pull_request) Successful in 18s
CI / rust (pull_request) Failing after 6m0s
CI / python (3.10) (pull_request) Successful in 6m22s
CI / python (3.11) (pull_request) Successful in 6m27s
CI / python (3.12) (pull_request) Successful in 6m27s
CI / pre-commit (pull_request) Failing after 7m23s
CI / wheels (pull_request) Successful in 7m45s
CI / torch (pull_request) Successful in 7m56s
This pull request can be merged automatically.
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 nop/pyo3-0.x-lockfile:nop/pyo3-0.x-lockfile
git switch nop/pyo3-0.x-lockfile

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 switch main
git merge --no-ff nop/pyo3-0.x-lockfile
git switch nop/pyo3-0.x-lockfile
git rebase main
git switch main
git merge --ff-only nop/pyo3-0.x-lockfile
git switch nop/pyo3-0.x-lockfile
git rebase main
git switch main
git merge --no-ff nop/pyo3-0.x-lockfile
git switch main
git merge --squash nop/pyo3-0.x-lockfile
git switch main
git merge --ff-only nop/pyo3-0.x-lockfile
git switch main
git merge nop/pyo3-0.x-lockfile
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
femboy/emry!154
No description provided.