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 690ed566583 GH-55366: [Dev][Release] Fix USE_CONDA=1 verification for
GLib and Ruby on macOS and update docs (#55367)
690ed566583 is described below
commit 690ed5665832e10358618614e506c590f2a61bf9
Author: tadeja <[email protected]>
AuthorDate: Wed Nov 4 12:40:13 2026 +0100
GH-55366: [Dev][Release] Fix USE_CONDA=1 verification for GLib and Ruby on
macOS and update docs (#55367)
### Rationale for this change
See #55366
### What changes are included in this PR?
- GLib/Ruby tests with `ruby -rbundler/setup` instead of `bundle exec ruby`
- Update docs page `release_verification.rst` (remove Java, node, maven)
### Are these changes tested?
Yes, locally on macOS 26.6 and Ubuntu 24.04.
`TEST_DEFAULT=0 TEST_SOURCE=1 (USE_CONDA=1)
dev/release/verify-release-candidate.sh 26.0.1`
### Are there any user-facing changes?
No.
### Was AI used for this PR?
**PR code and description written by:**
- [X] Human
- [X] AI for hints only
**Reviewed before submission by:**
- [X] Human
- [ ] AI
- [ ] Not reviewed
* GitHub Issue: #55366
Lead-authored-by: Tadeja Kadunc <[email protected]>
Co-authored-by: tadeja <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/verify-release-candidate.sh | 5 +++--
docs/source/developers/release_verification.rst | 10 +++-------
2 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/dev/release/verify-release-candidate.sh
b/dev/release/verify-release-candidate.sh
index 58e57a17c22..4339b7f2827 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -646,7 +646,8 @@ test_glib() {
export GI_TYPELIB_PATH=$ARROW_HOME/lib/girepository-1.0:$GI_TYPELIB_PATH
bundle config set --local path 'vendor/bundle'
bundle install
- bundle exec ruby test/run-test.rb
+ # replaced bundle exec to avoid macOS SIP removing DYLD_* via #!/bin/sh
+ ruby -rbundler/setup test/run-test.rb
popd
}
@@ -681,7 +682,7 @@ test_ruby() {
pushd ${module}
bundle config set --local path 'vendor/bundle'
bundle install
- bundle exec ruby test/run-test.rb
+ ruby -rbundler/setup test/run-test.rb
popd
done
diff --git a/docs/source/developers/release_verification.rst
b/docs/source/developers/release_verification.rst
index a4a14a95382..c352541b58c 100644
--- a/docs/source/developers/release_verification.rst
+++ b/docs/source/developers/release_verification.rst
@@ -60,7 +60,7 @@ and test the result on their own platform in order to cast a
+1 vote.
# here are a couple of examples, but see the source code for the available
options
TEST_DEFAULT=0 TEST_CPP=1 verify-release-candidate.sh $VERSION $RC_NUM #
only C++ tests
TEST_DEFAULT=0 TEST_CPP=1 TEST_PYTHON=1 verify-release-candidate.sh
$VERSION $RC_NUM # C++ and Python tests
- TEST_DEFAULT=0 TEST_INTEGRATION_CPP=1 TEST_INTEGRATION_JAVA=1
verify-release-candidate.sh $VERSION $RC_NUM # C++ and Java integration tests
+ TEST_DEFAULT=0 TEST_INTEGRATION_CPP=1 verify-release-candidate.sh $VERSION
$RC_NUM # C++ integration tests
Binary verification
^^^^^^^^^^^^^^^^^^^
@@ -78,7 +78,6 @@ test them in order to cast a positive vote.
TEST_DEFAULT=0 TEST_WHEELS=1 verify-release-candidate.sh $VERSION $RC_NUM
# only Wheels
TEST_DEFAULT=0 TEST_APT=1 verify-release-candidate.sh $VERSION $RC_NUM #
only APT packages
TEST_DEFAULT=0 TEST_YUM=1 verify-release-candidate.sh $VERSION $RC_NUM #
only YUM packages
- TEST_DEFAULT=0 TEST_JARS=1 verify-release-candidate.sh $VERSION $RC_NUM #
only JARS
Windows
-------
@@ -115,15 +114,12 @@ macOS ARM
# From the arrow clone
brew install gpg
+ # The rest is not needed with USE_CONDA=1
brew bundle --file=cpp/Brewfile
brew bundle --file=c_glib/Brewfile
- brew uninstall node
- # You might need to add node, ruby java and maven to the PATH, follow
+ # You might need to add ruby to the PATH, follow
# instructions from brew after installing.
- brew install node@20
brew install ruby
- brew install openjdk
- brew install maven
Windows 11
----------