Skip to content

Commit

Permalink
apacheGH-40734: [Packaging][Debian] Drop support for Debian bullseye (a…
Browse files Browse the repository at this point in the history
…pache#41394)

### Rationale for this change

Debian GNU/Linux bullseye will reach EOL on 2024-07: https://wiki.debian.org/DebianReleases

We can drop support for it after we release 16.0.0 because 17.0.0 will be released after 2024-07.

### What changes are included in this PR?

Remove Debian bullseye support

### Are these changes tested?

Yes on CI.

### Are there any user-facing changes?

Yes, no support for Debian bullseye but no breaking changes on code.
* GitHub Issue: apache#40734

Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
raulcd authored May 12, 2024
1 parent a0f9d2e commit 37bd413
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 167 deletions.
2 changes: 0 additions & 2 deletions c_glib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ project('arrow-glib', 'c', 'cpp',
# Debian:
# https://packages.debian.org/search?keywords=meson
#
# * bullseye: 0.56.2
# * bullseye-backports:1.0.0
# * bookworm: 1.0.0
#
# Ubuntu:
Expand Down
3 changes: 0 additions & 3 deletions dev/release/binary-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,6 @@ def apt_release_repositories_dir

def available_apt_targets
[
["debian", "bullseye", "main"],
["debian", "bookworm", "main"],
["debian", "trixie", "main"],
["ubuntu", "focal", "main"],
Expand Down Expand Up @@ -2111,8 +2110,6 @@ def apt_test_targets_default
# Disable arm64 targets by default for now
# because they require some setups on host.
[
"debian-bullseye",
# "debian-bullseye-arm64",
"debian-bookworm",
# "debian-bookworm-arm64",
"debian-trixie",
Expand Down
6 changes: 0 additions & 6 deletions dev/release/verify-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ esac

workaround_missing_packages=()
case "${distribution}-${code_name}" in
debian-bullseye)
sed \
-i"" \
-e "s/ main$/ main contrib non-free/g" \
/etc/apt/sources.list
;;
debian-*)
sed \
-i"" \
Expand Down
4 changes: 1 addition & 3 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ test_binary() {
test_apt() {
show_header "Testing APT packages"

for target in "debian:bullseye" \
"arm64v8/debian:bullseye" \
"debian:bookworm" \
for target in "debian:bookworm" \
"arm64v8/debian:bookworm" \
"debian:trixie" \
"arm64v8/debian:trixie" \
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions dev/tasks/linux-packages/package-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ def apt_targets_default
# Disable arm64 targets by default for now
# because they require some setups on host.
[
"debian-bullseye",
# "debian-bullseye-arm64",
"debian-bookworm",
# "debian-bookworm-arm64",
"debian-trixie",
Expand Down
3 changes: 1 addition & 2 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ tasks:

{############################## Linux PKGS ####################################}

{% for target in ["debian-bullseye",
"debian-bookworm",
{% for target in ["debian-bookworm",
"debian-trixie",
"ubuntu-focal",
"ubuntu-jammy",
Expand Down
4 changes: 1 addition & 3 deletions r/tools/nixlibs.R
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,7 @@ distro <- function() {
out$id <- tolower(out$id)
# debian unstable & testing lsb_release `version` don't include numbers but we can map from pretty name
if (is.null(out$version) || out$version %in% c("testing", "unstable")) {
if (grepl("bullseye", out$codename)) {
out$short_version <- "11"
} else if (grepl("bookworm", out$codename)) {
if (grepl("bookworm", out$codename)) {
out$short_version <- "12"
}
} else if (out$id == "ubuntu") {
Expand Down

0 comments on commit 37bd413

Please sign in to comment.