Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Sep 11, 2024

What changes were proposed in this pull request?

Apache Spark 4.0.0 supports only Python 3.9+.

Why are the changes needed?

To simplify and clarify the logic. I manually confirmed that this is the last logic about sys.version_info and (3, 7).

$ git grep 'sys.version_info' | grep '(3, 7)'
python/pyspark/util.py:    if sys.version_info[:2] < (3, 7):
python/pyspark/util.py:    if "pypy" not in platform.python_implementation().lower() and sys.version_info[:2] >= (3, 7):

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.

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

+1, LGTM

@dongjoon-hyun
Copy link
Member Author

Thank you, @LuciferYang .

@dongjoon-hyun
Copy link
Member Author

Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-49600 branch September 11, 2024 17:34
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