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 7992455de26 [SPARK-43401][CONNECT][BUILD] Upgrade buf to v1.18.0
7992455de26 is described below
commit 7992455de26e240e1ebb350d315fb4303934e4f1
Author: panbingkun <[email protected]>
AuthorDate: Mon May 8 18:06:20 2023 -0700
[SPARK-43401][CONNECT][BUILD] Upgrade buf to v1.18.0
### What changes were proposed in this pull request?
The pr aims to upgrade buf from 1.17.0 to 1.18.0
### Why are the changes needed?
Release Notes: https://github.com/bufbuild/buf/releases
<img width="672" alt="image"
src="https://user-images.githubusercontent.com/15246973/236719959-c23e1993-24e4-45bf-8451-32ab8308391b.png">
https://github.com/bufbuild/buf/compare/v1.17.0...v1.18.0
Manually test: dev/connect-gen-protos.sh
This upgrade will not change the generated files.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually test and Pass GA.
Closes #41087 from panbingkun/SPARK-43401.
Authored-by: panbingkun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.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 630956a9e73..d3b634ffa26 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -617,7 +617,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.17.0/buf-Linux-x86_64.tar.gz
+ curl -LO
https://github.com/bufbuild/buf/releases/download/v1.18.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
python3.9 -m pip install 'protobuf==3.19.5' 'mypy-protobuf==3.3.0'
diff --git a/python/docs/source/development/contributing.rst
b/python/docs/source/development/contributing.rst
index a7028dd3d5b..8b9a9899b6d 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
<https://spark.apache.org/docs/latest/building-spark.html>`_ for more details.
-Note that if you intend to contribute to Spark Connect in Python, ``buf``
version ``1.17.0`` is required, see `Buf Installation
<https://docs.buf.build/installation>`_ for more details.
+Note that if you intend to contribute to Spark Connect in Python, ``buf``
version ``1.18.0`` is required, see `Buf Installation
<https://docs.buf.build/installation>`_ for more details.
Conda
~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]