This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new b06e9c5466a7 [SPARK-55142][PYTHON][INFRA] Apply Python 3.12 for
PySpark Tests in PR build
b06e9c5466a7 is described below
commit b06e9c5466a7771067491b73e3a25557dffcd9e9
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Fri Jan 23 14:47:36 2026 +0800
[SPARK-55142][PYTHON][INFRA] Apply Python 3.12 for PySpark Tests in PR build
### What changes were proposed in this pull request?
Apply Python 3.12 in PR build for pyspark tests
Note, doc, lint, non-python tests are excluded for now, need to upgrade
them in separate PRs
### Why are the changes needed?
it has been more than one year since we upgrade it to Python 3.11
https://github.com/apache/spark/commit/3f8e3959108dd734aca531992c9a22f4ddf79ba9
in Spark 4.0
### Does this PR introduce _any_ user-facing change?
No, infra-only
### How was this patch tested?
PR build
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #53927 from zhengruifeng/upgrade_py_312.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
.github/workflows/build_and_test.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index c27001fd3576..98bf0a05e9fd 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -41,7 +41,7 @@ on:
description: Additional environment variables to set when running the
tests. Should be in JSON format.
required: false
type: string
- default: '{"PYSPARK_IMAGE_TO_TEST": "python-311", "PYTHON_TO_TEST":
"python3.11"}'
+ default: '{"PYSPARK_IMAGE_TO_TEST": "python-312", "PYTHON_TO_TEST":
"python3.12"}'
jobs:
description: >-
Jobs to run, and should be in JSON format. The values should be
matched with the job's key defined
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]