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 4221c66919d [SPARK-46002][INFRA][FOLLOWUP] Upgrade to Python 3.9 in
daily maven test
4221c66919d is described below
commit 4221c66919d950342134b9490d288c5f1ba66135
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Thu Nov 23 16:18:00 2023 +0800
[SPARK-46002][INFRA][FOLLOWUP] Upgrade to Python 3.9 in daily maven test
### What changes were proposed in this pull request?
Upgrade to Python 3.9 in daily maven test
### Why are the changes needed?
to be consistent with https://github.com/apache/spark/pull/43902
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #43975 from zhengruifeng/infra_sql_py_followup.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[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 6d2c25f0770..b43df059b0a 100644
--- a/.github/workflows/maven_test.yml
+++ b/.github/workflows/maven_test.yml
@@ -152,20 +152,20 @@ jobs:
with:
distribution: temurin
java-version: ${{ matrix.java }}
- - name: Install Python 3.8
+ - name: Install Python 3.9
uses: actions/setup-python@v4
# 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'))
with:
- python-version: 3.8
+ python-version: '3.9'
architecture: x64
- - name: Install Python packages (Python 3.8)
+ - name: Install Python packages (Python 3.9)
if: (contains(matrix.modules, 'sql#core'))
run: |
- python3.8 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy
unittest-xml-reporting 'grpcio==1.56.0' 'protobuf==3.20.3'
- python3.8 -m pip list
+ python3.9 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy
unittest-xml-reporting 'grpcio==1.59.3' 'grpcio-status==1.59.3'
'protobuf==4.25.1'
+ python3.9 -m pip list
# Run the tests.
- name: Run tests
env: ${{ fromJSON(inputs.envs) }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]