Skip to content

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

Merged
davidhewitt merged 3 commits intoPyO3:mainfrom
davidhewitt:remove-0.23-deprecations
Mar 28, 2025
Merged

remove all functionality deprecated in PyO3 0.23 (except IntoPy and ToPyObject)#4982
davidhewitt merged 3 commits intoPyO3:mainfrom
davidhewitt:remove-0.23-deprecations

Conversation

@davidhewitt
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@LilyFirefly LilyFirefly 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.

Comment thread pyo3-benches/benches/bench_list.rs Outdated
Comment thread pyo3-benches/benches/bench_list.rs Outdated
@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
Copy Markdown
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