From 29f0ec22d453f685b86f480a72c088fc2fdffc47 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 29 Nov 2023 17:08:24 +0900 Subject: [PATCH] GH-38909: [Packaging] Drop support for Ubuntu 23.04 (#38910) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Rationale for this change It will reach EOL on 2024-01 and our next major release will not be happen in this year. ### What changes are included in this PR? Remove Ubuntu 23.04 related codes and files. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: #38909 Authored-by: Sutou Kouhei Signed-off-by: Raúl Cumplido --- dev/release/binary-task.rb | 1 - dev/release/verify-release-candidate.sh | 2 - .../apt/ubuntu-lunar/Dockerfile | 41 --------- .../apache-arrow/apt/ubuntu-lunar-arm64/from | 18 ---- .../apache-arrow/apt/ubuntu-lunar/Dockerfile | 85 ------------------- dev/tasks/linux-packages/package-task.rb | 2 - dev/tasks/tasks.yml | 1 - 7 files changed, 150 deletions(-) delete mode 100644 dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-lunar/Dockerfile delete mode 100644 dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar-arm64/from delete mode 100644 dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar/Dockerfile diff --git a/dev/release/binary-task.rb b/dev/release/binary-task.rb index 519c8339a4dba..df6c0778dc805 100644 --- a/dev/release/binary-task.rb +++ b/dev/release/binary-task.rb @@ -1088,7 +1088,6 @@ def available_apt_targets ["debian", "trixie", "main"], ["ubuntu", "focal", "main"], ["ubuntu", "jammy", "main"], - ["ubuntu", "lunar", "main"], ["ubuntu", "mantic", "main"], ] end diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 05a7498a85180..7e927573398a3 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -195,8 +195,6 @@ test_apt() { "arm64v8/ubuntu:focal" \ "ubuntu:jammy" \ "arm64v8/ubuntu:jammy" \ - "ubuntu:lunar" \ - "arm64v8/ubuntu:lunar" \ "ubuntu:mantic" \ "arm64v8/ubuntu:mantic"; do \ case "${target}" in diff --git a/dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-lunar/Dockerfile b/dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-lunar/Dockerfile deleted file mode 100644 index ec65b8d5bd257..0000000000000 --- a/dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-lunar/Dockerfile +++ /dev/null @@ -1,41 +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. - -FROM ubuntu:lunar - -RUN \ - echo "debconf debconf/frontend select Noninteractive" | \ - debconf-set-selections - -RUN \ - echo 'APT::Install-Recommends "false";' > \ - /etc/apt/apt.conf.d/disable-install-recommends - -ARG DEBUG - -RUN \ - quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \ - apt update ${quiet} && \ - apt install -y -V ${quiet} \ - build-essential \ - debhelper \ - devscripts \ - fakeroot \ - gnupg \ - lsb-release && \ - apt clean && \ - rm -rf /var/lib/apt/lists/* diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar-arm64/from b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar-arm64/from deleted file mode 100644 index 505787ef5ca87..0000000000000 --- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar-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/ubuntu:lunar diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar/Dockerfile deleted file mode 100644 index d7d53a8ca894a..0000000000000 --- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-lunar/Dockerfile +++ /dev/null @@ -1,85 +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=ubuntu:lunar -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 - -ARG DEBUG -RUN \ - quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \ - apt update ${quiet} && \ - apt install -y -V ${quiet} \ - build-essential \ - clang \ - clang-tools \ - cmake \ - debhelper \ - devscripts \ - git \ - gtk-doc-tools \ - libboost-filesystem-dev \ - libboost-system-dev \ - libbrotli-dev \ - libbz2-dev \ - libc-ares-dev \ - libcurl4-openssl-dev \ - libgirepository1.0-dev \ - libglib2.0-doc \ - libgmock-dev \ - libgoogle-glog-dev \ - libgrpc++-dev \ - libgtest-dev \ - liblz4-dev \ - libmlir-15-dev \ - libprotobuf-dev \ - libprotoc-dev \ - libre2-dev \ - libsnappy-dev \ - libssl-dev \ - libthrift-dev \ - libutf8proc-dev \ - libzstd-dev \ - llvm-dev \ - lsb-release \ - meson \ - mlir-15-tools \ - ninja-build \ - nlohmann-json3-dev \ - pkg-config \ - protobuf-compiler-grpc \ - python3-dev \ - python3-pip \ - python3-setuptools \ - rapidjson-dev \ - tzdata \ - valac \ - zlib1g-dev && \ - if apt list | grep -q '^libcuda1'; then \ - apt install -y -V ${quiet} nvidia-cuda-toolkit; \ - else \ - :; \ - fi && \ - apt clean && \ - rm -rf /var/lib/apt/lists/* diff --git a/dev/tasks/linux-packages/package-task.rb b/dev/tasks/linux-packages/package-task.rb index da281d0ee2cf9..ecd61054daeb1 100644 --- a/dev/tasks/linux-packages/package-task.rb +++ b/dev/tasks/linux-packages/package-task.rb @@ -277,8 +277,6 @@ def apt_targets_default # "ubuntu-focal-arm64", "ubuntu-jammy", # "ubuntu-jammy-arm64", - "ubuntu-lunar", - # "ubuntu-lunar-arm64", "ubuntu-mantic", # "ubuntu-mantic-arm64", ] diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml index 08b6aaac536db..bb2deac74d56c 100644 --- a/dev/tasks/tasks.yml +++ b/dev/tasks/tasks.yml @@ -563,7 +563,6 @@ tasks: "debian-trixie", "ubuntu-focal", "ubuntu-jammy", - "ubuntu-lunar", "ubuntu-mantic"] %} {% for architecture in ["amd64", "arm64"] %} {{ target }}-{{ architecture }}: