Skip to content

Commit 533877f

Browse files
authored
Use python3 instead of python for macos wheels build (#5737)
1 parent 9aa668e commit 533877f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_wheels_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ on:
4747
build-command:
4848
description: The build command to use if build-platform is python-build-package
4949
required: false
50-
default: "python -m build --wheel"
50+
default: "python3 -m build --wheel"
5151
type: string
5252
env-var-script:
5353
description: "Script that sets Domain-Specific Environment Variables"
@@ -181,7 +181,7 @@ jobs:
181181
PYTORCH_VERSION="$(${CONDA_RUN} pip show torch | grep ^Version: | sed 's/Version: *//')"
182182
export PYTORCH_VERSION
183183
184-
${CONDA_RUN} python -m pip install build
184+
${CONDA_RUN} python3 -m pip install build
185185
echo "Successfully installed Python build package"
186186
187187
${CONDA_RUN} ${{ inputs.build-command }}

0 commit comments

Comments
 (0)