From: Nick Porter Date: Wed, 2 Nov 2022 11:15:56 +0000 (+0000) Subject: Ensure Python 3.10 used on MacOS until 3.11 supported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f53d3230e7ad6095a3b8f85990f585d17bc06ec8;p=thirdparty%2Ffreeradius-server.git Ensure Python 3.10 used on MacOS until 3.11 supported There are deprecated functions which break the build with Python 3.11 --- diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index c71a1b9fdfa..51e143e5441 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -101,6 +101,7 @@ jobs: mruby \ openssl@1.1 \ openssl \ + python@3.10 \ talloc ln -s `brew --prefix`/opt/make/bin/gmake /usr/local/bin/make echo "#! /bin/sh" >> /usr/local/bin/nproc @@ -122,6 +123,13 @@ jobs: run: | echo "PATH=`brew --prefix`/opt/llvm@14/bin/:$PATH" >> $GITHUB_ENV + # + # Ensure Python 3.10 is used + # + - name: Set path for Python 3.10 + run: | + echo "PATH=`brew --prefix python@3.10`/bin/:$PATH" >> $GITHUB_ENV + # # Build using some alternative libraries #