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-50014][INFRA] Use grpcio* 1.67.0 in Python 3.13 image #48522

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Oct 17, 2024

What changes were proposed in this pull request?

This PR aims to use grpcio and grpcio-status 1.67.0 for Python 3.13 tests in order to reveal the remaining test failures after installing the official grpcio in Python 3.13 environment.

Why are the changes needed?

grpcio added Python 3.13 support since 1.66.2.

Does this PR introduce any user-facing change?

No, this is an infra change for test coverage. Currently, pyspark-connect module test fails due to the missing required package, grpc, like the following.

ModuleNotFoundError: No module named 'grpc'

How was this patch tested?

Manual check the generated image of this PR builder.

$ docker run -it --rm ghcr.io/dongjoon-hyun/apache-spark-ci-image:master-11389776259 python3.13 -m pip list | grep grpcio
grpcio                   1.67.0
grpcio-status            1.67.0

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Oct 17, 2024
@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Oct 17, 2024

Could you review this infra PR for Python 3.13 support, @huaxingao ?

The image build succeeded already and I manually validate. And, the CI result is irrelevant to this PR because Python 3.13 is only used in Daily CI seperately.

@dongjoon-hyun
Copy link
Member Author

Thank you, @huaxingao !

@dongjoon-hyun
Copy link
Member Author

Let me merge this because Today's Python 3.13 test will start soon.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-50014 branch October 17, 2024 18:26
@dongjoon-hyun
Copy link
Member Author

For the record, grpc installation error is gone successfully.

himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
### What changes were proposed in this pull request?

This PR aims to use `grpcio` and `grpcio-status` `1.67.0` for Python 3.13 tests in order to reveal the remaining test failures after installing the official `grpcio` in Python 3.13 environment.

### Why are the changes needed?

`grpcio` added Python 3.13 support since 1.66.2.
- https://pypi.org/project/grpcio/1.67.0/
- https://pypi.org/project/grpcio/1.66.2/

### Does this PR introduce _any_ user-facing change?

No, this is an infra change for test coverage. Currently, `pyspark-connect` module test fails due to the missing required package, `grpc`, like the following.

- https://github.com/apache/spark/actions/runs/11372942311/job/31638495254
```
ModuleNotFoundError: No module named 'grpc'
```

### How was this patch tested?

Manual check the generated image of this PR builder.
```
$ docker run -it --rm ghcr.io/dongjoon-hyun/apache-spark-ci-image:master-11389776259 python3.13 -m pip list | grep grpcio
grpcio                   1.67.0
grpcio-status            1.67.0
```

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#48522 from dongjoon-hyun/SPARK-50014.

Authored-by: Dongjoon Hyun <[email protected]>
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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants