Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-51227][PYTHON][CONNECT] Fix PySpark Connect _minimum_grpc_version to 1.67.0 #49968

Closed
wants to merge 2 commits into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Feb 16, 2025

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.

`grpcio` >=1.67.0 Required for Spark Connect

ARG CONNECT_PIP_PKGS="grpcio==1.67.0 grpcio-status==1.67.0 googleapis-common-protos==1.65.0 graphviz==0.20 protobuf"

Why are the changes needed?

It seems that we missed to this at

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.

@dongjoon-hyun
Copy link
Member Author

cc @cloud-fan

dongjoon-hyun added a commit that referenced this pull request Feb 16, 2025
…sion` 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 3f4ba72)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun
Copy link
Member Author

Thank you, @cloud-fan . Merged to master/4.0.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-51227 branch February 16, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants