From 79df188e2a4128f452c936320cd88a8a62463a3b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 18 Feb 2022 15:52:41 +1000 Subject: [PATCH] update bundled Python for Linux builds removes dependency on libcrypt: https://forums.ankiweb.net/t/issue-building-2-1-50beta3/17630/8 --- python/python.bzl | 8 ++++---- qt/bundle/pyoxidizer.bzl | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/python.bzl b/python/python.bzl index 97ba73793..ee47bdc84 100644 --- a/python/python.bzl +++ b/python/python.bzl @@ -9,13 +9,13 @@ _python_distros = { ), "linux_amd64": struct( # pending https://github.com/indygreg/python-build-standalone/issues/95 - url = "https://github.com/ankitects/python-build-standalone/releases/download/anki-2021-10-15/cpython-3.9.7-x86_64-unknown-linux-gnu-install_only-20211013T1538.tar.gz", - sha256 = "6a42fe15950f4e42000f5c68ebefacf8fce024f4d80a446789c18b174efdec1b", + url = "https://github.com/ankitects/python-build-standalone/releases/download/anki-2022-02-18/cpython-3.9.10-x86_64-unknown-linux-gnu-install_only-20220218T1329.tar.gz", + sha256 = "1f5d63c9099da6e51d121ca0eee8d32fb4f084bfc51643fad39be0c14dfbf530", ), "linux_arm64": struct( # pending https://github.com/indygreg/python-build-standalone/issues/95 - url = "https://github.com/ankitects/python-build-standalone/releases/download/anki-2021-10-15/cpython-3.9.7-aarch64-unknown-linux-gnu-install_only-20211013T1538.tar.gz", - sha256 = "2c5812d2e29b83b428a3da1f6c1a99b0581382e65290a767f8de25cbd1269d2a", + url = "https://github.com/ankitects/python-build-standalone/releases/download/anki-2022-02-18/cpython-3.9.10-aarch64-unknown-linux-gnu-install_only-20220218T1329.tar.gz", + sha256 = "39070f9b9492dce3085c8c98916940434bb65663e6665b2c87bef86025532c1a", ), "windows_amd64": struct( url = "https://github.com/indygreg/python-build-standalone/releases/download/20211012/cpython-3.9.7-x86_64-pc-windows-msvc-shared-install_only-20211011T1926.tar.gz", diff --git a/qt/bundle/pyoxidizer.bzl b/qt/bundle/pyoxidizer.bzl index be78a1ad8..e157c19f4 100644 --- a/qt/bundle/pyoxidizer.bzl +++ b/qt/bundle/pyoxidizer.bzl @@ -97,8 +97,8 @@ def make_exe(): elif BUILD_TARGET_TRIPLE == "x86_64-unknown-linux-gnu": dist = PythonDistribution( - url = "https://github.com/ankitects/python-build-standalone/releases/download/anki-2021-10-15/cpython-3.9.7-x86_64-unknown-linux-gnu-pgo-20211013T1538.tar.zst", - sha256 = "e5341c8f0fbedf83a2246cd86d60b6598033599ae20602d2f80617a304ef3085", + url = "https://github.com/ankitects/python-build-standalone/releases/download/anki-2022-02-18/cpython-3.9.10-x86_64-unknown-linux-gnu-pgo-20220218T1329.tar.zst", + sha256 = "83167967d09ada10554c0a1ed8228bcfac1117669880d2979578017565537400", ) else: