From d4058a947919fd9ef8c09f69b611b62f80f481e0 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 9 Apr 2026 08:34:19 +0300 Subject: [PATCH] python-awscli: update to 1.44.76 Update package to 1.44.76. Key changes since 1.29.7: 1.32.0: Python 3.7 dropped. 1.33.0: Version numbering aligned with botocore/boto3; aws logs start-live-tail command added. 1.35.0 (S3 checksum): --checksum-mode and --checksum-algorithm flags added to high-level s3 commands. 1.36.0: Shorthand @= file-loading syntax added; aws s3 ls gains --bucket-name-prefix and --bucket-region filters (1.36.35). 1.37.0: CRC32 default for uploads; response checksum validation. 1.39.0: Python 3.8 dropped. 1.40.0: aws eks update-kubeconfig gains --assume-role-arn for cross-account access; STS regional endpoints now default. 1.42.42: aws eks update-kubeconfig gets --proxy-url option. 1.43.0: Login credential provider support. 1.44.0: New --v2-debug flag and AWS_CLI_UPGRADE_DEBUG_MODE env var to detect CLI v2 breaking changes. 1.44.57: aws s3 mb gains --tags flag. 1.44.76 (security): Tighter file permissions for CodeArtifact login and IAM MFA bootstrap output. Signed-off-by: Alexandru Ardelean --- lang/python/python-awscli/Makefile | 4 ++-- lang/python/python-awscli/test.sh | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100755 lang/python/python-awscli/test.sh diff --git a/lang/python/python-awscli/Makefile b/lang/python/python-awscli/Makefile index e255b11696..356938c5cf 100644 --- a/lang/python/python-awscli/Makefile +++ b/lang/python/python-awscli/Makefile @@ -1,11 +1,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-awscli -PKG_VERSION:=1.29.7 +PKG_VERSION:=1.44.76 PKG_RELEASE:=1 PYPI_NAME:=awscli -PKG_HASH:=b3a7076cb317a21410a2d41734ba338add80f0480804cf9d68cbc52b1d39612a +PKG_HASH:=33029e2928306c4bdec425a5fac54aadc343dee6c8e7152948c33d7f21d7099a PKG_MAINTAINER:=Daniel Danzberger PKG_LICENSE:=Apache-2.0 diff --git a/lang/python/python-awscli/test.sh b/lang/python/python-awscli/test.sh new file mode 100755 index 0000000000..3e0d324cba --- /dev/null +++ b/lang/python/python-awscli/test.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +[ "$1" = python3-awscli ] || exit 0 + +python3 - << 'EOF' +from awscli.clidriver import create_clidriver + +# Verify CLI driver can be created +driver = create_clidriver() +assert driver is not None + +# Verify help text is available for s3 command +import awscli.topics +assert hasattr(awscli.topics, "TOPIC_TAGS") +EOF + +# Verify the aws binary runs --version +aws --version 2>&1 | grep -q "aws-cli" || { + echo "ERROR: 'aws --version' did not produce expected output" + exit 1 +}