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 203437b4d6 GH-48417: [Packaging][CI] Skip downgrade testing for Debian
testing (#48427)
203437b4d6 is described below
commit 203437b4d6848885de72f32bfb3017919373a736
Author: Raúl Cumplido <[email protected]>
AuthorDate: Thu Dec 11 11:28:02 2025 +0100
GH-48417: [Packaging][CI] Skip downgrade testing for Debian testing (#48427)
### Rationale for this change
Downgrade test fails currently fails on Debian testing (forky) due to old
libthrift being unavailable.
### What changes are included in this PR?
Skip downgrading tests when we are using testing on Debian.
### Are these changes tested?
Yes, via CI
### Are there any user-facing changes?
No
* GitHub Issue: #48417
Lead-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
.github/workflows/package_linux.yml | 8 ++++----
dev/release/verify-apt.sh | 6 +++++-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/package_linux.yml
b/.github/workflows/package_linux.yml
index d37a142fb2..4d052d1a50 100644
--- a/.github/workflows/package_linux.yml
+++ b/.github/workflows/package_linux.yml
@@ -30,8 +30,8 @@ on:
- 'cpp/**'
- 'c_glib/**'
- 'dev/release/binary-task.rb'
- - 'dev/release/verify-apt.rb'
- - 'dev/release/verify-yum.rb'
+ - 'dev/release/verify-apt.sh'
+ - 'dev/release/verify-yum.sh'
- 'dev/tasks/linux-packages/**'
- 'format/Flight.proto'
tags:
@@ -44,8 +44,8 @@ on:
- 'cpp/**'
- 'c_glib/**'
- 'dev/release/binary-task.rb'
- - 'dev/release/verify-apt.rb'
- - 'dev/release/verify-yum.rb'
+ - 'dev/release/verify-apt.sh'
+ - 'dev/release/verify-yum.sh'
- 'dev/tasks/linux-packages/**'
- 'format/Flight.proto'
types:
diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.sh
index e01e44741d..bfb1019b8f 100755
--- a/dev/release/verify-apt.sh
+++ b/dev/release/verify-apt.sh
@@ -227,7 +227,11 @@ echo "::endgroup::"
echo "::group::Prepare downgrade test"
can_downgrade=false
-if [ -f /etc/apt/sources.list.d/apache-arrow.sources.bak ]; then
+if [ "${distribution}" = 'debian' ] && [[ "$(cat /etc/debian_version)" =~
/sid$ ]]; then
+ # Skip downgrade test on Debian testing.
+ # Debian testing and unstable use "${testing_code_name}/"sid" as
/etc/debian_version content.
+ :
+elif [ -f /etc/apt/sources.list.d/apache-arrow.sources.bak ]; then
mv /etc/apt/sources.list.d/apache-arrow.sources \
/etc/apt/sources.list.d/apache-arrow-current.sources
mv /etc/apt/sources.list.d/apache-arrow.sources{.bak,}