summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-10-04 14:59:30 +0100
committerGitHub <noreply@github.com>2022-10-04 14:59:30 +0100
commit04ce2edddcf9edec1af8416a3ea26526e8a7a2a3 (patch)
tree13151447b31807ab72f082b8b69ebd8fcdc8076e
parentTrack notification counts per thread (implement MSC3773). (#13776) (diff)
downloadsynapse-04ce2edddcf9edec1af8416a3ea26526e8a7a2a3.tar.xz
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
-rw-r--r--.github/workflows/release-artifacts.yml4
-rw-r--r--changelog.d/14046.misc1
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml
index 745e787013..1c004fbc11 100644
--- a/.github/workflows/release-artifacts.yml
+++ b/.github/workflows/release-artifacts.yml
@@ -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
diff --git a/changelog.d/14046.misc b/changelog.d/14046.misc
new file mode 100644
index 0000000000..69ed75be90
--- /dev/null
+++ b/changelog.d/14046.misc
@@ -0,0 +1 @@
+Bump actions/setup-python from 2 to 4.