You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ue...@apache.org on 2023/07/31 17:48:59 UTC

[spark] branch branch-3.5 updated: [SPARK-44603] Add pyspark.testing to setup.py

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

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


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 242ac2377ea [SPARK-44603] Add pyspark.testing to setup.py
242ac2377ea is described below

commit 242ac2377ea14a62501ee7612e897cef686dadbe
Author: Amanda Liu <am...@databricks.com>
AuthorDate: Mon Jul 31 10:48:37 2023 -0700

    [SPARK-44603] Add pyspark.testing to setup.py
    
    ### What changes were proposed in this pull request?
    This PR adds the pyspark.testing package to the Python setup.py file.
    
    ### Why are the changes needed?
    The change ensures that the PySpark test utils are available when users pip install PySpark.
    
    ### Does this PR introduce _any_ user-facing change?
    Yes, the PR allows users to use the PySpark test utils.
    
    ### How was this patch tested?
    Existing tests.
    
    Closes #42231 from asl3/testing-setup.
    
    Authored-by: Amanda Liu <am...@databricks.com>
    Signed-off-by: Takuya UESHIN <ue...@databricks.com>
    (cherry picked from commit 1380a3df08e9fc9d7d50bc8dd5d7abee66d92510)
    Signed-off-by: Takuya UESHIN <ue...@databricks.com>
---
 python/setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python/setup.py b/python/setup.py
index 3774273c421..a0297d4f9dc 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -263,6 +263,7 @@ try:
             "pyspark.pandas.usage_logging",
             "pyspark.python.pyspark",
             "pyspark.python.lib",
+            "pyspark.testing",
             "pyspark.data",
             "pyspark.licenses",
             "pyspark.resource",


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