This is an automated email from the ASF dual-hosted git repository.
yangjie01 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 718cbf54b397 [SPARK-55184][INFRA] Upgrade Python to 3.12 for Maven's
daily testing
718cbf54b397 is described below
commit 718cbf54b397fdc28f6aa26ba2717c86cfb013e5
Author: yangjie01 <[email protected]>
AuthorDate: Mon Jan 26 13:57:49 2026 +0800
[SPARK-55184][INFRA] Upgrade Python to 3.12 for Maven's daily testing
### What changes were proposed in this pull request?
This pr aims to upgrade Python to 3.12 for Maven's daily testing
### Why are the changes needed?
Keep it consistent with the daily test of sbt.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
- Pass GitHub Actions
- test with maven :
https://github.com/LuciferYang/spark/actions/runs/21344673830
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #53966 from LuciferYang/maven-daily-py312.
Lead-authored-by: yangjie01 <[email protected]>
Co-authored-by: YangJie <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
---
.github/workflows/maven_test.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/maven_test.yml b/.github/workflows/maven_test.yml
index ef5aaacf2104..31c783190004 100644
--- a/.github/workflows/maven_test.yml
+++ b/.github/workflows/maven_test.yml
@@ -169,20 +169,20 @@ jobs:
with:
distribution: zulu
java-version: ${{ matrix.java }}
- - name: Install Python 3.11
+ - name: Install Python 3.12
uses: actions/setup-python@v5
# We should install one Python that is higher than 3+ for SQL and Yarn
because:
# - SQL component also has Python related tests, for example,
IntegratedUDFTestUtils.
# - Yarn has a Python specific test too, for example, YarnClusterSuite.
if: contains(matrix.modules, 'resource-managers#yarn') ||
(contains(matrix.modules, 'sql#core')) || contains(matrix.modules, 'connect')
with:
- python-version: '3.11'
+ python-version: '3.12'
architecture: ${{ inputs.arch }}
- - name: Install Python packages (Python 3.11)
+ - name: Install Python packages (Python 3.12)
if: contains(matrix.modules, 'resource-managers#yarn') ||
(contains(matrix.modules, 'sql#core')) || contains(matrix.modules, 'connect')
run: |
- python3.11 -m pip install 'numpy>=1.22' pyarrow 'pandas==2.3.3'
pyyaml scipy unittest-xml-reporting 'grpcio==1.76.0' 'grpcio-status==1.76.0'
'protobuf==6.33.0' 'zstandard==0.25.0'
- python3.11 -m pip list
+ python3.12 -m pip install 'numpy>=1.22' pyarrow 'pandas==2.3.3'
pyyaml scipy unittest-xml-reporting 'grpcio==1.76.0' 'grpcio-status==1.76.0'
'protobuf==6.33.0' 'zstandard==0.25.0'
+ python3.12 -m pip list
# Run the tests using script command.
# BSD's script command doesn't support -c option, and the usage is
different from Linux's one.
# The kind of script command is tested by `script -qec true`.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]