Skip to content

remove all functionality deprecated in PyO3 0.23 (except IntoPy and ToPyObject) #4982

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

Merged
merged 3 commits into from
Mar 28, 2025

Conversation

davidhewitt
Copy link
Member

As per title, removes a ton of stuff deprecated in PyO3 0.23.

I kept the traits for follow-up PRs because they have some more complex logic which falls back to them inside the macros, and I think it'll be easier to study those as part of a smaller diff.

Probably worth merging #4981 first as this PR necessarily contains the same change.

Copy link
Contributor

@LilyAcorn LilyAcorn left a comment

Choose a reason for hiding this comment

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

I think this is necessary to fix the benchmarks.

@davidhewitt davidhewitt force-pushed the remove-0.23-deprecations branch from ce9db08 to 351622b Compare March 28, 2025 21:09
@davidhewitt davidhewitt marked this pull request as ready for review March 28, 2025 21:09
@davidhewitt
Copy link
Member Author

Now that we have #5021 ready, I've bumped the version here to 0.25.0-dev to make semver-checks happy, and will merge 😄

@davidhewitt davidhewitt enabled auto-merge March 28, 2025 21:09
@davidhewitt davidhewitt added this pull request to the merge queue Mar 28, 2025
Merged via the queue into PyO3:main with commit bd1e7d2 Mar 28, 2025
48 checks passed
@davidhewitt davidhewitt deleted the remove-0.23-deprecations branch March 28, 2025 22:58
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