This is an automated email from the ASF dual-hosted git repository. dongjoon 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 f2c347e5432 [SPARK-41699][CONNECT][BUILD] Upgrade buf to v1.11.0 f2c347e5432 is described below commit f2c347e54321fc22e79602aa487cfb7f3ba43793 Author: Ruifeng Zheng <ruife...@apache.org> AuthorDate: Sat Dec 24 13:07:37 2022 -0800 [SPARK-41699][CONNECT][BUILD] Upgrade buf to v1.11.0 ### What changes were proposed in this pull request? Upgrade buf to v1.11.0 ### Why are the changes needed? this upgrade doesn't change the generated codes now, so should be fine to upgrade ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? existing UT Closes #39201 from zhengruifeng/connect_build_buf_1.11. Authored-by: Ruifeng Zheng <ruife...@apache.org> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- .github/workflows/build_and_test.yml | 2 +- connector/connect/README.md | 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 86753642239..5bd2fef9b0c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -561,7 +561,7 @@ jobs: - name: Install dependencies for Python code generation check run: | # See more in "Installation" https://docs.buf.build/installation#tarball - curl -LO https://github.com/bufbuild/buf/releases/download/v1.9.0/buf-Linux-x86_64.tar.gz + curl -LO https://github.com/bufbuild/buf/releases/download/v1.11.0/buf-Linux-x86_64.tar.gz mkdir -p $HOME/buf tar -xvzf buf-Linux-x86_64.tar.gz -C $HOME/buf --strip-components 1 - name: Install R linter dependencies and SparkR diff --git a/connector/connect/README.md b/connector/connect/README.md index e4753eef0cc..d30f65ffb5d 100644 --- a/connector/connect/README.md +++ b/connector/connect/README.md @@ -89,7 +89,7 @@ To use the release version of Spark Connect: ## Development Topics ### Generate proto generated files for the Python client -1. Install `buf version 1.9.0`: https://docs.buf.build/installation +1. Install `buf version 1.11.0`: https://docs.buf.build/installation 2. Run `pip install grpcio==1.48.1 protobuf==3.19.5 mypy-protobuf==3.3.0` 3. Run `./connector/connect/dev/generate_protos.sh` 4. Optional Check `./dev/check-codegen-python.py` --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org