Browse Source
binaries: update python and openssl
note: python 3.9.x is now in source-only mode, so could not update to latest...
it is time to investigate upgrading to python 3.10 in the win and mac binaries
patch-4
SomberNight
2 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
6 changed files with
11 additions and
11 deletions
contrib/android/p4a_recipes/hostpython3/__init__.py
contrib/android/p4a_recipes/openssl/__init__.py
contrib/android/p4a_recipes/python3/__init__.py
contrib/build-linux/appimage/make_appimage.sh
contrib/build-wine/prepare-wine.sh
contrib/osx/make_osx.sh
@ -11,8 +11,8 @@ assert HostPython3Recipe.python_depends == []
class HostPython3RecipePinned ( util . InheritedRecipeMixin , HostPython3Recipe ) :
version = " 3.8.13 "
sha512sum = " e57f5f5b441e46a742b0147dd7fbfa6b52d550a86e60c9765ecc3c4690e2cdedf197e151c07cd2ea1f75ed9022a2b8ce4850c3d65916eaede1db6feed40b52f6 "
version = " 3.8.15 "
sha512sum = " 625af8fa23e7a7daba6302d147ccf80da36b8b5cce7a99976583bf8e07f1ca71c11529b6286e7732d69c00398dfa8422243f33641e2164e4299237663103ae99 "
recipe = HostPython3RecipePinned ( )
@ -11,8 +11,8 @@ assert OpenSSLRecipe.python_depends == []
class OpenSSLRecipePinned ( util . InheritedRecipeMixin , OpenSSLRecipe ) :
url_version = " 1.1.1n "
sha512sum = " 1937796736613dcf4105a54e42ecb61f95a1cea74677156f9459aea0f2c95159359e766089632bf364ee6b0d28d661eb9957bce8fecc9d2436378d8d79e8d0a4 "
url_version = " 1.1.1s "
sha512sum = " 2ef983f166b5e1bf456ca37938e7e39d58d4cd85e9fc4b5174a05f5c37cc5ad89c3a9af97a6919bcaab128a8a92e4bdc8a045e5d9156d90768da8f73ac67c5b9 "
recipe = OpenSSLRecipePinned ( )
@ -11,8 +11,8 @@ assert Python3Recipe.python_depends == []
class Python3RecipePinned ( util . InheritedRecipeMixin , Python3Recipe ) :
version = " 3.8.13 "
sha512sum = " e57f5f5b441e46a742b0147dd7fbfa6b52d550a86e60c9765ecc3c4690e2cdedf197e151c07cd2ea1f75ed9022a2b8ce4850c3d65916eaede1db6feed40b52f6 "
version = " 3.8.15 "
sha512sum = " 625af8fa23e7a7daba6302d147ccf80da36b8b5cce7a99976583bf8e07f1ca71c11529b6286e7732d69c00398dfa8422243f33641e2164e4299237663103ae99 "
recipe = Python3RecipePinned ( )
@ -15,7 +15,7 @@ PIP_CACHE_DIR="$CONTRIB_APPIMAGE/.cache/pip_cache"
export GCC_STRIP_BINARIES = "1"
# pinned versions
PYTHON_VERSION = 3.9.11
PYTHON_VERSION = 3.9.15
PY_VER_MAJOR = "3.9" # as it appears in fs paths
PKG2APPIMAGE_COMMIT = "a9c85b7e61a3a883f4a35c41c5decb5af88b6b5d"
@ -39,7 +39,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 " "66767a35309d724f370df9e503c172b4ee444f49d62b98bc4eca725123e26c49 "
verify_hash " $CACHEDIR /Python- $PYTHON_VERSION .tar.xz " "12daff6809528d9f6154216950423c9e30f0e47336cb57c6aa0b4387dd5eb4b2 "
@ -4,7 +4,7 @@ PYINSTALLER_REPO="https://github.com/pyinstaller/pyinstaller.git"
PYINSTALLER_COMMIT = "0fe956a2c6157e1b276819de1a050c242de70a29"
# ^ latest commit from "v4" branch, somewhat after "4.10" tag
PYTHON_VERSION = 3.9.11
PYTHON_VERSION = 3.9.13
# Let's begin!
@ -3,7 +3,7 @@
set -e
# Parameterize
PYTHON_VERSION = 3.9.11
PYTHON_VERSION = 3.9.13
PY_VER_MAJOR = "3.9" # as it appears in fs paths
PACKAGE = Electrum
GIT_REPO = https://github.com/spesmilo/electrum
@ -73,7 +73,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 " c2073d44c404c661dadbf0cbda55c6e7d681baba9178ed1bdb126d34caa898a9 $CACHEDIR / $PKG_FILE " | shasum -a 256 -c \
echo " 167c4e2d9f172a617ba6f3b08783cf376dec429386378066eb2f865c98030dd7 $CACHEDIR / $PKG_FILE " | shasum -a 256 -c \
|| fail "python pkg checksum mismatched"
sudo installer -pkg " $CACHEDIR / $PKG_FILE " -target / \
|| fail "failed to install python"