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

update pyo3 to v0.23 #284

Merged
merged 3 commits into from
Dec 4, 2024
Merged

update pyo3 to v0.23 #284

merged 3 commits into from
Dec 4, 2024

Conversation

mh-northlander
Copy link
Collaborator

@mh-northlander mh-northlander commented Dec 3, 2024

resolve #280.

migration guide: https://pyo3.rs/v0.23.0/migration.html

rewrite deprecated pyo3 methods:

  • remove "_bound" suffix
  • provide rust tuples directly to methods that can take IntoPyObject<PyTuple> obj (e.g. call1).
  • use c_str macro for the warning messages
  • use into_pyobject instead of into_py

todo:

@mh-northlander mh-northlander merged commit fc3ffa4 into develop Dec 4, 2024
8 checks passed
@mh-northlander mh-northlander deleted the feature/280-pyo3-23 branch December 4, 2024 03:35
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.

[feature request] Update PyO3 to 0.23
2 participants