Hello community,

here is the log from the commit of package python-s3transfer for 
openSUSE:Factory checked in at 2018-04-19 15:33:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-s3transfer (Old)
 and      /work/SRC/openSUSE:Factory/.python-s3transfer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-s3transfer"

Thu Apr 19 15:33:29 2018 rev:6 rq:598518 version:0.1.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-s3transfer/python-s3transfer.changes      
2017-11-10 14:58:54.388803055 +0100
+++ /work/SRC/openSUSE:Factory/.python-s3transfer.new/python-s3transfer.changes 
2018-04-19 15:33:31.089116447 +0200
@@ -1,0 +2,9 @@
+Thu Apr 19 10:37:34 UTC 2018 - [email protected]
+
+- update to 0.1.13
+- add system-requests.patch - use system python-requests
+ * Plumb ``RequestPayer` argument to the ``CompleteMultipartUpload` operation 
+ * enhancement:max_bandwidth: Add ability to set maximum bandwidth consumption
+   for streaming of S3 uploads and downloads
+
+-------------------------------------------------------------------

Old:
----
  s3transfer-0.1.11.tar.gz

New:
----
  s3transfer-0.1.13.tar.gz
  system-requests.patch

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

Other differences:
------------------
++++++ python-s3transfer.spec ++++++
--- /var/tmp/diff_new_pack.2RTNvE/_old  2018-04-19 15:33:32.137073201 +0200
+++ /var/tmp/diff_new_pack.2RTNvE/_new  2018-04-19 15:33:32.141073036 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-s3transfer
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-s3transfer
-Version:        0.1.11
+Version:        0.1.13
 Release:        0
 Summary:        Python S3 transfer manager
 License:        Apache-2.0
@@ -26,12 +26,14 @@
 Url:            https://github.com/boto/s3transfer
 Source0:        
https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
 Patch0:         hide_py_pckgmgmt.patch
+Patch1:         system-requests.patch
 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
+Requires:       python-requests
 %ifpython2
 Requires:       python-futures   <= 4.0.0
 Requires:       python-futures   >= 2.2.0
@@ -46,6 +48,7 @@
 %prep
 %setup -q -n s3transfer-%{version}
 %patch0
+%patch1 -p1
 
 %build
 %python_build

++++++ s3transfer-0.1.11.tar.gz -> s3transfer-0.1.13.tar.gz ++++++
++++ 1839 lines of diff (skipped)

++++++ system-requests.patch ++++++
Index: s3transfer-0.1.13/s3transfer/__init__.py
===================================================================
--- s3transfer-0.1.13.orig/s3transfer/__init__.py
+++ s3transfer-0.1.13/s3transfer/__init__.py
@@ -134,8 +134,12 @@ import string
 import concurrent.futures
 
 from botocore.compat import six
-from botocore.vendored.requests.packages.urllib3.exceptions import \
-    ReadTimeoutError
+
+try:
+    from botocore.vendored.requests.packages.urllib3.exceptions import 
ReadTimeoutError
+except ImportError:
+    from requests.packages.urllib3.exceptions import ReadTimeoutError
+
 from botocore.exceptions import IncompleteReadError
 
 import s3transfer.compat

Reply via email to