Skip to content

Commit

Permalink
binaries: update python and openssl
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SomberNight committed Nov 4, 2022
1 parent 4a63ca2 commit dd064ba
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions contrib/android/p4a_recipes/hostpython3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@


class HostPython3RecipePinned(util.InheritedRecipeMixin, HostPython3Recipe):
version = "3.8.13"
sha512sum = "e57f5f5b441e46a742b0147dd7fbfa6b52d550a86e60c9765ecc3c4690e2cdedf197e151c07cd2ea1f75ed9022a2b8ce4850c3d65916eaede1db6feed40b52f6"
version = "3.8.15"
sha512sum = "625af8fa23e7a7daba6302d147ccf80da36b8b5cce7a99976583bf8e07f1ca71c11529b6286e7732d69c00398dfa8422243f33641e2164e4299237663103ae99"


recipe = HostPython3RecipePinned()
4 changes: 2 additions & 2 deletions contrib/android/p4a_recipes/openssl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@


class OpenSSLRecipePinned(util.InheritedRecipeMixin, OpenSSLRecipe):
url_version = "1.1.1n"
sha512sum = "1937796736613dcf4105a54e42ecb61f95a1cea74677156f9459aea0f2c95159359e766089632bf364ee6b0d28d661eb9957bce8fecc9d2436378d8d79e8d0a4"
url_version = "1.1.1s"
sha512sum = "2ef983f166b5e1bf456ca37938e7e39d58d4cd85e9fc4b5174a05f5c37cc5ad89c3a9af97a6919bcaab128a8a92e4bdc8a045e5d9156d90768da8f73ac67c5b9"


recipe = OpenSSLRecipePinned()
4 changes: 2 additions & 2 deletions contrib/android/p4a_recipes/python3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@


class Python3RecipePinned(util.InheritedRecipeMixin, Python3Recipe):
version = "3.8.13"
sha512sum = "e57f5f5b441e46a742b0147dd7fbfa6b52d550a86e60c9765ecc3c4690e2cdedf197e151c07cd2ea1f75ed9022a2b8ce4850c3d65916eaede1db6feed40b52f6"
version = "3.8.15"
sha512sum = "625af8fa23e7a7daba6302d147ccf80da36b8b5cce7a99976583bf8e07f1ca71c11529b6286e7732d69c00398dfa8422243f33641e2164e4299237663103ae99"


recipe = Python3RecipePinned()
4 changes: 2 additions & 2 deletions contrib/build-linux/appimage/make_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"



Expand Down
2 changes: 1 addition & 1 deletion contrib/build-wine/prepare-wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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!
Expand Down
4 changes: 2 additions & 2 deletions contrib/osx/make_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 "8d059af2cacff2f47113fc57db6a36cb224bfde457d6b7714ea31b685b2d26a6 $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \
|| fail "python pkg checksum mismatched"
sudo installer -pkg "$CACHEDIR/$PKG_FILE" -target / \
|| fail "failed to install python"
Expand Down

0 comments on commit dd064ba

Please sign in to comment.