From 7d26a5daeac6f85047c0cdef4336d59c6a8a78cd Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Thu, 19 Sep 2024 13:53:27 +0000 Subject: [PATCH] fix: upgrade python ABI to 3.9 from 3.8 The release of pyo3 0.22.3 compells this since we cannot otherwise compile. The choice is between pinning 0.22.2 and upgrading our ABI, and I think it's better to upgrade the ABI Signed-off-by: R. Tyler Croy Signed-off-by: Rush --- python/Cargo.toml | 2 +- python/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python/Cargo.toml b/python/Cargo.toml index 6fc4f46ae8..8f18b8fb2e 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -44,7 +44,7 @@ deltalake-mount = { path = "../crates/mount" } [dependencies.pyo3] version = "0.22.2" -features = ["extension-module", "abi3", "abi3-py38"] +features = ["extension-module", "abi3", "abi3-py39"] [dependencies.deltalake] path = "../crates/deltalake" diff --git a/python/src/lib.rs b/python/src/lib.rs index 005076c719..361f094f38 100644 --- a/python/src/lib.rs +++ b/python/src/lib.rs @@ -1439,6 +1439,7 @@ fn scalar_to_py<'py>(value: &Scalar, py_date: &Bound<'py, PyAny>) -> PyResult todo!("how should this be converted!"), }; Ok(val.into_bound(py))