Skip to content

Commit 5bc7267

Browse files
authored
apacheGH-46952: [Packaging] Drop support for CentOS Stream 8 (apache#46953)
### Rationale for this change CentOS Stream 8 reached EOL on May 31, 2024: https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/ ### What changes are included in this PR? Remove CentOS Stream 8 related codes. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * GitHub Issue: apache#46952 Lead-authored-by: Sutou Kouhei <kou@clear-code.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent bf79398 commit 5bc7267

8 files changed

Lines changed: 5 additions & 141 deletions

File tree

dev/release/verify-release-candidate.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ test_yum() {
265265
"almalinux:8" \
266266
"amazonlinux:2023" \
267267
"quay.io/centos/centos:stream9" \
268-
"quay.io/centos/centos:stream8" \
269268
"centos:7"; do
270269
if ! docker run \
271270
--platform linux/x86_64 \
@@ -286,8 +285,7 @@ test_yum() {
286285
"arm64v8/almalinux:9" \
287286
"arm64v8/almalinux:8" \
288287
"arm64v8/amazonlinux:2023" \
289-
"quay.io/centos/centos:stream9" \
290-
"quay.io/centos/centos:stream8"; do
288+
"quay.io/centos/centos:stream9"; do
291289
if ! docker run \
292290
--platform linux/arm64 \
293291
--rm \

dev/release/verify-yum.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,6 @@ case "${distribution}-${distribution_version}" in
107107
info_command="yum info"
108108
fix_eol_repositories
109109
;;
110-
centos-8)
111-
distribution_prefix="centos"
112-
repository_version+="-stream"
113-
ruby_devel_packages+=(redhat-rpm-config)
114-
install_command="dnf install -y --enablerepo=powertools"
115-
info_command="dnf info --enablerepo=powertools"
116-
fix_eol_repositories
117-
;;
118110
centos-*)
119111
distribution_prefix="centos"
120112
repository_version+="-stream"

dev/tasks/linux-packages/apache-arrow-release/yum/apache-arrow-release.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Apache Arrow release files.
6161
distribution=$(. /etc/os-release && echo "${ID}")
6262
if [ "${distribution}" = "rhel" ]; then
6363
# We use distribution version explicitly for RHEL because we can't
64-
# use symbolic link on Artifactory. CentOS and AlmaLinux uses 7 and
64+
# use symbolic link on Artifactory. CentOS and AlmaLinux use 7 and
6565
# 8 but RHEL uses 7Server and 8Server for $releasever. If we can use
6666
# symbolic link on Artifactory we can use $releasever directly.
6767
distribution_version=$(. /etc/os-release && echo "${VERSION_ID}")

dev/tasks/linux-packages/apache-arrow-release/yum/centos-8-stream/Dockerfile

Lines changed: 0 additions & 34 deletions
This file was deleted.

dev/tasks/linux-packages/apache-arrow/yum/centos-8-stream-aarch64/from

Lines changed: 0 additions & 18 deletions
This file was deleted.

dev/tasks/linux-packages/apache-arrow/yum/centos-8-stream/Dockerfile

Lines changed: 0 additions & 73 deletions
This file was deleted.

dev/tasks/linux-packages/package-task.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ def yum_targets_default
409409
# Disable aarch64 targets by default for now
410410
# because they require some setups on host.
411411
[
412+
"almalinux-10",
413+
# "almalinux-10-arch64",
412414
"almalinux-9",
413415
# "almalinux-9-arch64",
414416
"almalinux-8",
@@ -417,8 +419,6 @@ def yum_targets_default
417419
# "amazon-linux-2023-arch64",
418420
"centos-9-stream",
419421
# "centos-9-stream-aarch64",
420-
"centos-8-stream",
421-
# "centos-8-stream-aarch64",
422422
"centos-7",
423423
# "centos-7-aarch64",
424424
]

dev/tasks/tasks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,8 @@ tasks:
401401
"almalinux-8",
402402
"amazon-linux-2023",
403403
"centos-9-stream",
404-
"centos-8-stream",
405404
"centos-7"] %}
406-
{% set is_rhel7_based = (target in ["amazon-linux-2", "centos-7"]) %}
405+
{% set is_rhel7_based = (target == "centos-7") %}
407406
{% for architecture
408407
in ["amd64", "arm64"]
409408
if not (target == "centos-7" and architecture == "arm64") %}

0 commit comments

Comments
 (0)