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
pull/14047/head
David Robertson 2022-10-04 14:59:30 +01:00 committed by GitHub
parent b4ec4f5e71
commit 04ce2edddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -108,6 +108,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
# setup-python@v4 doesn't impose a default python version. Need to use 3.x
# here, because `python` on osx points to Python 2.7.
python-version: "3.x"
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.9.0 poetry==1.2.0

1
changelog.d/14046.misc Normal file
View File

@ -0,0 +1 @@
Bump actions/setup-python from 2 to 4.