Uh oh!
There was an error while loading. Please reload this page.
[SPARK-57771][INFRA] Use Python 3.11 in spark-rm release image - #56885
[SPARK-57771][INFRA] Use Python 3.11 in spark-rm release image#56885dongjoon-hyun wants to merge 1 commit into
spark-rm release image#56885Conversation
Hi, @cloud-fan , @HyukjinKwon , @zhengruifeng . Ideally, we need to upgrade to the latest Ubuntu OS in order to use WDYT? |
cloud-fan
commented
Jun 30, 2026
I'm +1, but what's the test plan? @huaxingao will cut the next RC with python 3.11? |
Thank you, @zhengruifeng and @cloud-fan . I'm targeting
Apache Spark 4.2.0 and older will use the unchanged |
### What changes were proposed in this pull request? This PR uses `Python 3.11` instead of 3.10 in `dev/create-release/spark-rm/Dockerfile` for Apache Spark 4.3.0+. ### Why are the changes needed? Since `Python 3.10` reaches end-of-life in October 2026 before Apache Spark 4.3.0 release, Apache Spark 3.4.0 dropped it. - #55914 So, ideally, we need to use Python 3.11+ in the release script. However, recently, on 2026-01-23, we share `Dockerfile.base` for all maintenance releases and `ubuntu:jammy` has only `Python 3.11.0rc1`. Since `Python 3.11.0rc1` is better than the EOL `Python 3.10`, this PR upgrades it only for Spark release. - #53905https://github.com/apache/spark/blob/e28edaf0480e19abca83cd2b215450b85fdaf438/dev/create-release/spark-rm/Dockerfile.base#L30 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.8 Closes#56885 from dongjoon-hyun/SPARK-57771. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit a57c537) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun
commented
Jun 30, 2026
Merged to master/4.x for Apache Spark 4.3.0-preview1. |
What changes were proposed in this pull request?
This PR uses
Python 3.11instead of 3.10 indev/create-release/spark-rm/Dockerfilefor Apache Spark 4.3.0+.Why are the changes needed?
Since
Python 3.10reaches end-of-life in October 2026 before Apache Spark 4.3.0 release, Apache Spark 3.4.0 dropped it.So, ideally, we need to use Python 3.11+ in the release script. However, recently, on 2026-01-23, we share
Dockerfile.basefor all maintenance releases andubuntu:jammyhas onlyPython 3.11.0rc1. SincePython 3.11.0rc1is better than the EOLPython 3.10, this PR upgrades it only for Spark release.spark/dev/create-release/spark-rm/Dockerfile.base
Line 30 in e28edaf
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual review.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.8