Skip to content

Commit

Permalink
Update to pyo3 git master
Browse files Browse the repository at this point in the history
  • Loading branch information
bschoenmaeckers committed Dec 6, 2024
1 parent 8908700 commit 06de2f7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
25 changes: 10 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ once_cell = "1"
parking_lot = "0.12"
percent-encoding = "2.3"
pin-project-lite = "0.2"
pyo3 = "0.23"
pyo3 = { git = "https://github.com/bschoenmaeckers/pyo3.git", branch = "release-0.23" }
rand = "0.8"
rand_distr = "0.4"
raw-cpuid = "11"
Expand Down Expand Up @@ -136,6 +136,8 @@ features = [
[patch.crates-io]
# packed_simd_2 = { git = "https://github.com/rust-lang/packed_simd", rev = "e57c7ba11386147e6d2cbad7c88f376aab4bdc86" }
# simd-json = { git = "https://github.com/ritchie46/simd-json", branch = "alignment" }
pyo3 = { git = "https://github.com/bschoenmaeckers/pyo3.git", branch = "release-0.23" }
pyo3-ffi = { git = "https://github.com/bschoenmaeckers/pyo3.git", branch = "release-0.23"}

[profile.mindebug-dev]
inherits = "dev"
Expand Down
3 changes: 0 additions & 3 deletions crates/polars-python/src/on_startup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ fn warning_function(msg: &str, warning: PolarsWarning) {
.unwrap();

if let Err(e) = warn_fn.call1((msg, Wrap(warning).into_pyobject(py).unwrap())) {
// Force load lazy state of the exception so we don't deadlock in Display impl of PyErr
e.value(py);

eprintln!("{e}")
}
});
Expand Down

0 comments on commit 06de2f7

Please sign in to comment.