From e53b60e7e902047fe2c163898d1066e509a1bb61 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 28 Jan 2025 21:08:47 +0200 Subject: [PATCH] Workbench: Try to install AWS CLI v2 with Python 3.13. There's a conflict there, ruamel.yaml.clib installs in Python 3.13 with version 0.2.12 but the AWS CLI requires ruamel.yaml.clib<=0.2.8 and >=0.2.0. So this is try of this comment: https://github.com/aws/aws-cli/issues/9234#issuecomment-2602691802 --- workbench/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/Dockerfile b/workbench/Dockerfile index bb7af37..62017b4 100644 --- a/workbench/Dockerfile +++ b/workbench/Dockerfile @@ -252,7 +252,7 @@ RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \ unset PIP_CONSTRAINT && \ pipx install chalice && \ pipx install curator-opensearch && \ - pipx install https://github.com/aws/aws-cli/archive/refs/heads/v2.zip && \ + CFLAGS="-Wno-error=incompatible-pointer-types" pipx install https://github.com/aws/aws-cli/archive/refs/heads/v2.zip && \ rm -rf /tmp/* /var/tmp/* ~/.cache/* ENV COREPACK_HOME=/usr/local/share/corepack # hadolint ignore=DL3016 -- GitLab