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 f0d3f17a6c GH-50200: [Packaging][Debian] Drop support for bookworm 
(#50201)
f0d3f17a6c is described below

commit f0d3f17a6c636f20d986d05c88126c66f7e79268
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Jun 18 16:30:02 2026 +0900

    GH-50200: [Packaging][Debian] Drop support for bookworm (#50201)
    
    ### Rationale for this change
    
    It reached EOL on 2026-06-10.
    
    ### What changes are included in this PR?
    
    Remove Debian GNU/Linux bookwrom related code.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    Yes.
    * GitHub Issue: #50200
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 .github/workflows/package_linux.yml                |  2 -
 dev/release/binary-task.rb                         |  3 -
 dev/release/binary/Dockerfile                      |  9 ++-
 dev/release/verify-release-candidate.sh            |  6 +-
 .../apache-arrow/apt/debian-bookworm-arm64/from    | 18 -----
 .../apache-arrow/apt/debian-bookworm/Dockerfile    | 90 ----------------------
 .../linux-packages/apache-arrow/debian/control.in  |  2 +-
 dev/tasks/linux-packages/apache-arrow/debian/rules |  3 +-
 dev/tasks/linux-packages/package-task.rb           |  2 -
 9 files changed, 9 insertions(+), 126 deletions(-)

diff --git a/.github/workflows/package_linux.yml 
b/.github/workflows/package_linux.yml
index 27a5a02ea1..26e051c2b5 100644
--- a/.github/workflows/package_linux.yml
+++ b/.github/workflows/package_linux.yml
@@ -102,8 +102,6 @@ jobs:
           - amazon-linux-2023-arm64
           - centos-9-stream-amd64
           - centos-9-stream-arm64
-          - debian-bookworm-amd64
-          - debian-bookworm-arm64
           - debian-trixie-amd64
           - debian-trixie-arm64
           - debian-forky-amd64
diff --git a/dev/release/binary-task.rb b/dev/release/binary-task.rb
index 11feb4fa43..254ca547fa 100644
--- a/dev/release/binary-task.rb
+++ b/dev/release/binary-task.rb
@@ -1428,7 +1428,6 @@ class BinaryTask
 
   def available_apt_targets
     [
-      ["debian", "bookworm", "main"],
       ["debian", "trixie", "main"],
       ["debian", "forky", "main"],
       ["ubuntu", "jammy", "main"],
@@ -2324,8 +2323,6 @@ class LocalBinaryTask < BinaryTask
     # Disable arm64 targets by default for now
     # because they require some setups on host.
     [
-      "debian-bookworm",
-      # "debian-bookworm-arm64",
       "debian-trixie",
       # "debian-trixie-arm64",
       "debian-forky",
diff --git a/dev/release/binary/Dockerfile b/dev/release/binary/Dockerfile
index bef042fb42..be72ecf5b6 100644
--- a/dev/release/binary/Dockerfile
+++ b/dev/release/binary/Dockerfile
@@ -15,9 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM debian:bookworm
+FROM debian:trixie
 
-ENV DEBIAN_FRONTEND noninteractive
+ENV DEBIAN_FRONTEND=noninteractive
 
 ARG DEBUG
 
@@ -45,8 +45,9 @@ RUN locale-gen en_US.UTF-8
 RUN mkdir -p /run/sshd
 RUN echo "StreamLocalBindUnlink yes" >> /etc/ssh/sshd_config
 
-ENV ARROW_USER arrow
-ENV ARROW_UID 10000
+ENV \
+  ARROW_USER=arrow \
+  ARROW_UID=10000
 
 RUN \
   groupadd --gid ${ARROW_UID} ${ARROW_USER} && \
diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
index 9e7deb2372..f4d2800eaf 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -214,8 +214,7 @@ test_apt() {
 
   case "$(arch)" in
     "x86_64")
-      for target in "debian:bookworm" \
-                    "debian:trixie" \
+      for target in "debian:trixie" \
                     "debian:forky" \
                     "ubuntu:jammy" \
                     "ubuntu:noble" \
@@ -235,8 +234,7 @@ test_apt() {
       done
       ;;
     "aarch64")
-      for target in "arm64v8/debian:bookworm" \
-                    "arm64v8/debian:trixie" \
+      for target in "arm64v8/debian:trixie" \
                     "arm64v8/debian:forky" \
                     "arm64v8/ubuntu:jammy" \
                     "arm64v8/ubuntu:noble" \
diff --git 
a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm-arm64/from 
b/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm-arm64/from
deleted file mode 100644
index 022eaf2907..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm-arm64/from
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-arm64v8/debian:bookworm
diff --git 
a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile 
b/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile
deleted file mode 100644
index e3f18e6f2a..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile
+++ /dev/null
@@ -1,90 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-ARG FROM=debian:bookworm
-FROM ${FROM}
-
-RUN \
-  echo "debconf debconf/frontend select Noninteractive" | \
-    debconf-set-selections
-
-RUN \
-  echo 'APT::Install-Recommends "false";' > \
-    /etc/apt/apt.conf.d/disable-install-recommends
-
-RUN \
-  sed \
-    -i'' \
-    -e 's/main$/main contrib non-free/g' \
-    /etc/apt/sources.list.d/debian.sources
-
-ARG DEBUG
-RUN \
-  quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
-  apt update ${quiet} && \
-  apt install -y -V ${quiet} \
-    build-essential \
-    ccache \
-    clang \
-    cmake \
-    debhelper \
-    devscripts \
-    gi-docgen \
-    git \
-    libboost-filesystem-dev \
-    libbrotli-dev \
-    libbz2-dev \
-    libc-ares-dev \
-    libcurl4-openssl-dev \
-    libfaketime \
-    libgirepository1.0-dev \
-    libglib2.0-doc \
-    libgmock-dev \
-    libgoogle-glog-dev \
-    libgrpc++-dev \
-    libgtest-dev \
-    liblz4-dev \
-    libmimalloc-dev \
-    libprotobuf-dev \
-    libprotoc-dev \
-    libre2-dev \
-    libsnappy-dev \
-    libssl-dev \
-    libthrift-dev \
-    libutf8proc-dev \
-    libxxhash-dev \
-    libzstd-dev \
-    llvm-dev \
-    lsb-release \
-    meson \
-    mold \
-    ninja-build \
-    nlohmann-json3-dev \
-    pkg-config \
-    protobuf-compiler-grpc \
-    python3-dev \
-    python3-pip \
-    rapidjson-dev \
-    tzdata \
-    valac \
-    zlib1g-dev && \
-  # Ensure updating symlinks in /usr/lib/ccache/
-  update-ccache-symlinks && \
-  if apt list | grep '^nvidia-cuda-toolkit/'; then \
-    apt install -y -V ${quiet} nvidia-cuda-toolkit; \
-  fi && \
-  apt clean
diff --git a/dev/tasks/linux-packages/apache-arrow/debian/control.in 
b/dev/tasks/linux-packages/apache-arrow/debian/control.in
index 21477c1899..0a82fb04eb 100644
--- a/dev/tasks/linux-packages/apache-arrow/debian/control.in
+++ b/dev/tasks/linux-packages/apache-arrow/debian/control.in
@@ -1,7 +1,7 @@
 Source: apache-arrow
 Section: devel
 Priority: optional
-Maintainer: Apache Arrow Developers <[email protected]>
+Maintainer: The Apache Software Foundation <[email protected]>
 Build-Depends:
   cmake,
   debhelper (>= 12),
diff --git a/dev/tasks/linux-packages/apache-arrow/debian/rules 
b/dev/tasks/linux-packages/apache-arrow/debian/rules
index 6fad56e765..9b8a7f0ec5 100755
--- a/dev/tasks/linux-packages/apache-arrow/debian/rules
+++ b/dev/tasks/linux-packages/apache-arrow/debian/rules
@@ -30,8 +30,7 @@ override_dh_auto_configure:
        else                                                    \
          ARROW_CUDA=OFF;                                       \
        fi;                                                     \
-       if [ "$(VERSION_CODENAME)" = "bookworm" ] ||            \
-          [ "$(VERSION_CODENAME)" = "noble" ]; then            \
+       if [ "$(VERSION_CODENAME)" = "noble" ]; then            \
          : "System Abseil is too old for GCS v3";              \
          absl_SOURCE=BUNDLED;                                  \
        else                                                    \
diff --git a/dev/tasks/linux-packages/package-task.rb 
b/dev/tasks/linux-packages/package-task.rb
index 87d7cd49ed..0edfbf5106 100644
--- a/dev/tasks/linux-packages/package-task.rb
+++ b/dev/tasks/linux-packages/package-task.rb
@@ -283,8 +283,6 @@ class PackageTask
     # Disable arm64 targets by default for now
     # because they require some setups on host.
     [
-      "debian-bookworm",
-      # "debian-bookworm-arm64",
       "debian-trixie",
       # "debian-trixie-arm64",
       "debian-forky",

Reply via email to