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

dongjoon 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 bb85bbcf16f7 [SPARK-46501][INFRA] List the python packages with the 
correct versions
bb85bbcf16f7 is described below

commit bb85bbcf16f7c837a47d0cf430bc94899709c254
Author: Ruifeng Zheng <ruife...@apache.org>
AuthorDate: Mon Dec 25 15:28:44 2023 -0800

    [SPARK-46501][INFRA] List the python packages with the correct versions
    
    ### What changes were proposed in this pull request?
    List the python packages with the correct versions
    
    ### Why are the changes needed?
    the version here should be in `PYTHON_TO_TEST `
    
    ### Does this PR introduce _any_ user-facing change?
    no, infra-only
    
    ### How was this patch tested?
    ci
    
    ### Was this patch authored or co-authored using generative AI tooling?
    no
    
    Closes #44479 from zhengruifeng/infra_pip_list.
    
    Authored-by: Ruifeng Zheng <ruife...@apache.org>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .github/workflows/build_and_test.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index a337eaa7864d..a4aca07d69f7 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -429,10 +429,14 @@ jobs:
       with:
         distribution: zulu
         java-version: ${{ matrix.java }}
-    - name: List Python packages (Python 3.9, PyPy3)
+    - name: List Python packages (${{ env.PYTHON_TO_TEST }})
+      shell: 'script -q -e -c "bash {0}"'
       run: |
-        python3.9 -m pip list
-        pypy3 -m pip list
+        for py in $(echo $PYTHON_TO_TEST | tr "," "\n")
+        do
+          echo $py
+          $py -m pip list
+        done
     - name: Install Conda for pip packaging test
       if: contains(matrix.modules, 'pyspark-errors')
       run: |


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

Reply via email to