Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 04ce2ed

Browse files
author
David Robertson
authored
Fix building wheels on OSX (#14046)
* Fix building wheels on OSX Follow-up to #13983. I missed a breaking change in setup-python v4. Serves me right for rushing to cut through the dependabot spam. * Changelog * Merge changelog
1 parent b4ec4f5 commit 04ce2ed

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release-artifacts.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ jobs:
108108
- uses: actions/checkout@v3
109109

110110
- uses: actions/setup-python@v4
111+
with:
112+
# setup-python@v4 doesn't impose a default python version. Need to use 3.x
113+
# here, because `python` on osx points to Python 2.7.
114+
python-version: "3.x"
111115

112116
- name: Install cibuildwheel
113117
run: python -m pip install cibuildwheel==2.9.0 poetry==1.2.0

changelog.d/14046.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump actions/setup-python from 2 to 4.

0 commit comments

Comments
 (0)