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

dongjoon pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new fc7288725d4c [SPARK-51227][PYTHON][CONNECT] Fix PySpark Connect 
`_minimum_grpc_version` to 1.67.0
fc7288725d4c is described below

commit fc7288725d4c53e2fb27993714ab6fc06f1019c7
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun Feb 16 07:27:53 2025 -0800

    [SPARK-51227][PYTHON][CONNECT] Fix PySpark Connect `_minimum_grpc_version` 
to 1.67.0
    
    ### What changes were proposed in this pull request?
    
    This PR aims to fix PySpark Connect `_minimum_grpc_version` from 1.59.3 to 
1.67.0 correctly.
    
    
https://github.com/apache/spark/blob/c36916f7a112dc6c6505c12d68c3f63c5aa31db2/python/docs/source/getting_started/install.rst?plain=1#L211
    
    
https://github.com/apache/spark/blob/c36916f7a112dc6c6505c12d68c3f63c5aa31db2/dev/spark-test-image/python-minimum/Dockerfile#L76
    
    ### Why are the changes needed?
    
    It seems that we missed to this at
    - #44929
    - #48524
    
    ### Does this PR introduce _any_ user-facing change?
    
    This will make it sure that PySpark Connect installation meets the minimum 
requirement correctly.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #49968 from dongjoon-hyun/SPARK-51227.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 3f4ba72786b373d374a9b473c30e6deee55bf086)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 python/packaging/connect/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/packaging/connect/setup.py 
b/python/packaging/connect/setup.py
index 674eceff9d0d..561b2506e38b 100755
--- a/python/packaging/connect/setup.py
+++ b/python/packaging/connect/setup.py
@@ -133,7 +133,7 @@ try:
     _minimum_pandas_version = "2.0.0"
     _minimum_numpy_version = "1.21"
     _minimum_pyarrow_version = "11.0.0"
-    _minimum_grpc_version = "1.59.3"
+    _minimum_grpc_version = "1.67.0"
     _minimum_googleapis_common_protos_version = "1.65.0"
 
     with open("README.md") as f:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to