This is an automated email from the ASF dual-hosted git repository.
kou 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 ee382216db4 GH-54595: [Packaging][CI] Fix regex on
update_deb_package_names to cover the 3 on libarrow_s3 (#54608)
ee382216db4 is described below
commit ee382216db4f8d764ed17c16c5baef45afe3f757
Author: Raúl Cumplido <[email protected]>
AuthorDate: Tue Oct 20 02:23:47 2026 +0100
GH-54595: [Packaging][CI] Fix regex on update_deb_package_names to cover
the 3 on libarrow_s3 (#54608)
### Rationale for this change
Linux packaging jobs for Deb packages are currently failing due to wrong
libarrow_s32600 still being referred to.
### What changes are included in this PR?
Update regex to cover numbers on libarrowxxx package names.
Update the wrong entries at control.in.
### Are these changes tested?
I have tested the regex locally with:
```
$ sed -i.bak -E -e
"s/(lib(arrow|gandiva|parquet)[-a-z0-9]*)2700/\\12800/g"
dev/tasks/linux-packages/apache-arrow/debian/control.in
```
And validated the diff contains libarrow s3 updated:
```diff
@@ -122,13 +122,13 @@ Pre-Depends: ${misc:Pre-Depends}
Depends:
${misc:Depends},
${shlibs:Depends},
- libarrow-acero2700 (= ${binary:Version}),
- libparquet2700 (= ${binary:Version})
+ libarrow-acero2800 (= ${binary:Version}),
+ libparquet2800 (= ${binary:Version})
Description: Apache Arrow is a data processing library for analysis
.
This package provides C++ library files for Dataset module.
-Package: libarrow-s3-2700
+Package: libarrow-s3-2800
Section: libs
Architecture: any
Multi-Arch: same
```
### Are there any user-facing changes?
No
### Was AI used for this PR?
In accordance to the [AI generation
guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
please disclose below whether and how AI was used in this PR.
**PR code and description written by:**
- [x] Human
- [ ] AI
**Reviewed before submission by:**
- [x] Human
- [ ] AI
- [ ] Not reviewed
* GitHub Issue: #54595
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/utils-prepare.sh | 4 ++--
dev/tasks/linux-packages/apache-arrow/debian/control.in | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev/release/utils-prepare.sh b/dev/release/utils-prepare.sh
index e67439467cc..863b059f7cb 100644
--- a/dev/release/utils-prepare.sh
+++ b/dev/release/utils-prepare.sh
@@ -216,7 +216,7 @@ update_deb_package_names() {
${target} \
$(echo ${target} | sed -e
"s/${deb_lib_suffix}/${next_deb_lib_suffix}/")
done
- local
deb_lib_suffix_substitute_pattern="s/(lib(arrow|gandiva|parquet)[-a-z]*)${deb_lib_suffix}/\\1${next_deb_lib_suffix}/g"
+ local
deb_lib_suffix_substitute_pattern="s/(lib(arrow|gandiva|parquet)[-a-z0-9]*)${deb_lib_suffix}/\\1${next_deb_lib_suffix}/g"
sed -i.bak -E -e "${deb_lib_suffix_substitute_pattern}" debian*/control*
rm -f debian*/control*.bak
git add debian*/control*
@@ -233,7 +233,7 @@ update_deb_package_names() {
${target} \
$(echo ${target} | sed -e
"s/${deb_gir_suffix}/${next_deb_gir_suffix}/")
done
- local
deb_gir_suffix_substitute_pattern="s/(gir1\\.2-(arrow|gandiva|parquet)[-a-z]*)${deb_gir_suffix}/\\1${next_deb_gir_suffix}/g"
+ local
deb_gir_suffix_substitute_pattern="s/(gir1\\.2-(arrow|gandiva|parquet)[-a-z0-9]*)${deb_gir_suffix}/\\1${next_deb_gir_suffix}/g"
sed -i.bak -E -e "${deb_gir_suffix_substitute_pattern}" debian*/control*
rm -f debian*/control*.bak
git add debian*/control*
diff --git a/dev/tasks/linux-packages/apache-arrow/debian/control.in
b/dev/tasks/linux-packages/apache-arrow/debian/control.in
index 16bea3eea5f..acb57c1fbc1 100644
--- a/dev/tasks/linux-packages/apache-arrow/debian/control.in
+++ b/dev/tasks/linux-packages/apache-arrow/debian/control.in
@@ -128,7 +128,7 @@ Description: Apache Arrow is a data processing library for
analysis
.
This package provides C++ library files for Dataset module.
-Package: libarrow-s3-2600
+Package: libarrow-s3-2700
Section: libs
Architecture: any
Multi-Arch: same
@@ -257,7 +257,7 @@ Architecture: any
Multi-Arch: same
Depends:
${misc:Depends},
- libarrow-s3-2600 (= ${binary:Version}),
+ libarrow-s3-2700 (= ${binary:Version}),
libarrow-dev (= ${binary:Version})
Description: Apache Arrow is a data processing library for analysis
.