From 334d952f9555cbfad8ef84987d6f978eb6b37b9b Mon Sep 17 00:00:00 2001 From: Ruifeng Zheng Date: Thu, 16 Nov 2023 21:41:41 +0800 Subject: [PATCH] [SPARK-45951][INFRA] Upgrade `buf` to v1.28.1 ### What changes were proposed in this pull request? Upgrade `buf` to v1.28.1 ### Why are the changes needed? `buf` was upgraded to 1.26.1 two months ago, so I think it is time to upgrade it again. this upgrade cause no change in generated codes, and it fixed multiple issues: https://github.com/bufbuild/buf/releases ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? ci ### Was this patch authored or co-authored using generative AI tooling? no Closes #43835 from zhengruifeng/connect_buf_1_28_1. Lead-authored-by: Ruifeng Zheng Co-authored-by: Ruifeng Zheng Signed-off-by: yangjie01 --- .github/workflows/build_and_test.yml | 2 +- python/docs/source/development/contributing.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 25af93af2804f..95ce051f32f60 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -704,7 +704,7 @@ jobs: if: inputs.branch != 'branch-3.3' && inputs.branch != 'branch-3.4' run: | # See more in "Installation" https://docs.buf.build/installation#tarball - curl -LO https://github.com/bufbuild/buf/releases/download/v1.26.1/buf-Linux-x86_64.tar.gz + curl -LO https://github.com/bufbuild/buf/releases/download/v1.28.1/buf-Linux-x86_64.tar.gz mkdir -p $HOME/buf tar -xvzf buf-Linux-x86_64.tar.gz -C $HOME/buf --strip-components 1 rm buf-Linux-x86_64.tar.gz diff --git a/python/docs/source/development/contributing.rst b/python/docs/source/development/contributing.rst index d6d5283c1e3e4..ad61ba95d6956 100644 --- a/python/docs/source/development/contributing.rst +++ b/python/docs/source/development/contributing.rst @@ -120,7 +120,7 @@ Prerequisite PySpark development requires to build Spark that needs a proper JDK installed, etc. See `Building Spark `_ for more details. -Note that if you intend to contribute to Spark Connect in Python, ``buf`` version ``1.26.1`` is required, see `Buf Installation `_ for more details. +Note that if you intend to contribute to Spark Connect in Python, ``buf`` version ``1.28.1`` is required, see `Buf Installation `_ for more details. Conda ~~~~~