This is an automated email from the ASF dual-hosted git repository.

xushiyan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new b65312d  build(deps): fix integration test setup issue with pyarrow 
and rust versions (#467)
b65312d is described below

commit b65312d2f1790c999118181eb4f21a7b13de3bcf
Author: Shiyan Xu <[email protected]>
AuthorDate: Sat Oct 18 00:49:41 2025 -0500

    build(deps): fix integration test setup issue with pyarrow and rust 
versions (#467)
---
 Makefile                     | 2 +-
 crates/core/Cargo.toml       | 3 +++
 demo/infra/runner/Dockerfile | 9 +++++++--
 python/pyproject.toml        | 4 ++--
 rust-toolchain.toml          | 2 +-
 5 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 6c8c22e..e73bc06 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ build: setup ## Build Python binding of hudi-rs
 .PHONY: develop
 develop: setup ## Install Python binding of hudi-rs
        $(info --- Develop with Python binding ---)
-       maturin develop --extras=devel,pandas,datafusion --features datafusion 
$(MATURIN_EXTRA_ARGS) -m $(PYTHON_DIR)/Cargo.toml
+       maturin develop --extras=devel,datafusion --features datafusion 
$(MATURIN_EXTRA_ARGS) -m $(PYTHON_DIR)/Cargo.toml
 
 .PHONY: format
 format: format-rust format-python ## Format Rust and Python code
diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml
index 9dcc869..7cd88af 100644
--- a/crates/core/Cargo.toml
+++ b/crates/core/Cargo.toml
@@ -79,6 +79,9 @@ percent-encoding = { workspace = true }
 [dev-dependencies]
 hudi-test = { path = "../test" }
 
+[lints.clippy]
+result_large_err = "allow"
+
 [features]
 datafusion = [
     "dep:datafusion",
diff --git a/demo/infra/runner/Dockerfile b/demo/infra/runner/Dockerfile
index 0ff674b..c649fee 100644
--- a/demo/infra/runner/Dockerfile
+++ b/demo/infra/runner/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM rust:1.85
+FROM rust:1.87
 
 RUN apt-get update && apt-get install -y cmake curl ca-certificates
 
@@ -25,12 +25,17 @@ RUN sh /uv-installer.sh && rm /uv-installer.sh
 
 ENV PATH="/root/.local/bin/:$PATH"
 
-RUN uv python install
+RUN uv python install 3.13
 
 RUN uv python list
 
 RUN uv venv /opt/.venv
 
+ENV VIRTUAL_ENV=/opt/.venv
+ENV PATH="/opt/.venv/bin:$PATH"
+
+RUN uv pip install --only-binary=all 'pyarrow==20.0.0'
+
 WORKDIR /opt
 
 CMD tail -f /dev/null
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 31dc9cc..f453cec 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -25,9 +25,9 @@ description = "Native Python binding for Apache Hudi, based 
on hudi-rs."
 urls = { repository = "https://github.com/apache/hudi-rs/tree/main/python/"; }
 requires-python = ">=3.9"
 keywords = ["apachehudi", "hudi", "datalake", "arrow"]
-license = "Apache License 2.0"
+license = "Apache-2.0"
 classifiers = [
-    "License :: OSI Approved :: Apache Software License",
+    "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index f5dd064..abc10b4 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -16,6 +16,6 @@
 # under the License.
 
 [toolchain]
-channel = "1.85"
+channel = "1.87"
 components = ["rustfmt", "clippy"]
 profile = "minimal"

Reply via email to