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 2024/05/27 04:57:34 UTC

(spark) branch master updated: [MINOR][INFRA] Make pure Python build compatible with other setuptools versions

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 90c163753426 [MINOR][INFRA] Make pure Python build compatible with other setuptools versions
90c163753426 is described below

commit 90c163753426916c9dc9f4ad09baa829d8df210c
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Mon May 27 13:57:24 2024 +0900

    [MINOR][INFRA] Make pure Python build compatible with other setuptools versions
    
    ### What changes were proposed in this pull request?
    
    This PR is related to https://github.com/apache/spark/pull/46751. For now, we're using low `setuptools` version so the build is not affected, but it will be broken if we happen to upgrade it at some point. This PR makes the build compatible with `_` and `-`.
    
    ### Why are the changes needed?
    
    This is a proactive action to prevent breaking the build.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #46752 from HyukjinKwon/minor-build.
    
    Authored-by: Hyukjin Kwon <gu...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 .github/workflows/build_python_connect.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_python_connect.yml b/.github/workflows/build_python_connect.yml
index 639b0d084314..2ad56f5c9000 100644
--- a/.github/workflows/build_python_connect.yml
+++ b/.github/workflows/build_python_connect.yml
@@ -70,7 +70,7 @@ jobs:
           cd python
           python packaging/connect/setup.py sdist
           cd dist
-          pip install pyspark-connect-*.tar.gz
+          pip install pyspark*connect-*.tar.gz
           pip install 'six==1.16.0' 'pandas<=2.2.2' scipy 'plotly>=4.8' 'mlflow>=2.8.1' coverage matplotlib openpyxl 'memory-profiler>=0.61.0' 'scikit-learn>=1.3.2' torch torchvision torcheval deepspeed unittest-xml-reporting
       - name: Run tests
         env:


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