Skip to content

⬆️ Update Rust crate pyo3 to v0.29.2 - #319

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pyo3-0.x-lockfile
Open

⬆️ Update Rust crate pyo3 to v0.29.2#319
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pyo3-0.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
pyo3 dependencies patch 0.29.00.29.2

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: Enabled.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. rust labels Aug 2, 2026
@renovate
renovate Bot enabled auto-merge (squash) August 2, 2026 22:04
@codspeed-hq

codspeed-hq Bot commented Aug 2, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 16 untouched benchmarks


Comparing renovate/pyo3-0.x-lockfile (578f6e0) with main (ab7be2d)

Open in CodSpeed

@codecov-commenter

codecov-commenter commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.96%. Comparing base (ab7be2d) to head (578f6e0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #319   +/-   ##
=======================================
  Coverage   92.96%   92.96%           
=======================================
  Files          42       42           
  Lines       13817    13817           
=======================================
  Hits        12845    12845           
  Misses        972      972           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/pyo3-0.x-lockfile branch from 42be8a5 to 052d52f Compare August 5, 2026 23:01
@renovate renovate Bot changed the title ⬆️ Update Rust crate pyo3 to v0.29.1 ⬆️ Update Rust crate pyo3 to v0.29.2 Aug 5, 2026
@renovate
renovate Bot force-pushed the renovate/pyo3-0.x-lockfile branch 3 times, most recently from a5443c2 to 9d0e9b8 Compare August 7, 2026 13:01
@renovate
renovate Bot force-pushed the renovate/pyo3-0.x-lockfile branch from 9d0e9b8 to 578f6e0 Compare August 7, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. rust

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant