You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2023/12/16 01:52:57 UTC

(spark) branch master updated: [SPARK-46425][INFRA] Pin the bundler version in CI

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d0da1172b7d [SPARK-46425][INFRA] Pin the bundler version in CI
d0da1172b7d is described below

commit d0da1172b7d87b68a8af8464c6486aa586324241
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Fri Dec 15 17:52:46 2023 -0800

    [SPARK-46425][INFRA] Pin the bundler version in CI
    
    ### What changes were proposed in this pull request?
    
    Currently documentation build is broken:
    
    https://github.com/apache/spark/actions/runs/7226413850/job/19691970695
    
    ```
    ...
    ERROR:  Error installing bundler:
            The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
            bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.0.0.
    ```
    
    This PR uses the suggestion.
    
    ### Why are the changes needed?
    
    To recover the CI.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    CI in this PR verify it.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #44376 from HyukjinKwon/SPARK-46425.
    
    Authored-by: Hyukjin Kwon <gu...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 .github/workflows/build_and_test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index e5488355292..27d3c86686b 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -765,7 +765,7 @@ jobs:
         python3.9 -m pip install ipython_genutils # See SPARK-38517
         python3.9 -m pip install sphinx_plotly_directive 'numpy>=1.20.0' pyarrow pandas 'plotly>=4.8'
         python3.9 -m pip install 'docutils<0.18.0' # See SPARK-39421
-        gem install bundler
+        gem install bundler -v 2.4.22
         cd docs
         bundle install
     - name: R linter


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org