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 918c50afa007 [SPARK-46894][PYTHON][FOLLOW-UP] Includes 
`error-conditions.json` into PyPI package
918c50afa007 is described below

commit 918c50afa0071a73cd032aefba0b01d37cce181f
Author: Hyukjin Kwon <gurwls...@apache.org>
AuthorDate: Thu May 2 10:52:20 2024 +0900

    [SPARK-46894][PYTHON][FOLLOW-UP] Includes `error-conditions.json` into PyPI 
package
    
    ### What changes were proposed in this pull request?
    
    This PR is a followup of https://github.com/apache/spark/pull/44920 that 
includes `error-conditions.json` into PyPI package.
    
    ### Why are the changes needed?
    
    So PyPI packages work with pip install. 
https://github.com/apache/spark/actions/runs/8913716987/job/24479781481 is 
broken for now.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, the main change has not been released out yet.
    
    ### How was this patch tested?
    
    Manually tested the packaging, and check the file exists in the package.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #46328 from HyukjinKwon/SPARK-46894-followup.
    
    Authored-by: Hyukjin Kwon <gurwls...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 python/packaging/connect/setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python/packaging/connect/setup.py 
b/python/packaging/connect/setup.py
index 1ded93fe5693..20133dc9eb11 100755
--- a/python/packaging/connect/setup.py
+++ b/python/packaging/connect/setup.py
@@ -180,6 +180,7 @@ try:
         author_email="d...@spark.apache.org",
         url="https://github.com/apache/spark/tree/master/python";,
         packages=connect_packages + test_packages,
+        include_package_data=True,
         license="http://www.apache.org/licenses/LICENSE-2.0";,
         # Don't forget to update python/docs/source/getting_started/install.rst
         # if you're updating the versions or dependencies.


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

Reply via email to