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

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a4718f207 GH-49263: [Python][CI] Install rust compiler for libcst 
only on Debian 32 bits (#49265)
4a4718f207 is described below

commit 4a4718f207660a8a5797ca52dec6c47c593b1670
Author: Raúl Cumplido <[email protected]>
AuthorDate: Tue Feb 17 18:31:20 2026 +0100

    GH-49263: [Python][CI] Install rust compiler for libcst only on Debian 32 
bits (#49265)
    
    ### Rationale for this change
    
    In order to automate docstrings and build type hints we require libcst. 
libcst does not provide wheels for Debian 32 and we have to build from source 
distribution. In order to build from sdist we require a rust compiler available.
    
    ### What changes are included in this PR?
    
    Install rust on Debian i386.
    
    ### Are these changes tested?
    
    Yes via archery
    
    ### Are there any user-facing changes?
    No
    
    * GitHub Issue: #49263
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 ci/docker/debian-13-cpp.dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ci/docker/debian-13-cpp.dockerfile 
b/ci/docker/debian-13-cpp.dockerfile
index fe947db025..4f0529ab50 100644
--- a/ci/docker/debian-13-cpp.dockerfile
+++ b/ci/docker/debian-13-cpp.dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update -y -q && \
     apt-get update -y -q && \
     apt-get install -y -q --no-install-recommends \
         autoconf \
+        cargo \
         ccache \
         clang-${llvm} \
         cmake \
@@ -86,6 +87,7 @@ RUN apt-get update -y -q && \
         python3-venv \
         rapidjson-dev \
         rsync \
+        rustc \
         tzdata \
         tzdata-legacy \
         zlib1g-dev && \

Reply via email to