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

jiayu pushed a commit to branch prepare-1.7.2
in repository https://gitbox.apache.org/repos/asf/sedona.git

commit ed5df81ca36920db0ada10bb08449a512fbaa56a
Author: Jia Yu <[email protected]>
AuthorDate: Fri Apr 25 22:14:02 2025 -0700

    [CI] Fix failed Python build extension CI (#1928)
---
 .github/workflows/python-extension.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/python-extension.yml 
b/.github/workflows/python-extension.yml
index 59025cfb7b..0e29734073 100644
--- a/.github/workflows/python-extension.yml
+++ b/.github/workflows/python-extension.yml
@@ -62,8 +62,13 @@ jobs:
       - name: Install dependencies
         run: |
           cd python
-          pipenv --python ${{ matrix.python }}
-          pipenv install --dev
+          if [[ "$RUNNER_OS" == "Windows" ]]; then
+              PYTHON_EXE_PATH="$pythonLocation/python.exe"
+          else
+              PYTHON_EXE_PATH="$pythonLocation/python"
+          fi
+          echo "Using Python executable at: $PYTHON_EXE_PATH"
+          pipenv install --dev --python "$PYTHON_EXE_PATH"
       - name: Build extension
         run: |
           cd python

Reply via email to