You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/07/04 03:51:08 UTC

(spark) branch master updated: [SPARK-52680][INFRA] Remove Python 3.9 GitHub Action CI

This is an automated email from the ASF dual-hosted git repository.

dongjoon 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 5a8cd9749845 [SPARK-52680][INFRA] Remove Python 3.9 GitHub Action CI
5a8cd9749845 is described below

commit 5a8cd97498454cd9bf558aba0af1614549c0924f
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Jul 3 20:50:57 2025 -0700

    [SPARK-52680][INFRA] Remove Python 3.9 GitHub Action CI
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove Python 3.9 GitHub Action CI for `Apache Spark 4.1.0.`
    - https://github.com/apache/spark/actions/workflows/build_python_3.9.yml
    
    This PR doesn't aim to delete Python 3.9 infra image because it can be used by `branch-4.0`.
    
    ### Why are the changes needed?
    
    Python 3.9 will reach the end of support on October.
    - https://devguide.python.org/versions/#supported-versions
    
    We are moving the minimum requirements to Python 3.10 already.
    - https://github.com/apache/spark/pull/51259
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is an infra change.
    
    ### How was this patch tested?
    
    Manual review because this is a removal of test coverage.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #51371 from dongjoon-hyun/SPARK-52680.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .github/workflows/build_python_3.9.yml | 47 ----------------------------------
 README.md                              |  1 -
 2 files changed, 48 deletions(-)

diff --git a/.github/workflows/build_python_3.9.yml b/.github/workflows/build_python_3.9.yml
deleted file mode 100644
index 0df17699140e..000000000000
--- a/.github/workflows/build_python_3.9.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-name: "Build / Python-only (master, Python 3.9)"
-
-on:
-  schedule:
-    - cron: '0 21 * * *'
-  workflow_dispatch:
-
-jobs:
-  run-build:
-    permissions:
-      packages: write
-    name: Run
-    uses: ./.github/workflows/build_and_test.yml
-    if: github.repository == 'apache/spark'
-    with:
-      java: 17
-      branch: master
-      hadoop: hadoop3
-      envs: >-
-        {
-          "PYSPARK_IMAGE_TO_TEST": "python-309",
-          "PYTHON_TO_TEST": "python3.9"
-        }
-      jobs: >-
-        {
-          "pyspark": "true",
-          "pyspark-pandas": "true"
-        }
diff --git a/README.md b/README.md
index 0f0bf039550d..17344563d90a 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,6 @@ This README file only contains basic setup instructions.
 |            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_maven_java21_arm.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_maven_java21_arm.yml)                 |
 |            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_coverage.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_coverage.yml)                          |
 |            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_python_pypy3.10.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_python_pypy3.10.yml)                   |
-|            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_python_3.9.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_python_3.9.yml)                             |
 |            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_python_3.10.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_python_3.10.yml)                           |
 |            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_python_3.11_classic_only.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_python_3.11_classic_only.yml) |
 |            | [![GitHub Actions Build](https://github.com/apache/spark/actions/workflows/build_python_3.11_arm.yml/badge.svg)](https://github.com/apache/spark/actions/workflows/build_python_3.11_arm.yml)                   |


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org