From deec3164dfebae0ce2f79f2c06c14bb999ddea259da17eb320b6e3ee915c9b2d Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 3 Jun 2022 12:14:39 +0000 Subject: [PATCH] Accepting request 980627 from home:glaubitz:branches:devel:languages:python:aws - 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 OBS-URL: https://build.opensuse.org/request/show/980627 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-s3transfer?expand=0&rev=33 --- no-bundled-packages.patch | 31 +++++++++---------------------- python-s3transfer.changes | 14 ++++++++++++++ python-s3transfer.spec | 3 +-- s3transfer-0.5.0.tar.gz | 3 --- s3transfer-0.6.0.tar.gz | 3 +++ 5 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 s3transfer-0.5.0.tar.gz create mode 100644 s3transfer-0.6.0.tar.gz diff --git a/no-bundled-packages.patch b/no-bundled-packages.patch index e52a25a..9f7f929 100644 --- a/no-bundled-packages.patch +++ b/no-bundled-packages.patch @@ -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 diff --git a/python-s3transfer.changes b/python-s3transfer.changes index edf93b8..f1cde63 100644 --- a/python-s3transfer.changes +++ b/python-s3transfer.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Jun 3 11:41:08 UTC 2022 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-s3transfer.spec b/python-s3transfer.spec index e963b2a..7811c67 100644 --- a/python-s3transfer.spec +++ b/python-s3transfer.spec @@ -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} diff --git a/s3transfer-0.5.0.tar.gz b/s3transfer-0.5.0.tar.gz deleted file mode 100644 index 02fff74..0000000 --- a/s3transfer-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c -size 133535 diff --git a/s3transfer-0.6.0.tar.gz b/s3transfer-0.6.0.tar.gz new file mode 100644 index 0000000..2278bb6 --- /dev/null +++ b/s3transfer-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ed07d3866f523cc561bf4a00fc5535827981b117dd7876f036b0c1aca42c947 +size 134871