This release contains some fixes to compile-time edge cases for the PyO3 0.21 series:
A missing deprecation warning for the GIL Ref constructor PySet::empty has now been added.
#[pymodule] functions will no longer trigger missing_docs lints on their generated code.
Incorrect implementations of __traverse__ in #[pymethods] will now emit a better error.
Extension modules on AIX will now link to libpython.
This release also fixes some compile errors for the experimental-async and experimental-declarative-modules features, and corrects some documentation typos.
Thank you to the following users for the improvements:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo group with 1 update: pyo3.
Updates
pyo3
from 0.21.1 to 0.21.2Release notes
Sourced from pyo3's releases.
Changelog
Sourced from pyo3's changelog.
Commits
a646a82
release: 0.21.2bd15f92
Deprecate thePySet::empty
gil-ref constructor (#4082)4f7c706
Suppress non_local_definitions lint as we often want the non-local effects in...3f6faf0
Extend guide on interaction between method receivers and lifetime elision. (#...4e13c0e
Link libpython for AIX target (#4073)e501377
fix declarative-modules compile error (#4054)fd18955
add#[doc(hidden)]
to the Rust module created by#[pymodule]
(#4067)e174a04
Minor: Fix a typo in Contributing.md (#4066)a8abe50
build(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#4062)68d1973
Fix typo (#4052)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show