diff --git a/contrib/osx/make_osx.sh b/contrib/osx/make_osx.sh index 3f5f0e03d..aedabdda8 100755 --- a/contrib/osx/make_osx.sh +++ b/contrib/osx/make_osx.sh @@ -3,8 +3,8 @@ set -e # Parameterize -PYTHON_VERSION=3.9.13 -PY_VER_MAJOR="3.9" # as it appears in fs paths +PYTHON_VERSION=3.10.11 +PY_VER_MAJOR="3.10" # as it appears in fs paths PACKAGE=Electrum GIT_REPO=https://github.com/spesmilo/electrum @@ -71,11 +71,11 @@ function DoCodeSignMaybe { # ARGS: infoName fileOrDirName } info "Installing Python $PYTHON_VERSION" -PKG_FILE="python-${PYTHON_VERSION}-macosx10.9.pkg" +PKG_FILE="python-${PYTHON_VERSION}-macos11.pkg" if [ ! -f "$CACHEDIR/$PKG_FILE" ]; then curl -o "$CACHEDIR/$PKG_FILE" "https://www.python.org/ftp/python/${PYTHON_VERSION}/$PKG_FILE" fi -echo "167c4e2d9f172a617ba6f3b08783cf376dec429386378066eb2f865c98030dd7 $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \ +echo "767ed35ad688d28ea4494081ae96408a0318d0d5bb9ca0139d74d6247b231cfc $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \ || fail "python pkg checksum mismatched" sudo installer -pkg "$CACHEDIR/$PKG_FILE" -target / \ || fail "failed to install python"