From 25e0ffa67d145c842fe840cac14828a24e5ccfdd Mon Sep 17 00:00:00 2001 From: Alex Hedges Date: Tue, 17 May 2022 15:59:11 -0400 Subject: [PATCH] Add missing miniconda architectures: aarch64, arm64, s390x --- plugins/python-build/scripts/add_miniconda.py | 3 +++ .../share/python-build/miniconda3-3.7-4.10.1 | 16 ++++++++++++++++ .../share/python-build/miniconda3-3.7-4.10.3 | 6 ++++++ .../share/python-build/miniconda3-3.7-4.11.0 | 6 ++++++ .../share/python-build/miniconda3-3.7-4.9.2 | 6 ++++++ .../share/python-build/miniconda3-3.8-4.10.1 | 19 +++++++++++++++++++ .../share/python-build/miniconda3-3.8-4.10.3 | 6 ++++++ .../share/python-build/miniconda3-3.8-4.11.0 | 9 +++++++++ .../share/python-build/miniconda3-3.8-4.9.2 | 6 ++++++ .../share/python-build/miniconda3-3.9-4.10.1 | 16 ++++++++++++++++ .../share/python-build/miniconda3-3.9-4.10.3 | 6 ++++++ .../share/python-build/miniconda3-3.9-4.11.0 | 9 +++++++++ .../share/python-build/miniconda3-3.9-4.9.2 | 6 ++++++ 13 files changed, 114 insertions(+) create mode 100644 plugins/python-build/share/python-build/miniconda3-3.7-4.10.1 create mode 100644 plugins/python-build/share/python-build/miniconda3-3.8-4.10.1 create mode 100644 plugins/python-build/share/python-build/miniconda3-3.9-4.10.1 diff --git a/plugins/python-build/scripts/add_miniconda.py b/plugins/python-build/scripts/add_miniconda.py index 0cacdcc0..195c9ecc 100755 --- a/plugins/python-build/scripts/add_miniconda.py +++ b/plugins/python-build/scripts/add_miniconda.py @@ -77,7 +77,10 @@ class SupportedOS(StrEnum): class SupportedArch(StrEnum): + AARCH64 = "aarch64" + ARM64 = "arm64" PPC64LE = "ppc64le" + S390X = "s390x" X86_64 = "x86_64" X86 = "x86" diff --git a/plugins/python-build/share/python-build/miniconda3-3.7-4.10.1 b/plugins/python-build/share/python-build/miniconda3-3.7-4.10.1 new file mode 100644 index 00000000..cf666957 --- /dev/null +++ b/plugins/python-build/share/python-build/miniconda3-3.7-4.10.1 @@ -0,0 +1,16 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py37_4.10.1-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.1-Linux-aarch64.sh#bcb84cfe1f5ccf477fa73fc87d2f4125" "miniconda" verify_py37 + ;; +"Linux-s390x" ) + install_script "Miniconda3-py37_4.10.1-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.1-Linux-s390x.sh#0738d7c00290860d60870103c710e4c2" "miniconda" verify_py37 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff --git a/plugins/python-build/share/python-build/miniconda3-3.7-4.10.3 b/plugins/python-build/share/python-build/miniconda3-3.7-4.10.3 index ded90b82..639aa635 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.7-4.10.3 +++ b/plugins/python-build/share/python-build/miniconda3-3.7-4.10.3 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py37_4.10.3-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-aarch64.sh#19815e497b045246307f9317bcb4fb93" "miniconda" verify_py37 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py37_4.10.3-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-ppc64le.sh#a926bbaf28d59ac1264799e3ca770a44" "miniconda" verify_py37 ;; +"Linux-s390x" ) + install_script "Miniconda3-py37_4.10.3-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-s390x.sh#a82215f8abf68e44a8666a658ac4cdf9" "miniconda" verify_py37 + ;; "Linux-x86_64" ) install_script "Miniconda3-py37_4.10.3-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-x86_64.sh#9f186c1d86c266acc47dbc1603f0e2ed" "miniconda" verify_py37 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.7-4.11.0 b/plugins/python-build/share/python-build/miniconda3-3.7-4.11.0 index 3b6b12cc..2189f0e3 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.7-4.11.0 +++ b/plugins/python-build/share/python-build/miniconda3-3.7-4.11.0 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py37_4.11.0-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-aarch64.sh#07e8dfaf467e5432d402a79b11085783" "miniconda" verify_py37 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py37_4.11.0-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-ppc64le.sh#cf7cbccc16bf82365bbf0129f646ff45" "miniconda" verify_py37 ;; +"Linux-s390x" ) + install_script "Miniconda3-py37_4.11.0-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-s390x.sh#1dc6dbf1951e65217d07cf30887360a8" "miniconda" verify_py37 + ;; "Linux-x86_64" ) install_script "Miniconda3-py37_4.11.0-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-x86_64.sh#7675bd23411179956bcc4692f16ef27d" "miniconda" verify_py37 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.7-4.9.2 b/plugins/python-build/share/python-build/miniconda3-3.7-4.9.2 index 069833c6..da4a6e88 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.7-4.9.2 +++ b/plugins/python-build/share/python-build/miniconda3-3.7-4.9.2 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py37_4.9.2-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-aarch64.sh#eb76394f962a84fb6af4ed8bf115b904" "miniconda" verify_py37 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py37_4.9.2-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-ppc64le.sh#5bdc8650a2d1b32c8fd6eed9ed61aef5" "miniconda" verify_py37 ;; +"Linux-s390x" ) + install_script "Miniconda3-py37_4.9.2-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-s390x.sh#aa9207a1111352af948b8932d7823dce" "miniconda" verify_py37 + ;; "Linux-x86_64" ) install_script "Miniconda3-py37_4.9.2-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-x86_64.sh#3143b1116f2d466d9325c206b7de88f7" "miniconda" verify_py37 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.8-4.10.1 b/plugins/python-build/share/python-build/miniconda3-3.8-4.10.1 new file mode 100644 index 00000000..cf3b39c7 --- /dev/null +++ b/plugins/python-build/share/python-build/miniconda3-3.8-4.10.1 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py38_4.10.1-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.1-Linux-aarch64.sh#34aba2af867e5411eff7fddd80982aa9" "miniconda" verify_py38 + ;; +"Linux-s390x" ) + install_script "Miniconda3-py38_4.10.1-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.1-Linux-s390x.sh#ff0ed5428dd94a6f5c64c92a59a73165" "miniconda" verify_py38 + ;; +"MacOSX-arm64" ) + install_script "Miniconda3-py38_4.10.1-MacOSX-arm64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.1-MacOSX-arm64.sh#1bb73c5cd765d135e2b874fc0f08d50c" "miniconda" verify_py38 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff --git a/plugins/python-build/share/python-build/miniconda3-3.8-4.10.3 b/plugins/python-build/share/python-build/miniconda3-3.8-4.10.3 index 7f1438a5..80fefee8 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.8-4.10.3 +++ b/plugins/python-build/share/python-build/miniconda3-3.8-4.10.3 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py38_4.10.3-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-aarch64.sh#1b84ae526853a0301d0c04b68b718ea8" "miniconda" verify_py38 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py38_4.10.3-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-ppc64le.sh#12ddb1b94f30f8fc633c3223b0398d2f" "miniconda" verify_py38 ;; +"Linux-s390x" ) + install_script "Miniconda3-py38_4.10.3-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-s390x.sh#44e34b6ee8a47db8c28834f86ada6d41" "miniconda" verify_py38 + ;; "Linux-x86_64" ) install_script "Miniconda3-py38_4.10.3-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-x86_64.sh#14da4a9a44b337f7ccb8363537f65b9c" "miniconda" verify_py38 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.8-4.11.0 b/plugins/python-build/share/python-build/miniconda3-3.8-4.11.0 index d2c42d97..eb13e77f 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.8-4.11.0 +++ b/plugins/python-build/share/python-build/miniconda3-3.8-4.11.0 @@ -1,10 +1,19 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py38_4.11.0-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-Linux-aarch64.sh#18344281ba44bdd1e38c8ae0f05a8758" "miniconda" verify_py38 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py38_4.11.0-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-Linux-ppc64le.sh#adec9893a69557f1eaadce56f24f6614" "miniconda" verify_py38 ;; +"Linux-s390x" ) + install_script "Miniconda3-py38_4.11.0-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-Linux-s390x.sh#b337e6834c940774e762cfb420ec7b91" "miniconda" verify_py38 + ;; "Linux-x86_64" ) install_script "Miniconda3-py38_4.11.0-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-Linux-x86_64.sh#252d3b0c863333639f99fbc465ee1d61" "miniconda" verify_py38 ;; +"MacOSX-arm64" ) + install_script "Miniconda3-py38_4.11.0-MacOSX-arm64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-MacOSX-arm64.sh#1075216b8a7458b8fb86f6386dc5a4a9" "miniconda" verify_py38 + ;; "MacOSX-x86_64" ) install_script "Miniconda3-py38_4.11.0-MacOSX-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-MacOSX-x86_64.sh#e0ab9762f3d20d23bbff4b804a03cb08" "miniconda" verify_py38 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.8-4.9.2 b/plugins/python-build/share/python-build/miniconda3-3.8-4.9.2 index 3095545a..8ad3d753 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.8-4.9.2 +++ b/plugins/python-build/share/python-build/miniconda3-3.8-4.9.2 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py38_4.9.2-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-aarch64.sh#2359284ff562247fc2da4b68334ccac7" "miniconda" verify_py38 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py38_4.9.2-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-ppc64le.sh#b05f6c543ce0c593761bbfb4e6548ff6" "miniconda" verify_py38 ;; +"Linux-s390x" ) + install_script "Miniconda3-py38_4.9.2-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-s390x.sh#29a7a50a29954d26a64e1a651a9e6f83" "miniconda" verify_py38 + ;; "Linux-x86_64" ) install_script "Miniconda3-py38_4.9.2-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh#122c8c9beb51e124ab32a0fa6426c656" "miniconda" verify_py38 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.9-4.10.1 b/plugins/python-build/share/python-build/miniconda3-3.9-4.10.1 new file mode 100644 index 00000000..b5249b45 --- /dev/null +++ b/plugins/python-build/share/python-build/miniconda3-3.9-4.10.1 @@ -0,0 +1,16 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py39_4.10.1-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.1-Linux-aarch64.sh#67fb85a56aa7fda6e2fc5cdeb2aafec0" "miniconda" verify_py39 + ;; +"Linux-s390x" ) + install_script "Miniconda3-py39_4.10.1-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.1-Linux-s390x.sh#089da98e758bbc4a0e784d75340ec5d0" "miniconda" verify_py39 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff --git a/plugins/python-build/share/python-build/miniconda3-3.9-4.10.3 b/plugins/python-build/share/python-build/miniconda3-3.9-4.10.3 index 3a08afb9..9f0ae7f2 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.9-4.10.3 +++ b/plugins/python-build/share/python-build/miniconda3-3.9-4.10.3 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py39_4.10.3-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-aarch64.sh#d4e7afa2783cd85532d59d7ccb9ec268" "miniconda" verify_py39 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py39_4.10.3-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-ppc64le.sh#07ea41c691bdcc7d9c71cae1a1a88151" "miniconda" verify_py39 ;; +"Linux-s390x" ) + install_script "Miniconda3-py39_4.10.3-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-s390x.sh#633ae4c5382ca883f1f38a7d8c472f85" "miniconda" verify_py39 + ;; "Linux-x86_64" ) install_script "Miniconda3-py39_4.10.3-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-x86_64.sh#8c69f65a4ae27fb41df0fe552b4a8a3b" "miniconda" verify_py39 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.9-4.11.0 b/plugins/python-build/share/python-build/miniconda3-3.9-4.11.0 index 8f324c12..f5423897 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.9-4.11.0 +++ b/plugins/python-build/share/python-build/miniconda3-3.9-4.11.0 @@ -1,10 +1,19 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py39_4.11.0-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-Linux-aarch64.sh#f25b8ff2dbebe0285360ef1b4c883da6" "miniconda" verify_py39 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py39_4.11.0-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-Linux-ppc64le.sh#305e55110a3ad9384230e5fe396ccd89" "miniconda" verify_py39 ;; +"Linux-s390x" ) + install_script "Miniconda3-py39_4.11.0-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-Linux-s390x.sh#26e904d1f42bf8cece2b99a698c10a46" "miniconda" verify_py39 + ;; "Linux-x86_64" ) install_script "Miniconda3-py39_4.11.0-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-Linux-x86_64.sh#4e2f31e0b2598634c80daa12e4981647" "miniconda" verify_py39 ;; +"MacOSX-arm64" ) + install_script "Miniconda3-py39_4.11.0-MacOSX-arm64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-MacOSX-arm64.sh#c19959eafcb84a26e00af5d9f55826eb" "miniconda" verify_py39 + ;; "MacOSX-x86_64" ) install_script "Miniconda3-py39_4.11.0-MacOSX-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-MacOSX-x86_64.sh#d1303e5c7510b2ef444b9ba474551733" "miniconda" verify_py39 ;; diff --git a/plugins/python-build/share/python-build/miniconda3-3.9-4.9.2 b/plugins/python-build/share/python-build/miniconda3-3.9-4.9.2 index dd213232..c083ba83 100644 --- a/plugins/python-build/share/python-build/miniconda3-3.9-4.9.2 +++ b/plugins/python-build/share/python-build/miniconda3-3.9-4.9.2 @@ -1,7 +1,13 @@ case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Miniconda3-py39_4.9.2-Linux-aarch64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-aarch64.sh#af1c16d821569ebf1bdaf549fcba7d27" "miniconda" verify_py39 + ;; "Linux-ppc64le" ) install_script "Miniconda3-py39_4.9.2-Linux-ppc64le" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-ppc64le.sh#73b8d60454389905b1d209f1b0c211d9" "miniconda" verify_py39 ;; +"Linux-s390x" ) + install_script "Miniconda3-py39_4.9.2-Linux-s390x" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-s390x.sh#ae66aa46e565c97bf3485275b370c7e5" "miniconda" verify_py39 + ;; "Linux-x86_64" ) install_script "Miniconda3-py39_4.9.2-Linux-x86_64" "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh#b4e46fcc8029e2cfa731b788f25b1d36" "miniconda" verify_py39 ;;