This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 0ce82e823a [CI] Fix failed Python build extension CI (#1928)
0ce82e823a is described below
commit 0ce82e823a2d7ddaa4d158dc5b9fd024800df70f
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