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://<account-id>.ddb.<region>.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 <redacted>
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 <daniel@dd-wrt.com>
PKG_LICENSE:=Apache-2.0
--- /dev/null
+#!/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