Skip to content

deps: upgrade PyO3 to 0.21 #275

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 16 commits into from
May 7, 2024
Merged

Conversation

cjrh
Copy link
Collaborator

@cjrh cjrh commented May 5, 2024

This change upgrades PyO3 to 0.21, which introduces a new API for python object references. The following references have more information:

I don't have a super detailed understanding of the upstream changes in PyO3 0.21, but I played whack-a-mole with the compiler and the tests appear to pass. I've pointed out specific areas in the PR where I am unsure.

@cjrh cjrh requested review from wallies and Sidhant29 May 5, 2024 14:10
@cjrh cjrh requested a review from adamreichold May 7, 2024 14:04
@cjrh
Copy link
Collaborator Author

cjrh commented May 7, 2024

Huge thanks @adamreichold for your suggestions. I think this is much better now. I would appreciate another spot check to see if everything looks right?

Copy link
Collaborator

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

One question w.r.t. depythonizing non-dicts, otherwise LGTM.

@cjrh cjrh merged commit cc7e785 into quickwit-oss:master May 7, 2024
@cjrh cjrh deleted the feat-upgrade-pyo3-21 branch May 10, 2024 07:22
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