From 8acd7b13be23c0a9829764f759a6f314e5b063f5 Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Tue, 9 Jul 2024 17:07:46 -0700 Subject: [PATCH] Remove riscv64 from python versions that are too slow to build --- generate-stackbrew-library.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 353d9e282..32b6adef4 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -137,6 +137,10 @@ for version; do case "$version" in 3.8 | 3.9) ;; *) + if [ "$version" != '3.10' ]; then + # https://github.com/docker-library/python/pull/931 + variantArches="$(sed <<<" $variantArches " -e 's/ riscv64 / /g')" + fi # https://github.com/python/cpython/issues/93619 + https://peps.python.org/pep-0011/ variantArches="$(sed <<<" $variantArches " -e 's/ mips64le / /g')" ;;