Accepting request 980631 from devel:languages:python:aws

OBS-URL: https://build.opensuse.org/request/show/980631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-s3transfer?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2022-06-04 22:45:42 +00:00 committed by Git OBS Bridge
commit a5678ec187
5 changed files with 27 additions and 27 deletions

View File

@ -1,25 +1,12 @@
diff -Nru s3transfer-0.2.0.orig/s3transfer/__init__.py s3transfer-0.2.0/s3transfer/__init__.py
--- s3transfer-0.2.0.orig/s3transfer/__init__.py 2019-02-07 00:14:54.000000000 +0100
+++ s3transfer-0.2.0/s3transfer/__init__.py 2019-02-13 13:29:44.840939556 +0100
@@ -134,8 +134,7 @@
import concurrent.futures
diff -Nru s3transfer-0.6.0.orig/s3transfer/__init__.py s3transfer-0.6.0/s3transfer/__init__.py
--- s3transfer-0.6.0.orig/s3transfer/__init__.py 2022-05-31 20:37:19.000000000 +0200
+++ s3transfer-0.6.0/s3transfer/__init__.py 2022-06-03 13:37:36.897087996 +0200
@@ -136,7 +136,7 @@
from botocore.compat import six
-from botocore.vendored.requests.packages.urllib3.exceptions import \
- ReadTimeoutError
+from urllib3.exceptions import ReadTimeoutError
from botocore.compat import six # noqa: F401
from botocore.exceptions import IncompleteReadError
-from botocore.vendored.requests.packages.urllib3.exceptions import (
+from urllib3.exceptions import (
ReadTimeoutError,
)
import s3transfer.compat
diff -Nru s3transfer-0.2.0.orig/tests/unit/test_s3transfer.py s3transfer-0.2.0/tests/unit/test_s3transfer.py
--- s3transfer-0.2.0.orig/tests/unit/test_s3transfer.py 2019-02-07 00:14:54.000000000 +0100
+++ s3transfer-0.2.0/tests/unit/test_s3transfer.py 2019-02-13 13:30:41.309433514 +0100
@@ -18,7 +18,7 @@
from contextlib import closing
import mock
-from botocore.vendored import six
+import six
from concurrent import futures
from s3transfer.exceptions import RetriesExceededError

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jun 3 11:41:08 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.6.0
* feature:Python: Dropped support for Python 3.6
- from version 0.5.2
* enhancement:``s3``: Added support for flexible checksums
when uploading or downloading objects.
- from version 0.5.1
* enhancement:Python: Officially add Python 3.10 support
- Drop unused python-mock dependency from BuildRequires
- Refresh patches for new version
+ no-bundled-packages.patch
-------------------------------------------------------------------
Tue Jul 27 09:40:00 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-s3transfer
Version: 0.5.0
Version: 0.6.0
Release: 0
Summary: Python S3 transfer manager
License: Apache-2.0
@ -28,7 +28,6 @@ URL: https://github.com/boto/s3transfer
Source0: https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
Patch1: no-bundled-packages.patch
BuildRequires: %{python_module botocore >= 1.12.36}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urllib3}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c
size 133535

3
s3transfer-0.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ed07d3866f523cc561bf4a00fc5535827981b117dd7876f036b0c1aca42c947
size 134871