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-48106][INFRA] Use Python 3.11 in pyspark tests of build_and_test.yml #46353

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented May 3, 2024

What changes were proposed in this pull request?

This PR aims to use Python 3.11 instead of 3.9 in pyspark tests of build_and_test.yml.

Why are the changes needed?

To reduce GitHub Action usage to meet ASF INFRA policy.

Python 3.11 is faster in general.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

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

No.

@github-actions github-actions bot added the INFRA label May 3, 2024
@dongjoon-hyun
Copy link
Member Author

cc @HyukjinKwon

@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review May 3, 2024 03:30
Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if tests pass

@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon !

@dongjoon-hyun
Copy link
Member Author

Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-48106 branch May 3, 2024 06:35
JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
…nd_test.yml`

### What changes were proposed in this pull request?

This PR aims to use Python `3.11` instead of `3.9` in `pyspark` tests of `build_and_test.yml`.

### Why are the changes needed?

To reduce GitHub Action usage to meet ASF INFRA policy.
- https://infra.apache.org/github-actions-policy.html

    > The average number of minutes a project uses in any consecutive five-day period MUST NOT exceed the equivalent of 30 full-time runners (216,000 minutes, or 3,600 hours).

`Python 3.11` is faster in general.
- https://docs.python.org/3/whatsnew/3.11.html#summary-release-highlights

    > Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite.

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

No.

### How was this patch tested?

Pass the CIs.

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

No.

Closes apache#46353 from dongjoon-hyun/SPARK-48106.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants