Skip to content

fix: update pyo3 to 0.29.0 and fix dependabot config#108

Merged
theshadow76 merged 1 commit into
masterfrom
fix/pyo3-security-update-dependabot-config
Jun 21, 2026
Merged

fix: update pyo3 to 0.29.0 and fix dependabot config#108
theshadow76 merged 1 commit into
masterfrom
fix/pyo3-security-update-dependabot-config

Conversation

@theshadow76

@theshadow76 theshadow76 commented Jun 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Bumps pyo3 from 0.28.3 to 0.29.0 to address a security advisory (affected versions: < 0.29.0)
  • Bumps pyo3-async-runtimes from 0.28.0 to 0.29.0 to stay in sync with pyo3
  • Fixes .github/dependabot.yml: sets package-ecosystem: "cargo" (was empty string), corrects typo "dayli""weekly", and points to the workspace root / so Dependabot can properly resolve workspace member crates

Why this matters

The previous dependabot.yml was a broken placeholder, causing Dependabot's security update job to target /crates/bindings_pyo3 as a standalone directory. Since that crate uses workspace-inherited dependencies, Dependabot's parser failed with "No Cargo.toml!" because it couldn't resolve the workspace root. Pointing Dependabot to / fixes this.

Test plan

  • Confirm CI builds successfully with pyo3 0.29.0
  • Confirm Dependabot security alert for pyo3 is resolved after merge

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated Python bindings dependencies to the latest versions for improved compatibility.
    • Fixed Dependabot configuration to properly monitor and manage package updates on a weekly schedule.

- Bump pyo3 from 0.28.3 to 0.29.0 to address security advisory (affected: < 0.29.0)
- Bump pyo3-async-runtimes from 0.28.0 to 0.29.0 to match pyo3 version
- Fix dependabot.yml: set package-ecosystem to "cargo", fix typo "dayli" -> "weekly",
  point to workspace root "/" so Dependabot can resolve workspace members correctly

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings June 21, 2026 18:08
@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 34c3ba22-11f1-41ae-822c-da89ebd54280

📥 Commits

Reviewing files that changed from the base of the PR and between 42cb66a and acc3588.

📒 Files selected for processing (2)
  • .github/dependabot.yml
  • crates/bindings_pyo3/Cargo.toml

📝 Walkthrough

Walkthrough

The Dependabot configuration is corrected to use the cargo ecosystem at the root directory with a weekly schedule, replacing an invalid ecosystem value and a misspelled interval. In the Python bindings crate, pyo3 and pyo3-async-runtimes are upgraded from 0.28.x to 0.29.0.

Changes

Config and Dependency Updates

Layer / File(s) Summary
Dependabot config fix and pyo3 0.29 upgrade
.github/dependabot.yml, crates/bindings_pyo3/Cargo.toml
Dependabot entry corrected to cargo ecosystem with weekly schedule. pyo3 bumped to 0.29.0 and pyo3-async-runtimes to 0.29.0, preserving abi3-py39 and tokio-runtime feature flags.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hopped by with a version to share,
pyo3 jumped up from .28 with flair!
The Dependabot config was fixed with a hop—
cargo and weekly, no typos to stop.
🐇 All tidy and neat, a well-groomed affair!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/pyo3-security-update-dependabot-config

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@theshadow76 theshadow76 merged commit d4edb1d into master Jun 21, 2026
6 of 7 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request configures Dependabot to monitor Cargo dependencies on a weekly schedule and updates the pyo3 and pyo3-async-runtimes dependency versions in Cargo.toml. I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Rust/Python binding dependencies to address a PyO3 security advisory and repairs the Dependabot config so it can generate Cargo workspace updates reliably.

Changes:

  • Bump pyo3 to 0.29.0 and align pyo3-async-runtimes to 0.29.0 in crates/bindings_pyo3.
  • Fix Dependabot config by setting package-ecosystem: "cargo" and correcting the schedule interval typo.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
crates/bindings_pyo3/Cargo.toml Updates PyO3-related dependency versions to the patched release.
.github/dependabot.yml Fixes invalid ecosystem configuration and schedule interval for Dependabot Cargo updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/dependabot.yml
Comment on lines +8 to +9
- package-ecosystem: "cargo"
directory: "/"
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