You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2026/04/09 23:30:32 UTC

(spark) branch master updated: [SPARK-56427][PYTHON][INFRA] Remove six and py from requirements.txt

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

gurwls223 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 975f7b8e7c4e [SPARK-56427][PYTHON][INFRA] Remove six and py from requirements.txt
975f7b8e7c4e is described below

commit 975f7b8e7c4e4c47247a8943d441013e84a82d0c
Author: Tian Gao <ga...@hotmail.com>
AuthorDate: Fri Apr 10 08:30:18 2026 +0900

    [SPARK-56427][PYTHON][INFRA] Remove six and py from requirements.txt
    
    ### What changes were proposed in this pull request?
    
    Remove `six` and `py` from `requirements.txt`
    
    ### Why are the changes needed?
    
    They are not used. `six` is a python2 to python3 package which we can't be using anymore. `py` is a random package related package. It was added a few years ago to fix a missed import. The import is not in our code base anymore so we can remove it.
    
    ### 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 #55283 from gaogaotiantian/remove-unused-package.
    
    Authored-by: Tian Gao <ga...@hotmail.com>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 dev/requirements.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev/requirements.txt b/dev/requirements.txt
index 5887b3afcfb8..525353a2b5f8 100644
--- a/dev/requirements.txt
+++ b/dev/requirements.txt
@@ -4,7 +4,6 @@ py4j>=0.10.9.9
 # PySpark dependencies (optional)
 numpy>=1.22
 pyarrow>=18.0.0
-six==1.16.0
 pandas>=2.2.0
 scipy>=1.8.0
 plotly<6.0.0
@@ -65,7 +64,6 @@ PyGithub
 
 # pandas API on Spark Code formatter.
 black==26.3.1
-py
 
 # Spark Connect (required)
 grpcio>=1.76.0


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