Browse Source

binaries: bump python 3.9.7->3.9.10

master
SomberNight 4 years ago
parent
commit
bb5b52f2d7
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 4
      contrib/build-linux/appimage/make_appimage.sh
  2. 2
      contrib/build-wine/prepare-wine.sh
  3. 4
      contrib/osx/make_osx

4
contrib/build-linux/appimage/make_appimage.sh

@ -14,7 +14,7 @@ PIP_CACHE_DIR="$CACHEDIR/pip_cache"
export GCC_STRIP_BINARIES="1"
# pinned versions
PYTHON_VERSION=3.9.7
PYTHON_VERSION=3.9.10
PKG2APPIMAGE_COMMIT="eb8f3acdd9f11ab19b78f5cb15daa772367daf15"
@ -38,7 +38,7 @@ download_if_not_exist "$CACHEDIR/appimagetool" "https://github.com/AppImage/AppI
verify_hash "$CACHEDIR/appimagetool" "df3baf5ca5facbecfc2f3fa6713c29ab9cefa8fd8c1eac5d283b79cab33e4acb"
download_if_not_exist "$CACHEDIR/Python-$PYTHON_VERSION.tar.xz" "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz"
verify_hash "$CACHEDIR/Python-$PYTHON_VERSION.tar.xz" "f8145616e68c00041d1a6399b76387390388f8359581abc24432bb969b5e3c57"
verify_hash "$CACHEDIR/Python-$PYTHON_VERSION.tar.xz" "0a8fbfb5287ebc3a13e9baf3d54e08fa06778ffeccf6311aef821bb3a6586cc8"

2
contrib/build-wine/prepare-wine.sh

@ -9,7 +9,7 @@ PYINSTALLER_REPO="https://github.com/SomberNight/pyinstaller.git"
PYINSTALLER_COMMIT="80ee4d613ecf75a1226b960a560ee01459e65ddb"
# ^ tag 4.2, plus a custom commit that fixes cross-compilation with MinGW
PYTHON_VERSION=3.9.7
PYTHON_VERSION=3.9.10
# Let's begin!

4
contrib/osx/make_osx

@ -3,7 +3,7 @@
set -e
# Parameterize
PYTHON_VERSION=3.9.7
PYTHON_VERSION=3.9.10
BUILDDIR=/tmp/electrum-build
PACKAGE=Electrum
GIT_REPO=https://github.com/spesmilo/electrum
@ -72,7 +72,7 @@ PKG_FILE="python-${PYTHON_VERSION}-macosx10.9.pkg"
if [ ! -f "$CACHEDIR/$PKG_FILE" ]; then
curl -o "$CACHEDIR/$PKG_FILE" "https://www.python.org/ftp/python/${PYTHON_VERSION}/$PKG_FILE"
fi
echo "f40f7407d20f88a6a64678b6586853de16cc5d7d07c82a8a2a7e43bba59dbae5 $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \
echo "732bc5c95ae127dfb6fb1bcf683509ad20c558152b63b8d5f651246f6bdfc8da $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \
|| fail "python pkg checksum mismatched"
sudo installer -pkg "$CACHEDIR/$PKG_FILE" -target / \
|| fail "failed to install python"

Loading…
Cancel
Save