Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove all functionality deprecated in PyO3 0.18 #3232

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

davidhewitt
Copy link
Member

This turned out to be a very satisfying purge of complexity, mostly due to removing the backwards-compatibility for #[pyfunction(a, b)] and #[args(a, b)] which have been replaced by #[pyo3(signature = (a, b))].

Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

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

Nice!

@alex
Copy link
Contributor

alex commented Jun 13, 2023

Looks like this also removes the usage of NestedMeta, which is reworked in syn 2.0, so it'll make that migration easier!

Copy link
Member

@adamreichold adamreichold left a comment

Choose a reason for hiding this comment

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

Just a suggestion to make the change log more explicit. LGTM otherwise.

@davidhewitt
Copy link
Member Author

I think what I'll do is split this out into separate PRs with separate changelog items, and merge them in turn given the approvals here.

@davidhewitt
Copy link
Member Author

Actually I've changed my mind; I'll just update the CHANGELOG entry and also add a small migration guide entry.

@davidhewitt davidhewitt added this pull request to the merge queue Jun 13, 2023
Merged via the queue into PyO3:main with commit 0b4187a Jun 13, 2023
31 of 32 checks passed
@davidhewitt davidhewitt deleted the remove-0-18-deprecations branch June 14, 2023 07:53
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.

None yet

4 participants