Skip to content

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

Closed
dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
dongjoon-hyun:SPARK-51227
Closed

[SPARK-51227][PYTHON][CONNECT] Fix PySpark Connect _minimum_grpc_version to 1.67.0#49968
dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
dongjoon-hyun:SPARK-51227

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
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 14, 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/acc254463533b863b8afe8dccad6565bbff9e35c/python/docs/source/getting_started/install.rst?plain=1#L211

https://github.com/apache/spark/blob/acc254463533b863b8afe8dccad6565bbff9e35c/dev/spark-test-image/python-minimum/Dockerfile#L76

### Why are the changes needed?

It seems that we missed to this at
- apache#44929
- apache#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 apache#49968 from dongjoon-hyun/SPARK-51227.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 52fc668)
Signed-off-by: Dongjoon Hyun <[email protected]>
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