From 6ac7044d394173c181ed74e207905651762c26cc Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 29 Jun 2023 23:06:31 -0500 Subject: [PATCH] Use minimum supported Python 3.8 over default x-range which points to Python 3.7 See https://github.com/matrix-org/synapse/pull/15851#discussion_r1247395557 --- .github/workflows/release-artifacts.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 09812004017f..c84a2e308408 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: '3.8' - id: set-distros run: | # if we're running from a tag, get the full list of distros; otherwise just use debian:sid @@ -76,7 +76,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: '3.8' - name: Build the packages # see https://github.com/docker/build-push-action/issues/252 @@ -125,9 +125,10 @@ jobs: - 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" + # setup-python@v4 doesn't impose a default python version. We define a version + # here because `python` on osx points to Python 2.7. We use the minimium + # supported Python version that Synapse supports. + python-version: "3.8" - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.9.0