-
Notifications
You must be signed in to change notification settings - Fork 417
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
Upgrade to pyo3 0.21.0 #2363
Comments
take |
this turned out to be way more complicated than I anticipated, as it depends on datafusion updating its pyo3 to 0.21 (tracking apache/datafusion#9808) and arrow updating (apache/arrow-rs#5566). I patched all the dependencies and successfully compiled, but a bunch of tests related to datafusion are now failing. |
@abhiaagarwal let me guess, are you seeing tests failing with? "Wrong number of children" |
@ion-elgreco exactly right :) how did you know? |
@abhiaagarwal magic 🪄 haha No I also tried bumping it, and @universalmind303 but we all got that error. I opened an issue in Datafusion repo this morning, to see if they know what the issue might be |
@ion-elgreco yeah, I have 32 tests failing.
|
@abhiaagarwal @ion-elgreco those are valid errors. Datafusion added some new optimization rules that break a lot of older plans. I am actively working on getting all of the code upgraded to be compatible with this rule. #2249. Should have this reviewable within the next few days. |
@universalmind303 I opened an issue in Datafusion since I was curious if they knew the issue, but I haven't gotten time to look at it yet. But it might be useful to see: apache/datafusion#9895 |
@abhiaagarwal you should be able to bump arrow now, just merged @universalmind303's chore PR |
@ion-elgreco arrow is not updated yet, and the branch with the 0.21 pyo3 update is also broken. I'm gonna hold off until things stabilize |
Description
pyo3 recently released 0.21.0, which came with some big breaking changes (see: migration guide). This requires rewriting a good chunk of functions, but brings increased performance + memory safety. Also comes with an experimental
async
feature, to expose rust async functions to python async (with no interop required).Related Issue(s)
The text was updated successfully, but these errors were encountered: