You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2025/04/26 05:01:56 UTC

(sedona) branch python-build-extension created (now 84ff46fc93)

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

jiayu pushed a change to branch python-build-extension
in repository https://gitbox.apache.org/repos/asf/sedona.git


      at 84ff46fc93 Fix failed Python build extension

This branch includes the following new commits:

     new 84ff46fc93 Fix failed Python build extension

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(sedona) 01/01: Fix failed Python build extension

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 84ff46fc934500bb0e70e86380591e541fbcf4f2
Author: Jia Yu <ji...@apache.org>
AuthorDate: Fri Apr 25 22:01:42 2025 -0700

    Fix failed Python build extension
---
 .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