From 8db59c2aff5c191f13bb81171f68abe2408dd826 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 --- python/Cargo.toml | 2 +- python/src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/python/Cargo.toml b/python/Cargo.toml index ad84112875..971047407b 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 77db334283..107cce012f 100644 --- a/python/src/lib.rs +++ b/python/src/lib.rs @@ -1417,7 +1417,8 @@ fn scalar_to_py<'py>(value: &Scalar, py_date: &Bound<'py, PyAny>) -> PyResult todo!("how should this be converted!"), }; Ok(val.into_bound(py))