Skip to content

chore(deps): bump pyo3 to 0.28.2 and pyo3-async-runtimes to 0.28#260

Merged
chaliy merged 2 commits intomainfrom
claude/update-pyo3-deps-JFfeh
Feb 25, 2026
Merged

chore(deps): bump pyo3 to 0.28.2 and pyo3-async-runtimes to 0.28#260
chaliy merged 2 commits intomainfrom
claude/update-pyo3-deps-JFfeh

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Feb 25, 2026

Summary

  • Update pyo3 from 0.24.2 to 0.28.2
  • Update pyo3-async-runtimes from 0.24 to 0.28
  • Migrate Python bindings to pyo3 0.28 API changes: Python::with_gilPython::attach, PyObjectPy<PyAny>, downcastcast, add #[pyclass(from_py_object)]

Supersedes #235 (Dependabot PR).

Test plan

  • cargo build passes
  • cargo test --all-features — all 1093+ tests pass, 0 failures
  • cargo clippy --all-targets --all-features -- -D warnings — clean
  • cargo fmt --check — clean
  • ruff check + ruff format --check — clean

Migrate Python bindings to pyo3 0.28 API:
- Python::with_gil → Python::attach
- PyObject → Py<PyAny>
- downcast → cast
- Add #[pyclass(from_py_object)] for ExecResult
Update supply chain audit exemptions to match new pyo3 versions.
Remove stale exemptions for indoc, unindent, and memoffset (no longer
transitive deps of pyo3 0.28).
@chaliy chaliy merged commit 7a49f45 into main Feb 25, 2026
16 checks passed
@chaliy chaliy deleted the claude/update-pyo3-deps-JFfeh branch February 25, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants