python-boto3: update to 1.42.86
authorAlexandru Ardelean <redacted>
Thu, 9 Apr 2026 05:34:12 +0000 (08:34 +0300)
committerAlexandru Ardelean <redacted>
Sun, 12 Apr 2026 07:14:26 +0000 (10:14 +0300)
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>
lang/python/python-boto3/Makefile
lang/python/python-boto3/test.sh [new file with mode: 0755]

index ebc38ecd7664f5c72095b3f551f53ac845564fab..88fdf197482fa2bd776eb74aff11cd1db86159eb 100644 (file)
@@ -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 <daniel@dd-wrt.com>
 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 (executable)
index 0000000..4ba4dad
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT