From 6ed98a87fbb45e070dd7a20343e8c45cb5c89ff7 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 11 Nov 2025 14:43:32 -0800 Subject: [PATCH 1/3] add release config --- bindings/python/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index b8c1efe694..c4e66a6152 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -37,3 +37,9 @@ pyo3 = { version = "0.25", features = ["extension-module", "abi3-py39"] } iceberg-datafusion = { path = "../../crates/integrations/datafusion" } datafusion-ffi = { version = "50" } tokio = { version = "1.46.1", default-features = false } + +[profile.release] +codegen-units = 1 +debug = false +lto = "fat" +strip = true \ No newline at end of file From 058d93d561f58d480ba8423f3aa97f9874146f60 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 11 Nov 2025 14:43:48 -0800 Subject: [PATCH 2/3] newlint --- bindings/python/Cargo.lock | 1 + bindings/python/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/Cargo.lock b/bindings/python/Cargo.lock index 8249414b8d..814c9afb35 100644 --- a/bindings/python/Cargo.lock +++ b/bindings/python/Cargo.lock @@ -2313,6 +2313,7 @@ dependencies = [ "chrono", "derive_builder", "expect-test", + "flate2", "fnv", "futures", "itertools 0.13.0", diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index c4e66a6152..9d4e94ab5c 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -42,4 +42,4 @@ tokio = { version = "1.46.1", default-features = false } codegen-units = 1 debug = false lto = "fat" -strip = true \ No newline at end of file +strip = true From 9bb9f0a8cea8790b3e44447708db32b257df5c3f Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 11 Nov 2025 14:45:44 -0800 Subject: [PATCH 3/3] reset Cargo.lock --- bindings/python/Cargo.lock | 1 - 1 file changed, 1 deletion(-) diff --git a/bindings/python/Cargo.lock b/bindings/python/Cargo.lock index 814c9afb35..8249414b8d 100644 --- a/bindings/python/Cargo.lock +++ b/bindings/python/Cargo.lock @@ -2313,7 +2313,6 @@ dependencies = [ "chrono", "derive_builder", "expect-test", - "flate2", "fnv", "futures", "itertools 0.13.0",