From 533877f5a610d68c704fde1fc7fa61a9df3d89da Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Wed, 2 Oct 2024 15:33:03 +0100 Subject: [PATCH] Use python3 instead of python for macos wheels build (#5737) --- .github/workflows/build_wheels_macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index d7e0cfd016..f73d0d193f 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -47,7 +47,7 @@ on: build-command: description: The build command to use if build-platform is python-build-package required: false - default: "python -m build --wheel" + default: "python3 -m build --wheel" type: string env-var-script: description: "Script that sets Domain-Specific Environment Variables" @@ -181,7 +181,7 @@ jobs: PYTORCH_VERSION="$(${CONDA_RUN} pip show torch | grep ^Version: | sed 's/Version: *//')" export PYTORCH_VERSION - ${CONDA_RUN} python -m pip install build + ${CONDA_RUN} python3 -m pip install build echo "Successfully installed Python build package" ${CONDA_RUN} ${{ inputs.build-command }}