python-s3transfer/python-s3transfer.spec
John Paul Adrian Glaubitz 8014ba6664 Accepting request 1132522 from home:glaubitz:branches:devel:languages:python:aws
- 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

OBS-URL: https://build.opensuse.org/request/show/1132522
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-s3transfer?expand=0&rev=46
2023-12-23 05:11:12 +00:00

67 lines
2.0 KiB
RPMSpec

#
# 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