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

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new d6f3226  ARROW-13291: [GLib][CI] Require gobject-introspection 3.4.5 
or later
d6f3226 is described below

commit d6f322646451555b141d07d63d89534c36d81a32
Author: Sutou Kouhei <[email protected]>
AuthorDate: Fri Jul 9 09:05:12 2021 +0900

    ARROW-13291: [GLib][CI] Require gobject-introspection 3.4.5 or later
    
    It's needed for Flight tests.
    
    Closes #10687 from kou/glib-ci-gi-version
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 c_glib/Gemfile                    | 2 +-
 c_glib/test/flight/test-client.rb | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/c_glib/Gemfile b/c_glib/Gemfile
index 4b57090..bd91b62 100644
--- a/c_glib/Gemfile
+++ b/c_glib/Gemfile
@@ -20,4 +20,4 @@
 source "https://rubygems.org/";
 
 gem "test-unit"
-gem "gobject-introspection"
+gem "gobject-introspection", ">= 3.4.5"
diff --git a/c_glib/test/flight/test-client.rb 
b/c_glib/test/flight/test-client.rb
index 79960e2..f3fca01 100644
--- a/c_glib/test/flight/test-client.rb
+++ b/c_glib/test/flight/test-client.rb
@@ -16,10 +16,13 @@
 # under the License.
 
 class TestFlightClient < Test::Unit::TestCase
+  include Helper::Omittable
+
   def setup
     @server = nil
     omit("Arrow Flight is required") unless defined?(ArrowFlight)
     omit("Unstable on Windows") if Gem.win_platform?
+    require_gi_bindings(3, 4, 5)
     @server = Helper::FlightServer.new
     host = "127.0.0.1"
     location = ArrowFlight::Location.new("grpc://#{host}:0")

Reply via email to