From 128a474160ba033b59e51bdd7d5cdea393492c4c Mon Sep 17 00:00:00 2001 From: moz-mdauer Date: Mon, 2 Dec 2024 19:52:23 +0100 Subject: [PATCH] Pin pyopenssl version for gsutil recipe --- recipes/linux/gsutil.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/linux/gsutil.sh b/recipes/linux/gsutil.sh index 02f05eb6..53101ebd 100755 --- a/recipes/linux/gsutil.sh +++ b/recipes/linux/gsutil.sh @@ -20,7 +20,10 @@ case "${1-install}" in apt-install-auto \ pipx - PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin retry pipx install gsutil + # Pin the pyopenssl version as gsutil is currently broken with + # the most recent version, see: + # https://github.com/GoogleCloudPlatform/gsutil/issues/1820 + PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin retry pipx install gsutil --pip-args "pyopenssl==24.2.1" ;; test) gsutil version