This is an automated email from the ASF dual-hosted git repository.

brycemecum 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 de9462d0e5 GH-44268: [Release][Ruby][CI] Pin version of glib used in 
verification script (#44270)
de9462d0e5 is described below

commit de9462d0e592d823e7a04ce0388da38fffcef1a6
Author: Bryce Mecum <[email protected]>
AuthorDate: Mon Sep 30 18:39:25 2024 -0800

    GH-44268: [Release][Ruby][CI] Pin version of glib used in verification 
script (#44270)
    
    ### Rationale for this change
    
    Fixes failing verification task for ruby+conda, see 
https://github.com/apache/arrow/issues/44268. cc @ raulcd
    
    ### What changes are included in this PR?
    
    It looks like the proximate cause of the failure was a buggy release of 
glib (2.82.1) on conda-forge, see 
https://github.com/conda-forge/glib-feedstock/issues/191. Pinning the version 
of glib we install inside the verification script to the previous version seems 
to work (verification passes locally now). Once the glib feedstock pushes a new 
release with the fix we can unpin this.
    
    ### Are these changes tested?
    
    Yes, locally under docker.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #44268
    
    Lead-authored-by: Bryce Mecum <[email protected]>
    Co-authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Bryce Mecum <[email protected]>
---
 dev/release/verify-release-candidate.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
index 8aaffb591b..4cff3c975f 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -831,7 +831,9 @@ test_glib() {
   show_header "Build and test C GLib libraries"
 
   # Build and test C GLib
-  maybe_setup_conda glib gobject-introspection meson ninja ruby
+  # We can remove '==2.80.5' once 
https://github.com/conda-forge/glib-feedstock/issues/191
+  # is fixed.
+  maybe_setup_conda glib==2.80.5 gobject-introspection meson ninja ruby
   maybe_setup_virtualenv meson
 
   # Install bundler if doesn't exist

Reply via email to