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

Upgrading PyO3 to 0.23 #543

Merged
merged 10 commits into from
Jan 2, 2025
Merged

Upgrading PyO3 to 0.23 #543

merged 10 commits into from
Jan 2, 2025

Conversation

IvanIsCoding
Copy link
Contributor

What does this PR do?

Conceptually the same as #504 but for a newer PyO3 version

I followed https://pyo3.rs/main/migration#from-022-to-023 and implemented IntoPyObject. The rest of the changes are mechanical conversions to make the code compile without warnings.

@IvanIsCoding
Copy link
Contributor Author

@Narsil can you take a look at this? I can’t assign you as a reviewer

@Vaibhavs10 Vaibhavs10 requested a review from Narsil December 16, 2024 15:34
Copy link
Collaborator

@Narsil Narsil left a comment

Choose a reason for hiding this comment

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

LGTM.

Thank you for this.

@Narsil Narsil merged commit 6e9c9b3 into huggingface:main Jan 2, 2025
25 of 26 checks passed
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