Skip to content

Apache DataFusion SQL Query Engine

ARROW-8109: [Packaging][APT] Drop support for Ubuntu Disco

Sutou Kouhei3109d8542203
diff --git a/dev/release/binary-task.rb b/dev/release/binary-task.rb
index 4b59604451..921e058a7b 100644
--- a/dev/release/binary-task.rb
+++ b/dev/release/binary-task.rb
@@ -1015,7 +1015,6 @@ class BinaryTask
["debian", "buster", "main"],
["ubuntu", "xenial", "main"],
["ubuntu", "bionic", "main"],
- ["ubuntu", "disco", "main"],
["ubuntu", "eoan", "main"],
]
end
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 653967adc8..946531936f 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -140,14 +140,11 @@ test_apt() {
"arm64v8/ubuntu:xenial" \
"ubuntu:bionic" \
"arm64v8/ubuntu:bionic" \
- "ubuntu:disco" \
- "arm64v8/ubuntu:disco" \
"ubuntu:eoan" \
"arm64v8/ubuntu:eoan"; do \
# We can't build some arm64 binaries by Crossbow for now.
if [ "${target}" = "arm64v8/debian:stretch" ]; then continue; fi
if [ "${target}" = "arm64v8/debian:buster" ]; then continue; fi
- if [ "${target}" = "arm64v8/ubuntu:disco" ]; then continue; fi
if [ "${target}" = "arm64v8/ubuntu:eoan" ]; then continue; fi
case "${target}" in
arm64v8/*)
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-disco/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-disco/Dockerfile
deleted file mode 100644
index 78d0c9b75a..0000000000
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-disco/Dockerfile
+++ /dev/null
@@ -1,34 +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:disco
-
-RUN \
- echo "debconf debconf/frontend select Noninteractive" | \
- debconf-set-selections
-
-ARG DEBUG
-
-RUN \
- quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
- apt update ${quiet} && \
- apt install -y -V ${quiet} \
- debhelper \
- devscripts \
- gnupg && \
- apt clean && \
- rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco-arm64/from b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco-arm64/from
deleted file mode 100644
index 518c5f8915..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco-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:disco
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco/Dockerfile
deleted file mode 100644
index ef7c82a500..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco/Dockerfile
+++ /dev/null
@@ -1,72 +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:disco
-FROM ${FROM}
-
-COPY qemu-* /usr/bin/
-
-RUN \
- echo "debconf debconf/frontend select Noninteractive" | \
- debconf-set-selections
-
-ARG DEBUG
-
-RUN \
- quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
- apt update ${quiet} && \
- apt install -y -V ${quiet} \
- bison \
- build-essential \
- clang-7 \
- cmake \
- debhelper \
- devscripts \
- flex \
- git \
- gtk-doc-tools \
- libboost-filesystem-dev \
- libboost-regex-dev \
- libboost-system-dev \
- libbrotli-dev \
- libbz2-dev \
- libgirepository1.0-dev \
- libglib2.0-doc \
- libgmock-dev \
- libgoogle-glog-dev \
- libgtest-dev \
- liblz4-dev \
- libre2-dev \
- libsnappy-dev \
- libssl-dev \
- libzstd-dev \
- lsb-release \
- ninja-build \
- pkg-config \
- python3-dev \
- python3-numpy \
- python3-pip \
- rapidjson-dev \
- tzdata \
- zlib1g-dev && \
- if apt list | grep '^nvidia-cuda-toolkit/'; then \
- apt install -y -V ${quiet} nvidia-cuda-toolkit; \
- fi && \
- apt clean && \
- pip3 install --upgrade meson && \
- ln -s /usr/local/bin/meson /usr/bin/ && \
- rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco/qemu-dummy-static b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco/qemu-dummy-static
deleted file mode 100755
index c42e0962de..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-disco/qemu-dummy-static
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# 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.
-
-# Do nothing. This exists only for not requiring qemu-aarch64-static copy.
-# Recent Debian (buster or later) and Ubuntu (18.10 or later) on amd64 hosts or
-# arm64 host don't require qemu-aarch64-static in Docker image. But old Debian
-# and Ubuntu hosts on amd64 require qemu-aarch64-static in Docker image.
-#
-# We use "COPY qemu* /usr/bin/" in Dockerfile. If we don't put any "qemnu*",
-# the "COPY" is failed. It means that we always require "qemu*" even if we
-# use recent Debian/Ubuntu or arm64 host. If we have this dummy "qemu*" file,
-# the "COPY" isn't failed. It means that we can copy "qemu*" only when we
-# need.
-#
-# See also "script" in dev/tasks/linux-packages/azure.linux.arm64.yml.
-# Azure Pipelines uses old Ubuntu (18.04).
-# So we need to put "qemu-aarch64-static" into this directory.
diff --git a/dev/tasks/linux-packages/package-task.rb b/dev/tasks/linux-packages/package-task.rb
index b8b2834470..c0e8a64776 100644
--- a/dev/tasks/linux-packages/package-task.rb
+++ b/dev/tasks/linux-packages/package-task.rb
@@ -173,8 +173,8 @@ class PackageTask
# "ubuntu-xenial-arm64",
"ubuntu-bionic",
# "ubuntu-bionic-arm64",
- "ubuntu-disco",
- # "ubuntu-disco-arm64",
+ "ubuntu-eoan",
+ # "ubuntu-eoan-arm64",
]
end
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index c28b2a99a7..01c21ada7f 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -58,7 +58,6 @@ groups:
- debian-buster
- ubuntu-xenial
- ubuntu-bionic
- - ubuntu-disco
- ubuntu-eoan
- centos-6
- centos-7
@@ -69,7 +68,6 @@ groups:
- debian-buster-arm64
- ubuntu-xenial-arm64
- ubuntu-bionic-arm64
- - ubuntu-disco-arm64
- ubuntu-eoan-arm64
- centos-7-aarch64
- centos-8-aarch64
@@ -249,7 +247,6 @@ groups:
- debian-buster
- ubuntu-xenial
- ubuntu-bionic
- - ubuntu-disco
- ubuntu-eoan
- centos-6
- centos-7
@@ -1136,124 +1133,6 @@ tasks:
- plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb
- ubuntu-disco:
- ci: github
- platform: linux
- template: linux-packages/github.linux.yml
- params:
- build_command: rake apt:build APT_TARGETS=ubuntu-disco
- upload_extensions:
- - .deb
- - .dsc
- - .debian.tar.xz
- - .orig.tar.gz
- artifacts:
- - apache-arrow-archive-keyring_{no_rc_version}-1.debian.tar.xz
- - apache-arrow-archive-keyring_{no_rc_version}-1.dsc
- - apache-arrow-archive-keyring_{no_rc_version}-1_all.deb
- - apache-arrow-archive-keyring_{no_rc_version}.orig.tar.gz
- - apache-arrow_{no_rc_version}-1.debian.tar.xz
- - apache-arrow_{no_rc_version}-1.dsc
- - apache-arrow_{no_rc_version}.orig.tar.gz
- - gir1.2-arrow-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-arrow-cuda-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-gandiva-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-parquet-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-plasma-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dataset-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dataset100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dataset100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-flight-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-flight100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-flight100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-python-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-python100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow100_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva100_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet100_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma100_{no_rc_version}-1_[a-z0-9]+.deb
- - plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- - plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb
-
- ubuntu-disco-arm64:
- ci: github
- platform: linux
- template: linux-packages/github.linux.arm64.yml
- params:
- build_command: rake apt:build APT_TARGETS=ubuntu-disco-arm64
- upload_extensions:
- - .deb
- - .dsc
- - .debian.tar.xz
- - .orig.tar.gz
- artifacts:
- - apache-arrow-archive-keyring_{no_rc_version}-1.debian.tar.xz
- - apache-arrow-archive-keyring_{no_rc_version}-1.dsc
- - apache-arrow-archive-keyring_{no_rc_version}-1_all.deb
- - apache-arrow-archive-keyring_{no_rc_version}.orig.tar.gz
- - apache-arrow_{no_rc_version}-1.debian.tar.xz
- - apache-arrow_{no_rc_version}-1.dsc
- - apache-arrow_{no_rc_version}.orig.tar.gz
- - gir1.2-arrow-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-arrow-cuda-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-gandiva-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-parquet-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - gir1.2-plasma-1.0_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-cuda100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dataset-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dataset100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-dataset100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-flight-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-flight100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-flight100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-python-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow-python100_{no_rc_version}-1_[a-z0-9]+.deb
- - libarrow100_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libgandiva100_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libparquet100_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma-glib100_{no_rc_version}-1_[a-z0-9]+.deb
- - libplasma100_{no_rc_version}-1_[a-z0-9]+.deb
- - plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- - plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb
-
ubuntu-eoan:
ci: github
platform: linux