python-s3transfer: update to 0.16.0
authorAlexandru Ardelean <redacted>
Thu, 9 Apr 2026 05:34:17 +0000 (08:34 +0300)
committerAlexandru Ardelean <redacted>
Sun, 12 Apr 2026 07:14:26 +0000 (10:14 +0300)
Update package to 0.16.0.

Changes since 0.6.1:

0.7.0: SSE-C arguments now passed to CompleteMultipartUpload for upload
operations.

0.8.0 (CRT improvements): Wider CRT upload functionality; CRC32
auto-configured for CRT uploads; file-like object support for seekable
and non-seekable streams; dynamic target throughput via AWS CRT system
detection.

0.9.0: Python 3.7 dropped.

0.10.0: S3 Express support for CRT; Multi-Region Access Point support
for CRT (0.10.4).

0.11.0 (CRC32 default): Now uses CRC32 by default and supports
user-provided full-object checksums.

0.12.0: Python 3.8 dropped.

0.13.0: ETag validation during multipart downloads.

0.15.0: ETag validation during multipart copies.

0.16.0: TransferConfig options (multipart_threshold, multipart_chunksize,
max_request_concurrency) now supported in CRTTransferManager.

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

index 39aa803ef45c37eefd3057bb345701a419e19eb5..b4625be7f47f1afe6f8e08375a5b1a17f71b8503 100644 (file)
@@ -1,11 +1,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-s3transfer
-PKG_VERSION:=0.6.1
+PKG_VERSION:=0.16.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=s3transfer
-PKG_HASH:=640bb492711f4c0c0905e1f62b6aaeb771881935ad27884852411f8e9cacbca9
+PKG_HASH:=8e990f13268025792229cd52fa10cb7163744bf56e719e0b9cb925ab79abf920
 
 PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
 PKG_LICENSE:=Apache-2.0
diff --git a/lang/python/python-s3transfer/test.sh b/lang/python/python-s3transfer/test.sh
new file mode 100755 (executable)
index 0000000..8c00a9d
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+[ "$1" = python3-s3transfer ] || exit 0
+
+python3 - << 'EOF'
+import botocore.session
+from botocore.stub import Stubber
+from s3transfer.manager import TransferManager, TransferConfig
+
+session = botocore.session.get_session()
+client = session.create_client("s3", region_name="us-east-1")
+
+# Verify TransferConfig defaults
+config = TransferConfig()
+assert config.multipart_threshold > 0
+assert config.max_request_concurrency > 0
+assert config.max_submission_concurrency > 0
+
+# Verify manager can be instantiated
+manager = TransferManager(client, config)
+assert manager is not None
+manager.__exit__(None, None, None)
+EOF
git clone https://git.99rst.org/PROJECT