[packages/python-s3transfer] - updated to 0.3.7

qboosh qboosh at pld-linux.org
Sun Oct 22 12:19:35 CEST 2023


commit 5bfcd7206a5d68b264aec7be4418d95e9228ae2c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 22 12:21:35 2023 +0200

    - updated to 0.3.7

 python-s3transfer-mock.patch | 6 +++---
 python-s3transfer.spec       | 9 +++++----
 2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/python-s3transfer.spec b/python-s3transfer.spec
index d357df7..af9298e 100644
--- a/python-s3transfer.spec
+++ b/python-s3transfer.spec
@@ -2,18 +2,19 @@
 # Conditional build:
 %bcond_without	tests	# unit tests
 %bcond_without	python2 # CPython 2.x module
-%bcond_with	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-s3transfer.spec)
 
 Summary:	Amazon S3 Transfer Manager
 Summary(pl.UTF-8):	Zarządca transferu danych Amazon S3
 Name:		python-s3transfer
-Version:	0.3.4
-Release:	2
+# keep < 0.5 here for python2 support, aligned with python-boto3.spec
+Version:	0.3.7
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/s3transfer/
 Source0:	https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
-# Source0-md5:	b0145fc2087107262b6c4d0f077ad3e2
+# Source0-md5:	665572c41635914e419631e57dd2a365
 Patch0:		%{name}-mock.patch
 Patch1:		%{name}-tests.patch
 URL:		https://pypi.org/project/s3transfer/
diff --git a/python-s3transfer-mock.patch b/python-s3transfer-mock.patch
index e177500..74ba9c2 100644
--- a/python-s3transfer-mock.patch
+++ b/python-s3transfer-mock.patch
@@ -1,8 +1,8 @@
---- s3transfer-0.3.4/tests/functional/test_manager.py.orig	2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/functional/test_manager.py	2021-02-14 10:53:55.517004397 +0100
+--- s3transfer-0.3.7/tests/functional/test_manager.py.orig	2023-10-22 12:19:08.410577272 +0200
++++ s3transfer-0.3.7/tests/functional/test_manager.py	2023-10-22 12:19:40.417070544 +0200
 @@ -12,7 +12,10 @@
  # language governing permissions and limitations under the License.
- from io import RawIOBase
+ from io import BytesIO
  from botocore.awsrequest import create_request_object
 -import mock
 +try:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-s3transfer.git/commitdiff/5bfcd7206a5d68b264aec7be4418d95e9228ae2c



More information about the pld-cvs-commit mailing list