Skip to content

Commit 59476c9

Browse files
authored
workflows/release-binaries: Fix problem with python installation on macos-14 (#101774)
python3 wasn't able to see modules installed by pip, so we need to use the setup-python action to ensure that the default pip and python3 both use the same prefix. See actions/runner-images#10385
1 parent a99e8c9 commit 59476c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release-binaries.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
release-binary-filename: ${{ steps.vars.outputs.release-binary-filename }}
5858

5959
steps:
60+
# It's good practice to use setup-python, but this is also required on macos-14
61+
# due to https://github.com/actions/runner-images/issues/10385
62+
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f
63+
with:
64+
python-version: '3.12'
65+
6066
- name: Checkout LLVM
6167
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
6268

0 commit comments

Comments
 (0)