Skip to content

Stubs: also generate them for mixed PyO3 projects#3211

Merged
messense merged 1 commit into
PyO3:mainfrom
Tpt:tpt/mixed-stubs
Jun 3, 2026
Merged

Stubs: also generate them for mixed PyO3 projects#3211
messense merged 1 commit into
PyO3:mainfrom
Tpt:tpt/mixed-stubs

Conversation

@Tpt

@Tpt Tpt commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Generates a my_rust_module.pyi file in the output package if the Rust module has no submodules or a my_rust_module directory if it has submodules

Close #3207

Generates a `my_rust_module.pyi` file in the output package if the Rust module has no submodules or a `my_rust_module` directory if it has submodules

Issue PyO3#3207

Copilot AI 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Tpt

Tpt commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

The CI error is caused by a network error

@messense messense enabled auto-merge (squash) June 3, 2026 13:26
@messense messense merged commit ea07638 into PyO3:main Jun 3, 2026
83 of 85 checks passed
@Tpt Tpt deleted the tpt/mixed-stubs branch June 5, 2026 14:46
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.

maturin build --generate-stubs does not work in mixed rust/python project

3 participants