Skip to content

Commit

Permalink
Use python3 instead of python for macos wheels build (#5737)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Oct 2, 2024
1 parent 9aa668e commit 533877f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 533877f

Please sign in to comment.