From 6a4756413e283ddb1d9ef8e97e3ca13d5554a303 Mon Sep 17 00:00:00 2001 From: Alex Turner Date: Tue, 15 Oct 2024 07:57:26 -0700 Subject: [PATCH] Add python source build --- .github/actions/build-python-from-source/action.yml | 1 - .github/workflows/build.yml | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/actions/build-python-from-source/action.yml b/.github/actions/build-python-from-source/action.yml index 41a98ce..ab33894 100644 --- a/.github/actions/build-python-from-source/action.yml +++ b/.github/actions/build-python-from-source/action.yml @@ -103,7 +103,6 @@ runs: # Install the built Python version. - name: Install Python - if: steps.cpython-cache.outputs.cache-hit != 'true' shell: bash run: | cd cpython diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cda0c59..3f4a1e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,8 +90,9 @@ jobs: - name: Install/Upgrade pip shell: bash run: | - $LOCAL_PYTHON -P -m ensurepip - $LOCAL_PYTHON -P -m pip install --upgrade pip + cd .. + $LOCAL_PYTHON -m ensurepip + $LOCAL_PYTHON -m pip install --upgrade pip # Make sure Visual Studio build is all in place on Windows. - name: Setup MSVC @@ -102,7 +103,8 @@ jobs: - name: Install dependencies shell: bash run: | - $LOCAL_PYTHON -P -m pip install --upgrade setuptools wheel + cd .. + $LOCAL_PYTHON -m pip install --upgrade setuptools wheel # Build the wheel package with or without nogil suffix. - name: Build