Build macOS packages with latest Python 3.11

This commit is contained in:
Philipp Wolfer
2022-12-20 21:49:13 +01:00
parent 49b05370ac
commit 0a9b259e43
2 changed files with 3 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ jobs:
DISCID_SHA256SUM: f9e443ac4c0dd4819c2841fcc82169a46fb9a626352cdb9c7f65dd3624cd31b9
FPCALC_VERSION: 1.5.1
FPCALC_SHA256SUM: d4d8faff4b5f7c558d9be053da47804f9501eaa6c2f87906a9f040f38d61c860
PYTHON_VERSION: 3.9.13
PYTHON_SHA256SUM: 167c4e2d9f172a617ba6f3b08783cf376dec429386378066eb2f865c98030dd7
PYTHON_VERSION: 3.11.1
PYTHON_SHA256SUM: f4de33ad3ef09c3e31196b296aec761eabab4564fc8c25e50ea99edd01969819
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos-deployment-version }}
steps:
- uses: actions/checkout@v3

View File

@@ -7,7 +7,7 @@ brew link gettext --force
# Install requested Python version
if [ -n "$PYTHON_VERSION" ]; then
PYTHON_FILENAME=python-$PYTHON_VERSION-macosx10.9.pkg
PYTHON_FILENAME=python-$PYTHON_VERSION-macos11.pkg
wget "https://www.python.org/ftp/python/$PYTHON_VERSION/$PYTHON_FILENAME"
echo "$PYTHON_SHA256SUM $PYTHON_FILENAME" | shasum --algorithm 256 --check --status
sudo installer -pkg "$PYTHON_FILENAME" -target /