From bae2e54d90c8748226dcd2b4249db005a0e054c9 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 9 Apr 2026 08:34:12 +0300 Subject: [PATCH] python-boto3: update to 1.42.86 Update package to 1.42.86. Key changes since 1.28.7: 1.33.0: boto3 and botocore now share the same version number. 1.36.0 (S3 checksum overhaul): CRC32 is now calculated by default for all supported S3 operations; Content-MD5 header no longer auto-populated; response checksum validation added; CRC64NVME and SHA512 algorithms supported via optional awscrt. 1.38.0 (Account-based endpoints): DynamoDB and future services now use https://.ddb..amazonaws.com endpoints when account ID is available. Python 3.8 end of support. 1.40.0 (STS endpoint default): Changed from legacy to regional; override via sts_regional_endpoints config or AWS_STS_REGIONAL_ENDPOINTS env var. 1.41.0 (New credential provider): login credential provider added, allowing use of AWS Management Console credentials. Hundreds of API additions across Bedrock, ECS, EKS, Lambda, SageMaker, and many more services. Signed-off-by: Alexandru Ardelean --- lang/python/python-boto3/Makefile | 4 ++-- lang/python/python-boto3/test.sh | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100755 lang/python/python-boto3/test.sh diff --git a/lang/python/python-boto3/Makefile b/lang/python/python-boto3/Makefile index ebc38ecd76..88fdf19748 100644 --- a/lang/python/python-boto3/Makefile +++ b/lang/python/python-boto3/Makefile @@ -1,11 +1,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-boto3 -PKG_VERSION:=1.28.7 +PKG_VERSION:=1.42.86 PKG_RELEASE:=1 PYPI_NAME:=boto3 -PKG_HASH:=ef6a465d3b25b89bcd00ff69675b33917166145e544735dcb9978091f5b0b752 +PKG_HASH:=c87d2a750b1a8cad0384d1a83d3bad6aedf924ae9a14aaba814bcb3297b39c01 PKG_MAINTAINER:=Daniel Danzberger PKG_LICENSE:=Apache-2.0 diff --git a/lang/python/python-boto3/test.sh b/lang/python/python-boto3/test.sh new file mode 100755 index 0000000000..4ba4dad665 --- /dev/null +++ b/lang/python/python-boto3/test.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +[ "$1" = python3-boto3 ] || exit 0 + +python3 - << 'EOF' +import boto3 +from botocore.stub import Stubber + +# Test client creation (no real AWS credentials needed) +client = boto3.client("s3", region_name="us-east-1") +assert client is not None + +# Test with stubber (no network) +stubber = Stubber(client) +stubber.add_response( + "list_buckets", + {"Buckets": [{"Name": "my-bucket", "CreationDate": __import__("datetime").datetime.now()}]}, +) +with stubber: + response = client.list_buckets() + assert len(response["Buckets"]) == 1 + assert response["Buckets"][0]["Name"] == "my-bucket" +EOF