bump main pyo3 and gate stub generation#111
Merged
Merged
Conversation
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
gandhipratik203
approved these changes
Jun 16, 2026
gandhipratik203
left a comment
Collaborator
There was a problem hiding this comment.
This solves the current issue. The runtime path is on PyO3 0.29, stub generation is isolated from normal build/release flows, and CI is green. Good to go from my side.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚦 Summary
0.29released crates.pyo3-stub-genon the released crate and gates it behind the non-defaultstub-genfeature.cargo denyadvisory exception for the PyO3 0.28 RustSec advisories, expiring 2026-06-29.🎯 Why
pyo3-stub-gen 0.22.3does not currently compile againstpyo3 0.29.This PR keeps the production/runtime plugin graph on PyO3 0.29 while isolating stub generation as explicit tooling. The temporary advisory exception is time-boxed so we do not silently carry the vulnerable PyO3 0.28 path.
🧭 Behavior
pyo3-stub-gen.pyo3-stub-gen..pyifiles exist.--features stub-gen/--all-featurespyo3-stub-gencompatibility.🧪 Validation
cargo fmt --allcargo check --workspace --all-targetscargo deny check --config deny.tomlmake plugins-validatepython3 -m unittest tests/test_plugin_catalog.pycargo test --workspacecargo check --workspace --all-targets --all-featuresstill fails insidepyo3-stub-gen 0.22.3against PyO3 0.29. That is the compatibility blocker this PR quarantines until upstream ships a compatible release.