[SPARK-56889][PYTHON][INFRA] Drop Python 3.10 Support#55914
Closed
dongjoon-hyun wants to merge 1 commit into
Closed
[SPARK-56889][PYTHON][INFRA] Drop Python 3.10 Support#55914dongjoon-hyun wants to merge 1 commit into
dongjoon-hyun wants to merge 1 commit into
Conversation
203ac7e to
47f7690
Compare
Member
Author
|
Could you review this PR, @LuciferYang ? This is for Apache Spark 4.3. |
Member
Author
|
Thank you, @LuciferYang ~ Merged to master/4.x. |
dongjoon-hyun
added a commit
that referenced
this pull request
May 16, 2026
This PR drops Python 3.10 support at `Apache Spark 4.3.0`. For the record, we have been moved to `Python 3.11` mainly since Apache Spark 4.0.0. - https://github.com/apache/spark/actions/workflows/build_branch40_python.yml (Python 3.11) Python 3.10 reaches end-of-life in October 2026 before Apache Spark 4.3.0 release. Dropping it on `master/branch-4.x` lets PySpark 4.3+ rely on Python 3.11+ language features. Yes. Installing PySpark from `master` on Python 3.10 will fail with `Requires-Python: >=3.11`. Released versions are unaffected. Existing CI (`build_python_3.11.yml` through `build_python_3.14*.yml`, `build_python_minimum.yml`, `build_python_ps_minimum.yml`). Generated-by: Claude Code (Opus 4.7) Closes #55914 from dongjoon-hyun/SPARK-56889. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 0a0d31b) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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
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 drops Python 3.10 support at
Apache Spark 4.3.0.For the record, we have been moved to
Python 3.11mainly since Apache Spark 4.0.0.Why are the changes needed?
Python 3.10 reaches end-of-life in October 2026 before Apache Spark 4.3.0 release. Dropping it on
master/branch-4.xlets PySpark 4.3+ rely on Python 3.11+ language features.Does this PR introduce any user-facing change?
Yes. Installing PySpark from
masteron Python 3.10 will fail withRequires-Python: >=3.11. Released versions are unaffected.How was this patch tested?
Existing CI (
build_python_3.11.ymlthroughbuild_python_3.14*.yml,build_python_minimum.yml,build_python_ps_minimum.yml).Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.7)