-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
build(python): Update pyo3
and numpy
crates to version 0.23
#20111
Conversation
97f1ea3
to
9bc2104
Compare
28d9b58
to
7843535
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20111 +/- ##
==========================================
+ Coverage 79.59% 79.61% +0.02%
==========================================
Files 1565 1565
Lines 218462 218316 -146
Branches 2475 2475
==========================================
- Hits 173885 173816 -69
+ Misses 44010 43933 -77
Partials 567 567 ☔ View full report in Codecov by Sentry. |
pyo3
and numpy
crates to version 0.23
pyo3
and numpy
crates to version 0.23
pyo3
and numpy
crates to version 0.23
4144c9f
to
c4b62c3
Compare
@bschoenmaeckers Thanks for picking this up! Looks like the new PyO3 version causes deadlock somewhere - can you reproduce this locally? There's probably a clue in the migration guide somewhere on what could be causing this. |
Haven't had time to dig deeper today, but I could quite consistently reproduce this error locally with the following command.
|
Deadlock happens in the polars/crates/polars-python/src/on_startup.rs Lines 58 to 66 in bcfa7ec
|
b7c6361
to
db2410f
Compare
db2410f
to
1feac34
Compare
Ah (spent too many hours on this0, I also came to the conclusion that it is related to the warning. What I observe is that the GIL doesn't matter, but if I call |
6002d1c
to
06de2f7
Compare
Looks like it does! |
Great! :) |
a55ac30
to
786ee5d
Compare
786ee5d
to
7392d6f
Compare
I fixed all the deprecation warnings. So this is ready for review. |
object_store = { version = "0.11", default-features = false } | ||
once_cell = "1" | ||
parking_lot = "0.12" | ||
percent-encoding = "2.3" | ||
pin-project-lite = "0.2" | ||
pyo3 = "0.22" | ||
pyo3 = { git = "https://github.com/bschoenmaeckers/pyo3.git", branch = "release-0.23" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add back the temporary fix for PyO3/pyo3#4764 until PyO3/pyo3#4766 is released. If that is desirable.
Thanks a lot @bschoenmaeckers. Can you rebase? There are some conflicts. |
Done, |
Thanks a lot for pushing this effort @bschoenmaeckers. Greatly appreciated. P.S. I see you live in the Netherlands. Might you be interested, we're hiring ;) |
Updated to latest pyo3 while ignoring most deprecations for now.