python-botocore: update to 1.42.86
authorAlexandru Ardelean <redacted>
Thu, 9 Apr 2026 05:34:15 +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.31.7:

1.32.1: botocore wheel now ships compressed service models to reduce
disk footprint.

1.33.0: Version aligned; boto3/botocore share the same version number.

1.36.0 (S3 checksum overhaul): CRC32 default for uploads; CRC64NVME
support via awscrt; configurable via request_checksum_calculation and
response_checksum_validation settings.

1.37.0 (Account-based endpoints): DynamoDB support for account-based
endpoint routing; smithy-rpc-v2-cbor protocol support (1.37.2).

1.38.0: Python 3.8 dropped.

1.40.0: STS regional endpoints now default; login credential provider
added (1.41.0).

1.42.29: TCP Keep-Alive config via BOTOCORE_TCP_KEEPALIVE env var.
1.42.43: HTTP blocksize increased 16KB -> 128KB with urllib3 v2.
1.42.53: SHA512/XXHASH checksum algorithms added.
1.42.85: SigV4a auth_scheme_preference bugfix.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-botocore/Makefile
lang/python/python-botocore/test.sh [new file with mode: 0755]

index cf47f9ad963fd39ad1b5b430f51afceb19218358..43b6460a5be1d9b046b562e4751ebb8bba97421e 100644 (file)
@@ -1,11 +1,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-botocore
-PKG_VERSION:=1.31.7
+PKG_VERSION:=1.42.86
 PKG_RELEASE:=1
 
 PYPI_NAME:=botocore
-PKG_HASH:=f4473f66c153c262b8262404d737f4249366daf00fb068b495577a24b830ebcb
+PKG_HASH:=baa49e93b4c92d63e0c8288026ee1ef8de83f182743127cc9175504440a48e49
 
 PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
 PKG_LICENSE:=Apache-2.0
diff --git a/lang/python/python-botocore/test.sh b/lang/python/python-botocore/test.sh
new file mode 100755 (executable)
index 0000000..47374ab
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+[ "$1" = python3-botocore ] || exit 0
+
+python3 - << 'EOF'
+import botocore.session
+from botocore.stub import Stubber
+
+session = botocore.session.get_session()
+client = session.create_client("s3", region_name="us-east-1")
+
+# Verify endpoint URL is constructed correctly
+endpoint = client.meta.endpoint_url or "https://s3.amazonaws.com"
+assert "amazonaws" in endpoint or endpoint.startswith("https://")
+
+# Test stubber
+stubber = Stubber(client)
+stubber.add_response("list_buckets", {"Buckets": []})
+with stubber:
+    resp = client.list_buckets()
+    assert resp["Buckets"] == []
+
+# Test config/credential loading doesn't crash
+from botocore.config import Config
+cfg = Config(region_name="eu-west-1", retries={"max_attempts": 3})
+assert cfg.region_name == "eu-west-1"
+EOF
git clone https://git.99rst.org/PROJECT