]> git.pld-linux.org Git - packages/python3-s3transfer.git/commitdiff
up to 0.6.0 auto/th/python3-s3transfer-0.6.0-1
authorJan Palus <atler@pld-linux.org>
Mon, 6 Jun 2022 10:41:26 +0000 (12:41 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 6 Jun 2022 10:41:26 +0000 (12:41 +0200)
python3-s3transfer-mock.patch [deleted file]
python3-s3transfer-tests.patch [deleted file]
python3-s3transfer.spec

diff --git a/python3-s3transfer-mock.patch b/python3-s3transfer-mock.patch
deleted file mode 100644 (file)
index f124b5c..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
---- 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
-@@ -12,7 +12,10 @@
- # language governing permissions and limitations under the License.
- from io import BytesIO
- from botocore.awsrequest import create_request_object
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from tests import skip_if_using_serial_implementation
- from tests import StubbedClientTest
---- s3transfer-0.3.4/tests/functional/test_processpool.py.orig 2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/functional/test_processpool.py      2021-02-14 10:54:07.833604339 +0100
-@@ -14,7 +14,10 @@ import glob
- import os
- from multiprocessing.managers import BaseManager
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- import botocore.exceptions
- import botocore.session
- from botocore.stub import Stubber
---- s3transfer-0.3.4/tests/functional/test_upload.py.orig      2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/functional/test_upload.py   2021-02-14 10:53:48.667041507 +0100
-@@ -15,7 +15,10 @@ import time
- import tempfile
- import shutil
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from botocore.client import Config
- from botocore.exceptions import ClientError
- from botocore.awsrequest import AWSRequest
---- s3transfer-0.3.4/tests/unit/test_bandwidth.py.orig 2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/unit/test_bandwidth.py      2021-02-14 10:54:14.116903633 +0100
-@@ -14,7 +14,10 @@ import os
- import shutil
- import tempfile
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from tests import unittest
- from s3transfer.bandwidth import RequestExceededException
---- s3transfer-0.3.4/tests/unit/test_download.py.orig  2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/unit/test_download.py       2021-02-14 10:54:24.266848646 +0100
-@@ -15,7 +15,10 @@ import os
- import shutil
- import tempfile
- import socket
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from tests import BaseTaskTest
- from tests import BaseSubmissionTaskTest
---- s3transfer-0.3.4/tests/unit/test_futures.py.orig   2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/unit/test_futures.py        2021-02-14 10:55:05.729957355 +0100
-@@ -14,7 +14,10 @@ import sys
- import time
- import traceback
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from concurrent.futures import ThreadPoolExecutor
- from tests import unittest
---- s3transfer-0.3.4/tests/unit/test_processpool.py.orig       2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/unit/test_processpool.py    2021-02-14 10:54:35.633453735 +0100
-@@ -15,7 +15,10 @@ import signal
- import time
- import threading
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from six.moves import queue
- from botocore.exceptions import ClientError
- from botocore.exceptions import ReadTimeoutError
---- s3transfer-0.3.4/tests/unit/test_s3transfer.py.orig        2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/unit/test_s3transfer.py     2021-02-14 10:54:29.480153736 +0100
-@@ -17,7 +17,10 @@ import socket
- from tests import unittest
- from contextlib import closing
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from botocore.vendored import six
- from concurrent import futures
---- s3transfer-0.3.4/tests/unit/test_utils.py.orig     2021-01-11 20:17:48.000000000 +0100
-+++ s3transfer-0.3.4/tests/unit/test_utils.py  2021-02-14 10:54:55.406679947 +0100
-@@ -19,7 +19,10 @@ import re
- import time
- import io
--import mock
-+try:
-+    import mock
-+except ImportError:
-+    from unittest import mock
- from tests import unittest
- from tests import RecordingSubscriber
diff --git a/python3-s3transfer-tests.patch b/python3-s3transfer-tests.patch
deleted file mode 100644 (file)
index 3d255ad..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- s3transfer-0.3.4/tests/unit/test_futures.py.orig   2021-02-14 10:59:52.661736245 +0100
-+++ s3transfer-0.3.4/tests/unit/test_futures.py        2021-02-14 11:24:18.950459344 +0100
-@@ -517,6 +517,7 @@
-             future, self.assert_submit_would_not_block, second_task)
-         # Wait for it to complete.
-+        time.sleep(1)  # ensure done_callback is called before shutdown
-         self.executor.shutdown()
-     def test_would_not_block_when_full_capacity_in_other_semaphore(self):
---- s3transfer-0.3.4/tests/unit/test_s3transfer.py.orig        2021-02-14 11:46:37.363208540 +0100
-+++ s3transfer-0.3.4/tests/unit/test_s3transfer.py     2021-02-14 12:33:14.664720924 +0100
-@@ -14,6 +14,7 @@
- import tempfile
- import shutil
- import socket
-+import sys
- from tests import unittest
- from contextlib import closing
-@@ -462,6 +463,7 @@
-             downloader.download_file('bucket', 'key', 'filename',
-                                      len(response_body), {})
-+    @unittest.skipIf(sys.version_info >= (3, 8), "fails with py3.8")
-     def test_download_futures_fail_triggers_shutdown(self):
-         class FailedDownloadParts(SequentialExecutor):
-             def __init__(self, max_workers):
index 3da6edadfe99893bb1e35e1a6208cdabebb2c181..4d90f144ca5f493b9979e64786603f7e7c7a9d6d 100644 (file)
@@ -5,15 +5,13 @@
 Summary:       Amazon S3 Transfer Manager
 Summary(pl.UTF-8):     ZarzÄ…dca transferu danych Amazon S3
 Name:          python3-s3transfer
-Version:       0.5.0
-Release:       4
+Version:       0.6.0
+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: 9416d1c7d33506501a8627bb1f7baf66
-Patch0:                %{name}-mock.patch
-Patch1:                %{name}-tests.patch
+# Source0-md5: 17b8acaa7aeb376606637de9e3b3ec1b
 URL:           https://pypi.org/project/s3transfer/
 BuildRequires: python3-modules >= 1:3.6
 BuildRequires: python3-setuptools
@@ -37,8 +35,6 @@ Amazon S3.
 
 %prep
 %setup -q -n s3transfer-%{version}
-%patch0 -p1
-%patch1 -p1
 
 %build
 %py3_build
This page took 0.200693 seconds and 4 git commands to generate.