diff --git a/Cargo.toml b/Cargo.toml index 724f6b3..7e99523 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ members = [ ] [workspace.dependencies] -polars = { version = "0.37.0", default-features = false } -polars-core = { version = "0.37.0", default-features = false } -polars-ffi = { version = "0.37.0", default-features = false } -polars-plan = { version = "0.37.0", default-feautres = false } -polars-lazy = { version = "0.37.0", default-features = false } +polars = { version = "0.38.0", default-features = false } +polars-core = { version = "0.38.0", default-features = false } +polars-ffi = { version = "0.38.0", default-features = false } +polars-plan = { version = "0.38.0", default-feautres = false } +polars-lazy = { version = "0.38.0", default-features = false } diff --git a/pyo3-polars-derive/Cargo.toml b/pyo3-polars-derive/Cargo.toml index f4686d1..e9dc992 100644 --- a/pyo3-polars-derive/Cargo.toml +++ b/pyo3-polars-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyo3-polars-derive" -version = "0.5.0" +version = "0.6.0" edition = "2021" license = "MIT" readme = "README.md" diff --git a/pyo3-polars/Cargo.toml b/pyo3-polars/Cargo.toml index 0160700..6071faa 100644 --- a/pyo3-polars/Cargo.toml +++ b/pyo3-polars/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyo3-polars" -version = "0.11.3" +version = "0.12.0" edition = "2021" license = "MIT" readme = "../README.md" @@ -17,7 +17,7 @@ polars-ffi = { workspace = true, optional = true } polars-lazy = { workspace = true, optional = true } polars-plan = { workspace = true, optional = true } pyo3 = "0.20.0" -pyo3-polars-derive = { version = "0.5.0", path = "../pyo3-polars-derive", optional = true } +pyo3-polars-derive = { version = "0.6.0", path = "../pyo3-polars-derive", optional = true } serde = { version = "1", optional = true } serde-pickle = { version = "1", optional = true } thiserror = "1" diff --git a/pyo3-polars/src/lib.rs b/pyo3-polars/src/lib.rs index 17f49c3..3e4479b 100644 --- a/pyo3-polars/src/lib.rs +++ b/pyo3-polars/src/lib.rs @@ -143,7 +143,7 @@ impl<'a> FromPyObject<'a> for PyDataFrame { let s = pyseries.extract::()?.0; columns.push(s); } - Ok(PyDataFrame(DataFrame::new_no_checks(columns))) + unsafe { Ok(PyDataFrame(DataFrame::new_no_checks(columns))) } } }