-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-54277][INFRA] Make dev/run-tests to ban Python 3.9 and older versions
#52974
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
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HyukjinKwon
approved these changes
Nov 10, 2025
Member
Author
|
Thank you, @HyukjinKwon ! |
dongjoon-hyun
added a commit
that referenced
this pull request
Nov 10, 2025
…er versions ### What changes were proposed in this pull request? This PR aims to make `dev/run-tests` to ban Python 3.9 and older versions. ### Why are the changes needed? This will prevent users from running Python 3.9 and older versions for testing. ``` $ python3 --version Python 3.9.22 $ ./python/run-tests --python-executable python3 Python versions prior to 3.10 are not supported. ``` ### Does this PR introduce _any_ user-facing change? No behavior change because this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #52974 from dongjoon-hyun/SPARK-54277. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit acfedac) Signed-off-by: Dongjoon Hyun <[email protected]>
Member
Author
|
I verified this manually and merged to master/4.1. |
dongjoon-hyun
added a commit
that referenced
this pull request
Nov 10, 2025
…emoving Python 3.9+ condition ### What changes were proposed in this pull request? This PR aims to simplify `pyspark/util.py` doctests by removing Python 3.9+ condition. ### Why are the changes needed? Since Apache Spark 4.1.0 dropped `Python 3.9` support, we can assume that this doctests are Python 3.10+ always. - #51416 - #51259 - #52974 ### Does this PR introduce _any_ user-facing change? No, this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #52975 from dongjoon-hyun/SPARK-54278. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
dongjoon-hyun
added a commit
that referenced
this pull request
Nov 10, 2025
…emoving Python 3.9+ condition ### What changes were proposed in this pull request? This PR aims to simplify `pyspark/util.py` doctests by removing Python 3.9+ condition. ### Why are the changes needed? Since Apache Spark 4.1.0 dropped `Python 3.9` support, we can assume that this doctests are Python 3.10+ always. - #51416 - #51259 - #52974 ### Does this PR introduce _any_ user-facing change? No, this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #52975 from dongjoon-hyun/SPARK-54278. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit dbc643e) Signed-off-by: Dongjoon Hyun <[email protected]>
zifeif2
pushed a commit
to zifeif2/spark
that referenced
this pull request
Nov 22, 2025
…er versions ### What changes were proposed in this pull request? This PR aims to make `dev/run-tests` to ban Python 3.9 and older versions. ### Why are the changes needed? This will prevent users from running Python 3.9 and older versions for testing. ``` $ python3 --version Python 3.9.22 $ ./python/run-tests --python-executable python3 Python versions prior to 3.10 are not supported. ``` ### Does this PR introduce _any_ user-facing change? No behavior change because this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#52974 from dongjoon-hyun/SPARK-54277. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
zifeif2
pushed a commit
to zifeif2/spark
that referenced
this pull request
Nov 22, 2025
…emoving Python 3.9+ condition ### What changes were proposed in this pull request? This PR aims to simplify `pyspark/util.py` doctests by removing Python 3.9+ condition. ### Why are the changes needed? Since Apache Spark 4.1.0 dropped `Python 3.9` support, we can assume that this doctests are Python 3.10+ always. - apache#51416 - apache#51259 - apache#52974 ### Does this PR introduce _any_ user-facing change? No, this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#52975 from dongjoon-hyun/SPARK-54278. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
huangxiaopingRD
pushed a commit
to huangxiaopingRD/spark
that referenced
this pull request
Nov 25, 2025
…er versions ### What changes were proposed in this pull request? This PR aims to make `dev/run-tests` to ban Python 3.9 and older versions. ### Why are the changes needed? This will prevent users from running Python 3.9 and older versions for testing. ``` $ python3 --version Python 3.9.22 $ ./python/run-tests --python-executable python3 Python versions prior to 3.10 are not supported. ``` ### Does this PR introduce _any_ user-facing change? No behavior change because this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#52974 from dongjoon-hyun/SPARK-54277. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
huangxiaopingRD
pushed a commit
to huangxiaopingRD/spark
that referenced
this pull request
Nov 25, 2025
…emoving Python 3.9+ condition ### What changes were proposed in this pull request? This PR aims to simplify `pyspark/util.py` doctests by removing Python 3.9+ condition. ### Why are the changes needed? Since Apache Spark 4.1.0 dropped `Python 3.9` support, we can assume that this doctests are Python 3.10+ always. - apache#51416 - apache#51259 - apache#52974 ### Does this PR introduce _any_ user-facing change? No, this is a test change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#52975 from dongjoon-hyun/SPARK-54278. 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR aims to make
dev/run-teststo ban Python 3.9 and older versions.Why are the changes needed?
This will prevent users from running Python 3.9 and older versions for testing.
Does this PR introduce any user-facing change?
No behavior change because this is a test change.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.