OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-s3transfer?expand=0&rev=30
This commit is contained in:
parent
774dbcd4a5
commit
cbffba0269
@ -1,25 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
from botocore.compat import six
|
|
||||||
-from botocore.vendored.requests.packages.urllib3.exceptions import \
|
|
||||||
- ReadTimeoutError
|
|
||||||
+from urllib3.exceptions import ReadTimeoutError
|
|
||||||
from botocore.exceptions import IncompleteReadError
|
|
||||||
|
|
||||||
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
|
|
@ -1,203 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 27 09:40:00 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Update 0.5.0:
|
|
||||||
* feature:Python: Dropped support for Python 2.7
|
|
||||||
- Disable Python2 builds for all SUSE distributions
|
|
||||||
- Remove Python2 build dependencies from spec file
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed May 19 16:27:18 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
|
||||||
|
|
||||||
- Update to 0.4.2:
|
|
||||||
* enhancement:s3: Add support for ExpectedBucketOwner. Fixes #181.
|
|
||||||
- Update to 0.4.1:
|
|
||||||
* enhancement:crt: Add set_exception to CRTTransferFuture to allow setting exceptions in subscribers.
|
|
||||||
- Update to 0.4.0:
|
|
||||||
* feature:crt: Add optional AWS Common Runtime (CRT) support. The AWS CRT provides a C-based S3 transfer client that can improve transfer throughput.
|
|
||||||
- Update to 0.3.7:
|
|
||||||
* bugfix:ReadFileChunk: Fix seek behavior in ReadFileChunk class
|
|
||||||
- Update to 0.3.6:
|
|
||||||
* bugfix:packaging: Fix setup.py metadata for futures on Python 2.7
|
|
||||||
- Update to 0.3.5:
|
|
||||||
* enhancement:s3: Block TransferManager methods for S3 Object Lambda resources
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 12 11:28:23 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Update to 0.3.4:
|
|
||||||
* enhancement:s3: Add server side encryption context into allowed list
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
|
||||||
|
|
||||||
- Only build Python3 flavors for distributions 15 and greater
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Apr 7 07:46:02 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Fix build on SLE-12
|
|
||||||
+ Add python to BuildRequires for suse_version < 1500
|
|
||||||
+ Add python-scandir to BuildRequires for suse_version < 1500
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Mar 13 12:52:07 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
|
||||||
|
|
||||||
- Fix build without python2
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 10 09:45:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
|
||||||
|
|
||||||
- Skip test failing on python 3.8, it is race condition that needs
|
|
||||||
to be fixed in tests
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 27 08:21:19 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
|
||||||
|
|
||||||
- Update to 0.3.3:
|
|
||||||
* bugfix:dependency: Updated botocore version range
|
|
||||||
- Drop patch hide_py_pckgmgmt.patch it should not be needed
|
|
||||||
* we updated setuptools on SLE 12 to handle complex dependencies
|
|
||||||
- Use pytest for test execution:
|
|
||||||
* the nose is used by upstream but really not needed and it
|
|
||||||
will get borked with python 3.10
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jan 27 16:10:36 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Update to version 0.3.2
|
|
||||||
* bugfix:s3: Fixes boto/botocore`#1916 <https://github.com/boto/botocore/issues/1916>`__
|
|
||||||
- from version 0.3.1
|
|
||||||
* enhancement:TransferManager: Expose client and config properties
|
|
||||||
* enhancement:Tags: Add support for Tagging and TaggingDirective
|
|
||||||
- from version 0.3.0
|
|
||||||
* feature:Python: Dropped support for Python 2.6 and 3.3.
|
|
||||||
- Refresh patches for new version
|
|
||||||
+ hide_py_pckgmgmt.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jun 12 11:58:09 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Update to version 0.2.1 (bsc#1146853)
|
|
||||||
* enhancment:ProcessPool: Adds user agent suffix.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 13 12:53:52 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Update to version 0.2.0
|
|
||||||
* feature:``ProcessPoolDownloader``: Add ``ProcessPoolDownloader`` class
|
|
||||||
to speed up download throughput by using processes instead of threads.
|
|
||||||
- Drop obsolete patch
|
|
||||||
+ system-requests.patch
|
|
||||||
- Refresh patches for new version
|
|
||||||
+ hide_py_pckgmgmt.patch
|
|
||||||
+ no-bundled-packages.patch
|
|
||||||
- Update Requires in spec file from setup.py
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed May 9 09:05:34 UTC 2018 - tchvatal@suse.com
|
|
||||||
|
|
||||||
- Avoid running tests on 32bit as they fail there on oom
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue May 8 15:38:20 UTC 2018 - tchvatal@suse.com
|
|
||||||
|
|
||||||
- Make sure to really not use any damn bundles:
|
|
||||||
* no-bundled-packages.patch
|
|
||||||
* Never rely on some bundled package version just use system libs
|
|
||||||
- Enable testsuite and make it pass thanks to above patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Apr 19 10:37:34 UTC 2018 - mimi.vx@gmail.com
|
|
||||||
|
|
||||||
- update to 0.1.13 (bsc#1075263)
|
|
||||||
- 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
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 9 23:03:07 UTC 2017 - rjschwei@suse.com
|
|
||||||
|
|
||||||
- Update to version 0.1.11:
|
|
||||||
+ Properly handle unicode exceptions in the context manager
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu May 11 01:37:16 UTC 2017 - toddrme2178@gmail.com
|
|
||||||
|
|
||||||
- Implement single-spec version.
|
|
||||||
- Update source URL.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 19 09:52:30 UTC 2017 - dmueller@suse.com
|
|
||||||
|
|
||||||
- use pypi.io
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 18 13:55:06 UTC 2017 - astieger@suse.com
|
|
||||||
|
|
||||||
- update to 0.1.10:
|
|
||||||
* feature: TransferManager: Expose ability to use own executor
|
|
||||||
class for TransferManager
|
|
||||||
* fix factory submission (validate source)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 26 17:39:11 UTC 2016 - rjschwei@suse.com
|
|
||||||
|
|
||||||
- Update to version 0.1.9 (bsc#1007084)
|
|
||||||
+ Forward port hide_py_pckgmgmt.patch
|
|
||||||
+ No changelog entry for 0.1.9
|
|
||||||
- From 0.1.8
|
|
||||||
+ feature:download: Support downloading to FIFOs.
|
|
||||||
- From 0.1.7
|
|
||||||
+ bugfix:TransferManager: Fix memory leak when using same client to create
|
|
||||||
multiple TransferManagers
|
|
||||||
- From 0.1.6
|
|
||||||
+ bugfix:download: Fix issue where S3 Object was not downloaded to disk
|
|
||||||
when empty
|
|
||||||
- From 0.1.5
|
|
||||||
+ bugfix:Cntrl-C: Fix issue of hangs when Cntrl-C happens for many queued
|
|
||||||
transfers
|
|
||||||
+ feature:cancel: Expose messages for cancels
|
|
||||||
- from 0.1.4
|
|
||||||
+ feature:chunksize: Automatically adjust the chunksize if it doesn't meet
|
|
||||||
S3s requirements.
|
|
||||||
+ bugfix:Download: Add support for downloading to special UNIX file by name
|
|
||||||
- From 0.1.3
|
|
||||||
+ feature:delete: Add a .delete() method to the transfer manager.
|
|
||||||
+ bugfix:seekable upload: Fix issue where seeked position of seekable
|
|
||||||
file for a nonmultipart upload was not being taken into account.
|
|
||||||
- From 0.1.2
|
|
||||||
+ bugfix:download: Patch memory leak related to unnecessarily holding
|
|
||||||
onto futures for downloads.
|
|
||||||
- From 0.1.1
|
|
||||||
+ bugfix:deadlock: Fix deadlock issue described here:
|
|
||||||
https://bugs.python.org/issue20319 with using concurrent.futures.wait
|
|
||||||
- From 0.1.0
|
|
||||||
+ feature:copy: Add support for managed copies.
|
|
||||||
+ feature:download: Add support for downloading to a filename, seekable
|
|
||||||
file-like object, and nonseekable file-like object.
|
|
||||||
+ feature:general: Add TransferManager class. All public functionality
|
|
||||||
for s3transfer is exposed through this class.
|
|
||||||
+ feature:subscribers: Add subscriber interface. Currently supports
|
|
||||||
on_queued, on_progress, and on_done status changes.
|
|
||||||
+ feature:upload: Add support for uploading a filename, seekable file-like
|
|
||||||
object, and nonseekable file-like object.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Apr 18 17:47:19 UTC 2016 - rjschwei@suse.com
|
|
||||||
|
|
||||||
- Include in SLE 12 (FATE#320748, bsc#974993, bsc#975949)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Apr 12 11:46:04 UTC 2016 - rjschwei@suse.com
|
|
||||||
|
|
||||||
- Set the proper target directory for copying the license file
|
|
||||||
+ Fixes build issue on SLE 11
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Apr 11 21:30:05 UTC 2016 - rjschwei@suse.com
|
|
||||||
|
|
||||||
- Initial build
|
|
||||||
+ Version 0.0.1
|
|
||||||
|
|
@ -1,71 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package python-s3transfer
|
|
||||||
#
|
|
||||||
# Copyright (c) 2021 SUSE LLC
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-s3transfer
|
|
||||||
Version: 0.5.0
|
|
||||||
Release: 0
|
|
||||||
Summary: Python S3 transfer manager
|
|
||||||
License: Apache-2.0
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
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}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
Requires: python-botocore <= 2.0.0
|
|
||||||
Requires: python-botocore >= 1.12.36
|
|
||||||
Requires: python-requests
|
|
||||||
Requires: python-urllib3
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
|
||||||
|
|
||||||
%description
|
|
||||||
A transfer manager for Amazon Web Services S3
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n s3transfer-%{version}
|
|
||||||
%patch1 -p1
|
|
||||||
# remove integration tests that need running s3
|
|
||||||
rm -rf tests/integration
|
|
||||||
|
|
||||||
%build
|
|
||||||
%python_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%python_install
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
|
|
||||||
%check
|
|
||||||
# test_download_futures_fail_triggers_shutdown - https://github.com/boto/s3transfer/pull/162
|
|
||||||
%pytest -k 'not test_download_futures_fail_triggers_shutdown'
|
|
||||||
|
|
||||||
%files %{python_files}
|
|
||||||
%license LICENSE.txt
|
|
||||||
%doc README.rst
|
|
||||||
%{python_sitelib}/s3transfer/
|
|
||||||
%{python_sitelib}/s3transfer-%{version}-py*.egg-info
|
|
||||||
|
|
||||||
%changelog
|
|
Loading…
Reference in New Issue
Block a user