Accepting request 451335 from devel:languages:python

- use pypi.io

- update to 0.1.10:
  * feature: TransferManager: Expose ability to use own executor
    class for TransferManager
  * fix factory submission (validate source)

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

OBS-URL: https://build.opensuse.org/request/show/451335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-s3transfer?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-01-20 12:08:11 +00:00 committed by Git OBS Bridge
parent ad1e2af10c
commit 12bc616704
6 changed files with 73 additions and 36 deletions

View File

@ -1,12 +0,0 @@
Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You
may not use this file except in compliance with the License. A copy of
the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file is
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License.

View File

@ -13,28 +13,22 @@
-if sys.version_info[0] == 2:
+#if sys.version_info[0] == 2:
# concurrent.futures is only in python3, so for
# python2 we need to install the backport.
- # concurrent.futures is only in python3, so for
- # python2 we need to install the backport.
- requires.append('futures>=2.2.0,<4.0.0')
+#if sys.version_info[0] == 2:
+# # concurrent.futures is only in python3, so for
+# # python2 we need to install the backport.
+# requires.append('futures>=2.2.0,<4.0.0')
def get_version():
@@ -35,11 +35,11 @@ setup(
author_email='kyknapp1@gmail.com',
@@ -36,7 +36,7 @@ setup(
url='https://github.com/boto/s3transfer',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
- install_requires=requires,
- extras_require={
- ':python_version=="2.6" or python_version=="2.7"': [
- 'futures>=2.2.0,<4.0.0']
- },
+# install_requires=requires,
+# extras_require={
+# ':python_version=="2.6" or python_version=="2.7"': [
+# 'futures>=2.2.0,<4.0.0']
+# },
license="Apache License 2.0",
classifiers=(
'Development Status :: 1 - Planning',
extras_require={
':python_version=="2.6" or python_version=="2.7"': [
'futures>=2.2.0,<4.0.0']

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package python-s3transfer
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,16 @@
Name: python-s3transfer
Version: 0.0.1
Version: 0.1.10
Release: 0
Summary: Python S3 transfer manager
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/boto/s3transfer
Source0: https://pypi.python.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
Source1: LICENSE.txt
Source0: https://pypi.io/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
BuildRequires: python-setuptools
Requires: python-botocore <= 2.0.0
Requires: python-botocore >= 1.4.10
Requires: python-futures <= 4.0.0
Requires: python-futures >= 2.2.0
@ -49,7 +49,6 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
cp %{SOURCE1} %{_builddir}/s3transfer-%{version}
%files
%defattr(-,root,root,-)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2bb9ed8db58af94dfa78f75f554d646dfe4b4741fc87f63a20c2bfb3f70f4355
size 9465

3
s3transfer-0.1.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba1a9104939b7c0331dc4dd234d79afeed8b66edce77bbeeecd4f56de74a0fc1
size 95508