Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-s3transfer for openSUSE:Factory checked in at 2023-10-08 12:17:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-s3transfer (Old) and /work/SRC/openSUSE:Factory/.python-s3transfer.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-s3transfer" Sun Oct 8 12:17:07 2023 rev:26 rq:1116047 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-s3transfer/python-s3transfer.changes 2023-09-10 13:09:18.988595621 +0200 +++ /work/SRC/openSUSE:Factory/.python-s3transfer.new.28202/python-s3transfer.changes 2023-10-08 12:18:36.350777473 +0200 @@ -1,0 +2,7 @@ +Fri Oct 6 09:23:20 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 0.7.0 + * feature:``SSE-C``: Pass SSECustomer* arguments to + CompleteMultipartUpload for upload operations + +------------------------------------------------------------------- Old: ---- s3transfer-0.6.2.tar.gz New: ---- s3transfer-0.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-s3transfer.spec ++++++ --- /var/tmp/diff_new_pack.iyuzmq/_old 2023-10-08 12:18:37.290811271 +0200 +++ /var/tmp/diff_new_pack.iyuzmq/_new 2023-10-08 12:18:37.290811271 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-s3transfer -Version: 0.6.2 +Version: 0.7.0 Release: 0 Summary: Python S3 transfer manager License: Apache-2.0 ++++++ s3transfer-0.6.2.tar.gz -> s3transfer-0.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/PKG-INFO new/s3transfer-0.7.0/PKG-INFO --- old/s3transfer-0.6.2/PKG-INFO 2023-08-15 22:53:36.000000000 +0200 +++ new/s3transfer-0.7.0/PKG-INFO 2023-09-26 21:58:05.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: s3transfer -Version: 0.6.2 +Version: 0.7.0 Summary: An Amazon S3 Transfer Manager Home-page: https://github.com/boto/s3transfer Author: Amazon Web Services diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/s3transfer/__init__.py new/s3transfer-0.7.0/s3transfer/__init__.py --- old/s3transfer-0.6.2/s3transfer/__init__.py 2023-08-15 22:53:35.000000000 +0200 +++ new/s3transfer-0.7.0/s3transfer/__init__.py 2023-09-26 21:58:05.000000000 +0200 @@ -144,7 +144,7 @@ from s3transfer.exceptions import RetriesExceededError, S3UploadFailedError __author__ = 'Amazon Web Services' -__version__ = '0.6.2' +__version__ = '0.7.0' class NullHandler(logging.Handler): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/s3transfer/copies.py new/s3transfer-0.7.0/s3transfer/copies.py --- old/s3transfer-0.6.2/s3transfer/copies.py 2023-08-15 22:51:30.000000000 +0200 +++ new/s3transfer-0.7.0/s3transfer/copies.py 2023-09-26 21:58:05.000000000 +0200 @@ -69,7 +69,13 @@ 'TaggingDirective', ] - COMPLETE_MULTIPART_ARGS = ['RequestPayer', 'ExpectedBucketOwner'] + COMPLETE_MULTIPART_ARGS = [ + 'SSECustomerKey', + 'SSECustomerAlgorithm', + 'SSECustomerKeyMD5', + 'RequestPayer', + 'ExpectedBucketOwner', + ] def _submit( self, client, config, osutil, request_executor, transfer_future diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/s3transfer/upload.py new/s3transfer-0.7.0/s3transfer/upload.py --- old/s3transfer-0.6.2/s3transfer/upload.py 2023-08-15 22:49:30.000000000 +0200 +++ new/s3transfer-0.7.0/s3transfer/upload.py 2023-09-26 21:58:05.000000000 +0200 @@ -521,7 +521,13 @@ 'ExpectedBucketOwner', ] - COMPLETE_MULTIPART_ARGS = ['RequestPayer', 'ExpectedBucketOwner'] + COMPLETE_MULTIPART_ARGS = [ + 'SSECustomerKey', + 'SSECustomerAlgorithm', + 'SSECustomerKeyMD5', + 'RequestPayer', + 'ExpectedBucketOwner', + ] def _get_upload_input_manager_cls(self, transfer_future): """Retrieves a class for managing input for an upload based on file type diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/s3transfer.egg-info/PKG-INFO new/s3transfer-0.7.0/s3transfer.egg-info/PKG-INFO --- old/s3transfer-0.6.2/s3transfer.egg-info/PKG-INFO 2023-08-15 22:53:36.000000000 +0200 +++ new/s3transfer-0.7.0/s3transfer.egg-info/PKG-INFO 2023-09-26 21:58:05.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: s3transfer -Version: 0.6.2 +Version: 0.7.0 Summary: An Amazon S3 Transfer Manager Home-page: https://github.com/boto/s3transfer Author: Amazon Web Services diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/tests/functional/test_copy.py new/s3transfer-0.7.0/tests/functional/test_copy.py --- old/s3transfer-0.6.2/tests/functional/test_copy.py 2023-08-15 22:51:30.000000000 +0200 +++ new/s3transfer-0.7.0/tests/functional/test_copy.py 2023-09-26 21:58:05.000000000 +0200 @@ -629,7 +629,9 @@ self.add_head_object_response(expected_params=head_params) self._add_params_to_expected_params( - add_copy_kwargs, ['create_mpu', 'copy'], self.extra_args + add_copy_kwargs, + ['create_mpu', 'copy', 'complete_mpu'], + self.extra_args, ) self.add_successful_copy_responses(**add_copy_kwargs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/s3transfer-0.6.2/tests/functional/test_upload.py new/s3transfer-0.7.0/tests/functional/test_upload.py --- old/s3transfer-0.6.2/tests/functional/test_upload.py 2023-08-15 22:49:30.000000000 +0200 +++ new/s3transfer-0.7.0/tests/functional/test_upload.py 2023-09-26 21:58:05.000000000 +0200 @@ -599,3 +599,28 @@ ) future.result() self.assert_expected_client_calls_were_correct() + + def test_multipart_upload_with_ssec_args(self): + params = { + 'RequestPayer': 'requester', + 'SSECustomerKey': 'key', + 'SSECustomerAlgorithm': 'AES256', + 'SSECustomerKeyMD5': 'key-hash', + } + self.extra_args.update(params) + + self.add_create_multipart_response_with_default_expected_params( + extra_expected_params=params + ) + + self.add_upload_part_responses_with_default_expected_params( + extra_expected_params=params + ) + self.add_complete_multipart_response_with_default_expected_params( + extra_expected_params=params + ) + future = self.manager.upload( + self.filename, self.bucket, self.key, self.extra_args + ) + future.result() + self.assert_expected_client_calls_were_correct()