Sync from SUSE:SLFO:Main python-s3transfer revision 60af071ee6125d861143625863be9ce5
This commit is contained in:
commit
b3d89847aa
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
285
python-s3transfer.changes
Normal file
285
python-s3transfer.changes
Normal file
@ -0,0 +1,285 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 14:57:05 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update 0.8.2
|
||||
* bugfix:Subscribers: Added caching for Subscribers to improve
|
||||
throughput by up to 24% in high volume transfer
|
||||
- from version 0.8.1
|
||||
* enhancement:``s3``: Added support for defaulting checksums
|
||||
to CRC32 for s3express.
|
||||
- from version 0.8.0
|
||||
* enhancement:``crt``: Automatically configure CRC32 checksums for
|
||||
uploads and checksum validation for downloads through the CRT
|
||||
transfer manager.
|
||||
* feature:``crt``: S3transfer now supports a wider range of CRT
|
||||
functionality for uploads to improve throughput in the CLI/Boto3.
|
||||
* enhancement:``Botocore``: S3Transfer now requires Botocore >=1.32.7
|
||||
* enhancement:``crt``: Update ``target_throughput`` defaults. If not
|
||||
configured, s3transfer will use the AWS CRT to attempt to determine
|
||||
a recommended target throughput to use based on the system. If there
|
||||
is no recommended throughput, s3transfer now falls back to ten
|
||||
gigabits per second.
|
||||
* enhancement:``crt``: Add support for uploading and downloading file-like
|
||||
objects using CRT transfer manager. It supports both seekable and
|
||||
non-seekable file-like objects.
|
||||
- Update BuildRequires and Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 6 09:23:20 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.7.0
|
||||
* feature:``SSE-C``: Pass SSECustomer* arguments to
|
||||
CompleteMultipartUpload for upload operations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 1 15:11:54 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.6.2
|
||||
* enhancement:Python: Added provisional Python 3.12
|
||||
support to s3transfer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 3 13:44:35 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.6.1
|
||||
* bugfix:copy: Added support for ``ChecksumAlgorithm``
|
||||
when uploading copy data in parts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 11:20:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- drop no-bundled-packages.patch to allow unpinning urllib3
|
||||
boo#1211830
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 17 05:54:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- pin to urllib3 1.x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update 0.5.0: (bsc#1189649)
|
||||
* 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 10 16:42:43 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update in SLE-15 (bsc#1168943)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 22 14:38:47 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update in SLE-15 (bsc#1146854)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
66
python-s3transfer.spec
Normal file
66
python-s3transfer.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-s3transfer
|
||||
#
|
||||
# Copyright (c) 2023 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.8.2
|
||||
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
|
||||
BuildRequires: %{python_module botocore >= 1.33.2}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-botocore <= 2.0.0
|
||||
Requires: python-botocore >= 1.33.2
|
||||
Requires: python-requests
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A transfer manager for Amazon Web Services S3
|
||||
|
||||
%prep
|
||||
%setup -q -n s3transfer-%{version}
|
||||
# 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
|
BIN
s3transfer-0.8.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
s3transfer-0.8.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user