Hello community,

here is the log from the commit of package python-s3transfer for 
openSUSE:Factory checked in at 2017-11-10 14:58:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-s3transfer (Old)
 and      /work/SRC/openSUSE:Factory/.python-s3transfer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-s3transfer"

Fri Nov 10 14:58:33 2017 rev:5 rq:540358 version:0.1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-s3transfer/python-s3transfer.changes      
2017-05-17 10:54:00.529742346 +0200
+++ /work/SRC/openSUSE:Factory/.python-s3transfer.new/python-s3transfer.changes 
2017-11-10 14:58:54.388803055 +0100
@@ -1,0 +2,6 @@
+Thu Nov  9 23:03:07 UTC 2017 - rjsch...@suse.com
+
+- Update to version 0.1.11:
+  + Properly handle unicode exceptions in the context manager
+
+-------------------------------------------------------------------

Old:
----
  s3transfer-0.1.10.tar.gz

New:
----
  s3transfer-0.1.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-s3transfer.spec ++++++
--- /var/tmp/diff_new_pack.aBHeLU/_old  2017-11-10 14:58:55.412766015 +0100
+++ /var/tmp/diff_new_pack.aBHeLU/_new  2017-11-10 14:58:55.416765870 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-s3transfer
-Version:        0.1.10
+Version:        0.1.11
 Release:        0
 Summary:        Python S3 transfer manager
 License:        Apache-2.0
@@ -26,10 +26,10 @@
 Url:            https://github.com/boto/s3transfer
 Source0:        
https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
 Patch0:         hide_py_pckgmgmt.patch
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-botocore  <= 2.0.0
 Requires:       python-botocore  >= 1.4.10
 %ifpython2

++++++ s3transfer-0.1.10.tar.gz -> s3transfer-0.1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/PKG-INFO 
new/s3transfer-0.1.11/PKG-INFO
--- old/s3transfer-0.1.10/PKG-INFO      2016-12-16 00:54:08.000000000 +0100
+++ new/s3transfer-0.1.11/PKG-INFO      2017-09-01 01:06:50.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: s3transfer
-Version: 0.1.10
+Version: 0.1.11
 Summary: An Amazon S3 Transfer Manager
 Home-page: https://github.com/boto/s3transfer
 Author: Amazon Web Services
@@ -31,3 +31,4 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/s3transfer/__init__.py 
new/s3transfer-0.1.11/s3transfer/__init__.py
--- old/s3transfer-0.1.10/s3transfer/__init__.py        2016-12-16 
00:54:07.000000000 +0100
+++ new/s3transfer-0.1.11/s3transfer/__init__.py        2017-09-01 
01:06:49.000000000 +0200
@@ -143,7 +143,7 @@
 
 
 __author__ = 'Amazon Web Services'
-__version__ = '0.1.10'
+__version__ = '0.1.11'
 
 
 class NullHandler(logging.Handler):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/s3transfer/manager.py 
new/s3transfer-0.1.11/s3transfer/manager.py
--- old/s3transfer-0.1.10/s3transfer/manager.py 2016-12-16 00:54:07.000000000 
+0100
+++ new/s3transfer-0.1.11/s3transfer/manager.py 2017-09-01 01:06:49.000000000 
+0200
@@ -14,6 +14,8 @@
 import logging
 import threading
 
+from botocore.compat import six
+
 from s3transfer.utils import get_callbacks
 from s3transfer.utils import disable_upload_callbacks
 from s3transfer.utils import enable_upload_callbacks
@@ -496,7 +498,7 @@
         # all of the inprogress futures in the shutdown.
         if exc_type:
             cancel = True
-            cancel_msg = str(exc_value)
+            cancel_msg = six.text_type(exc_value)
             if not cancel_msg:
                 cancel_msg = repr(exc_value)
             # If it was a KeyboardInterrupt, the cancellation was initiated
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/s3transfer/tasks.py 
new/s3transfer-0.1.11/s3transfer/tasks.py
--- old/s3transfer-0.1.10/s3transfer/tasks.py   2016-12-16 00:54:07.000000000 
+0100
+++ new/s3transfer-0.1.11/s3transfer/tasks.py   2017-09-01 01:06:49.000000000 
+0200
@@ -254,7 +254,7 @@
             # transfer.
             self._submit(transfer_future=transfer_future, **kwargs)
         except BaseException as e:
-            # If there was an exception rasied during the submission of task
+            # If there was an exception raised during the submission of task
             # there is a chance that the final task that signals if a transfer
             # is done and too run the cleanup may never have been submitted in
             # the first place so we need to account accordingly.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/s3transfer.egg-info/PKG-INFO 
new/s3transfer-0.1.11/s3transfer.egg-info/PKG-INFO
--- old/s3transfer-0.1.10/s3transfer.egg-info/PKG-INFO  2016-12-16 
00:54:08.000000000 +0100
+++ new/s3transfer-0.1.11/s3transfer.egg-info/PKG-INFO  2017-09-01 
01:06:50.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: s3transfer
-Version: 0.1.10
+Version: 0.1.11
 Summary: An Amazon S3 Transfer Manager
 Home-page: https://github.com/boto/s3transfer
 Author: Amazon Web Services
@@ -31,3 +31,4 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/s3transfer.egg-info/requires.txt 
new/s3transfer-0.1.11/s3transfer.egg-info/requires.txt
--- old/s3transfer-0.1.10/s3transfer.egg-info/requires.txt      2016-12-16 
00:54:08.000000000 +0100
+++ new/s3transfer-0.1.11/s3transfer.egg-info/requires.txt      2017-09-01 
01:06:50.000000000 +0200
@@ -1,5 +1,5 @@
-botocore>=1.3.0,<2.0.0
-futures>=2.2.0,<4.0.0
+botocore<2.0.0,>=1.3.0
+futures<4.0.0,>=2.2.0
 
 [:python_version=="2.6" or python_version=="2.7"]
-futures>=2.2.0,<4.0.0
\ No newline at end of file
+futures<4.0.0,>=2.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/setup.cfg 
new/s3transfer-0.1.11/setup.cfg
--- old/s3transfer-0.1.10/setup.cfg     2016-12-16 00:54:08.000000000 +0100
+++ new/s3transfer-0.1.11/setup.cfg     2017-09-01 01:06:50.000000000 +0200
@@ -1,4 +1,4 @@
-[wheel]
+[bdist_wheel]
 universal = 1
 
 [metadata]
@@ -9,5 +9,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/setup.py 
new/s3transfer-0.1.11/setup.py
--- old/s3transfer-0.1.10/setup.py      2016-12-16 00:54:07.000000000 +0100
+++ new/s3transfer-0.1.11/setup.py      2017-09-01 01:06:49.000000000 +0200
@@ -54,5 +54,6 @@
         'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
     ),
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/tests/functional/test_manager.py 
new/s3transfer-0.1.11/tests/functional/test_manager.py
--- old/s3transfer-0.1.10/tests/functional/test_manager.py      2016-12-16 
00:54:07.000000000 +0100
+++ new/s3transfer-0.1.11/tests/functional/test_manager.py      2017-09-01 
01:06:49.000000000 +0200
@@ -10,6 +10,7 @@
 # distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
 # ANY KIND, either express or implied. See the License for the specific
 # language governing permissions and limitations under the License.
+from io import RawIOBase
 from botocore.awsrequest import create_request_object
 import mock
 
@@ -26,9 +27,10 @@
     pass
 
 
-class CallbackEnablingBody(object):
+class CallbackEnablingBody(RawIOBase):
     """A mocked body with callback enabling/disabling"""
     def __init__(self):
+        super(CallbackEnablingBody, self).__init__()
         self.enable_callback_call_count = 0
         self.disable_callback_call_count = 0
 
@@ -38,6 +40,15 @@
     def disable_callback(self):
         self.disable_callback_call_count += 1
 
+    def seek(self, where):
+        pass
+
+    def tell(self):
+        return 0
+
+    def read(self, amount=0):
+        return b''
+
 
 class TestTransferManager(StubbedClientTest):
     @skip_if_using_serial_implementation(
@@ -147,3 +158,8 @@
             self.client, executor_cls=mocked_executor_cls)
         transfer_manager.delete('bucket', 'key')
         self.assertTrue(mocked_executor_cls.return_value.submit.called)
+
+    def test_unicode_exception_in_context_manager(self):
+        with self.assertRaises(ArbitraryException):
+            with TransferManager(self.client):
+                raise ArbitraryException(u'\u2713')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/s3transfer-0.1.10/tests/integration/test_download.py 
new/s3transfer-0.1.11/tests/integration/test_download.py
--- old/s3transfer-0.1.10/tests/integration/test_download.py    2016-12-16 
00:54:07.000000000 +0100
+++ new/s3transfer-0.1.11/tests/integration/test_download.py    2017-09-01 
01:06:49.000000000 +0200
@@ -69,16 +69,16 @@
         transfer_manager = self.create_transfer_manager(self.config)
 
         filename = self.files.create_file_with_size(
-            'foo.txt', filesize=20 * 1024 * 1024)
-        self.upload_file(filename, '20mb.txt')
+            'foo.txt', filesize=60 * 1024 * 1024)
+        self.upload_file(filename, '60mb.txt')
 
-        download_path = os.path.join(self.files.rootdir, '20mb.txt')
+        download_path = os.path.join(self.files.rootdir, '60mb.txt')
         sleep_time = 0.5
         try:
             with transfer_manager:
                 start_time = time.time()
                 future = transfer_manager.download(
-                    self.bucket_name, '20mb.txt', download_path)
+                    self.bucket_name, '60mb.txt', download_path)
                 # Sleep for a little to get the transfer process going
                 time.sleep(sleep_time)
                 # Raise an exception which should cause the preceeding


Reply via email to