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

dongjoon pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new f993658460e5 [SPARK-54213][PYTHON][CONNECT] Remove Python 3.9 from 
Spark Connect
f993658460e5 is described below

commit f993658460e537948badcc96cdefa0c4e9fac22a
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Nov 5 21:14:26 2025 -0800

    [SPARK-54213][PYTHON][CONNECT] Remove Python 3.9 from Spark Connect
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove `Python 3.9` from `Spark Connect`.
    
    ### Why are the changes needed?
    
    `Python 3.9` reached the end-of-life on 2025-10-31.
    - https://devguide.python.org/versions/#unsupported-versions
    
    Apache Spark 4.1.0 dropped `Python 3.9` support and we don't have a test 
coverage. We had better make it clear even that is `Spark Connect` module.
    - https://github.com/apache/spark/pull/51259
    - https://github.com/apache/spark/pull/51416
    - https://github.com/apache/spark/pull/51631
    - https://github.com/apache/spark/pull/51371
    
    ### Does this PR introduce _any_ user-facing change?
    
    No behavior change for Python 3.10+ users.
    
    ### How was this patch tested?
    
    Pass the CIs and manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #52911 from dongjoon-hyun/SPARK-54213.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 4ba1189dabc46a8cb6fb9abb0e0b9b271487984e)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 python/packaging/connect/setup.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/python/packaging/connect/setup.py 
b/python/packaging/connect/setup.py
index 3b88563bcfe7..bd4d6fc93b6f 100755
--- a/python/packaging/connect/setup.py
+++ b/python/packaging/connect/setup.py
@@ -124,10 +124,9 @@ try:
             "numpy>=%s" % _minimum_numpy_version,
             "pyyaml>=%s" % _minimum_pyyaml_version,
         ],
-        python_requires=">=3.9",
+        python_requires=">=3.10",
         classifiers=[
             "Development Status :: 5 - Production/Stable",
-            "Programming Language :: Python :: 3.9",
             "Programming Language :: Python :: 3.10",
             "Programming Language :: Python :: 3.11",
             "Programming Language :: Python :: 3.12",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to