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 <[email protected]> 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
