Hello community, here is the log from the commit of package python-boto3 for openSUSE:Factory checked in at 2017-09-15 22:31:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-boto3 (Old) and /work/SRC/openSUSE:Factory/.python-boto3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boto3" Fri Sep 15 22:31:20 2017 rev:7 rq:526213 version:1.4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-boto3/python-boto3.changes 2017-05-18 20:48:38.764500657 +0200 +++ /work/SRC/openSUSE:Factory/.python-boto3.new/python-boto3.changes 2017-09-15 22:31:22.962862107 +0200 @@ -1,0 +2,11 @@ +Thu Sep 14 19:10:54 UTC 2017 - [email protected] + +- Update to version 1.4.7 + + botocore: Raised minor version dependency for botocore +- From 1.4.6 + + Logging: Switch log levels from INFO to DEBUG (#1208) +- From 1.4.5 + + s3: Add a LifecycleConfiguration resource to resolve issues with the + existing Lifecycle resource. + +------------------------------------------------------------------- @@ -6 +17 @@ -- Update to version 1.4.3 +- Update to version 1.4.4 Old: ---- boto3-1.4.4.tar.gz New: ---- boto3-1.4.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-boto3.spec ++++++ --- /var/tmp/diff_new_pack.efUwTI/_old 2017-09-15 22:31:23.766748869 +0200 +++ /var/tmp/diff_new_pack.efUwTI/_new 2017-09-15 22:31:23.774747742 +0200 @@ -18,20 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-boto3 -Version: 1.4.4 +Version: 1.4.7 Release: 0 Url: https://github.com/boto/boto3 Summary: Amazon Web Services Library License: Apache-2.0 Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/b/boto3/boto3-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module futures} -Requires: python-botocore < 1.6.0 -Requires: python-botocore >= 1.5.0 +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-botocore < 1.8.0 +Requires: python-botocore >= 1.7.0 Requires: python-futures Requires: python-jmespath < 1.0.0 Requires: python-jmespath >= 0.7.1 ++++++ boto3-1.4.4.tar.gz -> boto3-1.4.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/PKG-INFO new/boto3-1.4.7/PKG-INFO --- old/boto3-1.4.4/PKG-INFO 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/PKG-INFO 2017-08-29 21:05:32.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: boto3 -Version: 1.4.4 +Version: 1.4.7 Summary: The AWS SDK for Python Home-page: https://github.com/boto/boto3 Author: Amazon Web Services @@ -10,7 +10,7 @@ Boto 3 - The AWS SDK for Python =============================== - |Build Status| |Docs| |Version| + |Build Status| |Docs| |Version| |Gitter| Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use @@ -26,6 +26,9 @@ .. |Build Status| image:: http://img.shields.io/travis/boto/boto3/develop.svg?style=flat :target: https://travis-ci.org/boto/boto3 :alt: Build Status + .. |Gitter| image:: https://badges.gitter.im/boto/boto3.svg + :target: https://gitter.im/boto/boto3 + :alt: Gitter .. |Docs| image:: https://readthedocs.org/projects/boto3/badge/?version=latest&style=flat :target: https://boto3.readthedocs.io/en/latest/ :alt: Read the docs @@ -93,7 +96,7 @@ Running Tests ~~~~~~~~~~~~~ You can run tests in all supported Python versions using ``tox``. By default, - it will run all of the unit tests, but you can also specify your own + it will run all of the unit and functional tests, but you can also specify your own ``nosetests`` options. Note that this requires that you have all supported versions of Python installed, otherwise you must pass ``-e`` or run the ``nosetests`` command directly: @@ -101,8 +104,8 @@ .. code-block:: sh $ tox - $ tox tests/unit/test_session.py - $ tox -e py26,py33 tests/integration + $ tox -- unit/test_session.py + $ tox -e py26,py33 -- integration/ You can also run individual tests with your default Python version: @@ -121,6 +124,19 @@ $ cd docs $ make html + + Getting Help + ------------ + + We use GitHub issues for tracking bugs and feature requests and have limited + bandwidth to address them. Please use these community resources for getting + help: + + * Ask a question on `Stack Overflow <https://stackoverflow.com/>`__ and tag it with `boto3 <https://stackoverflow.com/questions/tagged/boto3>`__ + * Come join the AWS Python community chat on `gitter <https://gitter.im/boto/boto3>`__ + * Open a support ticket with `AWS Support <https://console.aws.amazon.com/support/home#/>`__ + * If it turns out that you may have found a bug, please `open an issue <https://github.com/boto/boto3/issues/new>`__ + Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/README.rst new/boto3-1.4.7/README.rst --- old/boto3-1.4.4/README.rst 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/README.rst 2017-08-29 21:05:31.000000000 +0200 @@ -2,7 +2,7 @@ Boto 3 - The AWS SDK for Python =============================== -|Build Status| |Docs| |Version| +|Build Status| |Docs| |Version| |Gitter| Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use @@ -18,6 +18,9 @@ .. |Build Status| image:: http://img.shields.io/travis/boto/boto3/develop.svg?style=flat :target: https://travis-ci.org/boto/boto3 :alt: Build Status +.. |Gitter| image:: https://badges.gitter.im/boto/boto3.svg + :target: https://gitter.im/boto/boto3 + :alt: Gitter .. |Docs| image:: https://readthedocs.org/projects/boto3/badge/?version=latest&style=flat :target: https://boto3.readthedocs.io/en/latest/ :alt: Read the docs @@ -85,7 +88,7 @@ Running Tests ~~~~~~~~~~~~~ You can run tests in all supported Python versions using ``tox``. By default, -it will run all of the unit tests, but you can also specify your own +it will run all of the unit and functional tests, but you can also specify your own ``nosetests`` options. Note that this requires that you have all supported versions of Python installed, otherwise you must pass ``-e`` or run the ``nosetests`` command directly: @@ -93,8 +96,8 @@ .. code-block:: sh $ tox - $ tox tests/unit/test_session.py - $ tox -e py26,py33 tests/integration + $ tox -- unit/test_session.py + $ tox -e py26,py33 -- integration/ You can also run individual tests with your default Python version: @@ -112,3 +115,16 @@ $ pip install -r requirements-docs.txt $ cd docs $ make html + + +Getting Help +------------ + +We use GitHub issues for tracking bugs and feature requests and have limited +bandwidth to address them. Please use these community resources for getting +help: + +* Ask a question on `Stack Overflow <https://stackoverflow.com/>`__ and tag it with `boto3 <https://stackoverflow.com/questions/tagged/boto3>`__ +* Come join the AWS Python community chat on `gitter <https://gitter.im/boto/boto3>`__ +* Open a support ticket with `AWS Support <https://console.aws.amazon.com/support/home#/>`__ +* If it turns out that you may have found a bug, please `open an issue <https://github.com/boto/boto3/issues/new>`__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/__init__.py new/boto3-1.4.7/boto3/__init__.py --- old/boto3-1.4.4/boto3/__init__.py 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/__init__.py 2017-08-29 21:05:31.000000000 +0200 @@ -17,7 +17,7 @@ __author__ = 'Amazon Web Services' -__version__ = '1.4.4' +__version__ = '1.4.7' # The default Boto3 session; autoloaded when needed. @@ -65,7 +65,7 @@ """ Get the default session, creating one if needed. - :rtype: :py:class:`~boto3.session.Sesssion` + :rtype: :py:class:`~boto3.session.Session` :return: The default session """ if DEFAULT_SESSION is None: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/data/glacier/2012-06-01/resources-1.json new/boto3-1.4.7/boto3/data/glacier/2012-06-01/resources-1.json --- old/boto3-1.4.4/boto3/data/glacier/2012-06-01/resources-1.json 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/data/glacier/2012-06-01/resources-1.json 2017-08-29 21:05:31.000000000 +0200 @@ -538,6 +538,24 @@ "path": "UploadsList[]" } }, + "MultipartUploads": { + "request": { + "operation": "ListMultipartUploads", + "params": [ + { "target": "vaultName", "source": "identifier", "name": "Name" }, + { "target": "accountId", "source": "identifier", "name": "AccountId" } + ] + }, + "resource": { + "type": "MultipartUpload", + "identifiers": [ + { "target": "AccountId", "source": "identifier", "name": "AccountId" }, + { "target": "VaultName", "source": "identifier", "name": "Name" }, + { "target": "Id", "source": "response", "path": "UploadsList[].MultipartUploadId" } + ], + "path": "UploadsList[]" + } + }, "SucceededJobs": { "request": { "operation": "ListJobs", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/data/s3/2006-03-01/resources-1.json new/boto3-1.4.7/boto3/data/s3/2006-03-01/resources-1.json --- old/boto3-1.4.4/boto3/data/s3/2006-03-01/resources-1.json 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/data/s3/2006-03-01/resources-1.json 2017-08-29 21:05:31.000000000 +0200 @@ -120,6 +120,18 @@ ] } }, + "LifecycleConfiguration": { + "resource": { + "type": "BucketLifecycleConfiguration", + "identifiers": [ + { + "target": "BucketName", + "source": "identifier", + "name": "Name" + } + ] + } + }, "Logging": { "resource": { "type": "BucketLogging", @@ -358,6 +370,67 @@ ] } } + } + }, + "BucketLifecycleConfiguration": { + "identifiers": [ + { + "name": "BucketName" + } + ], + "shape": "GetBucketLifecycleConfigurationOutput", + "load": { + "request": { + "operation": "GetBucketLifecycleConfiguration", + "params": [ + { + "target": "Bucket", + "source": "identifier", + "name": "BucketName" + } + ] + }, + "path": "@" + }, + "actions": { + "Delete": { + "request": { + "operation": "DeleteBucketLifecycle", + "params": [ + { + "target": "Bucket", + "source": "identifier", + "name": "BucketName" + } + ] + } + }, + "Put": { + "request": { + "operation": "PutBucketLifecycleConfiguration", + "params": [ + { + "target": "Bucket", + "source": "identifier", + "name": "BucketName" + } + ] + } + } + }, + "has": { + "Bucket": { + "resource": { + "type": "Bucket", + "identifiers": [ + { + "target": "Name", + "source": "identifier", + "name": "BucketName" + } + ] + } + } } }, "BucketLogging": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/resources/action.py new/boto3-1.4.7/boto3/resources/action.py --- old/boto3-1.4.4/boto3/resources/action.py 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/resources/action.py 2017-08-29 21:05:31.000000000 +0200 @@ -77,7 +77,7 @@ params = create_request_parameters(parent, self._action_model.request) params.update(kwargs) - logger.info('Calling %s:%s with %r', parent.meta.service_name, + logger.debug('Calling %s:%s with %r', parent.meta.service_name, operation_name, params) response = getattr(parent.meta.client, operation_name)(**params) @@ -146,7 +146,7 @@ params.update(kwargs) - logger.info('Calling %s:%s with %r', + logger.debug('Calling %s:%s with %r', service_name, operation_name, params) response = getattr(client, operation_name)(**params) @@ -193,7 +193,7 @@ params = create_request_parameters(parent, self._waiter_model) params.update(kwargs) - logger.info('Calling %s:%s with %r', + logger.debug('Calling %s:%s with %r', parent.meta.service_name, self._waiter_resource_name, params) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/resources/collection.py new/boto3-1.4.7/boto3/resources/collection.py --- old/boto3-1.4.4/boto3/resources/collection.py 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/resources/collection.py 2017-08-29 21:05:31.000000000 +0200 @@ -147,17 +147,17 @@ # page in a list. For non-paginated results, we just ignore # the page size parameter. if client.can_paginate(self._py_operation_name): - logger.info('Calling paginated %s:%s with %r', - self._parent.meta.service_name, - self._py_operation_name, params) + logger.debug('Calling paginated %s:%s with %r', + self._parent.meta.service_name, + self._py_operation_name, params) paginator = client.get_paginator(self._py_operation_name) pages = paginator.paginate( PaginationConfig={ 'MaxItems': limit, 'PageSize': page_size}, **params) else: - logger.info('Calling %s:%s with %r', - self._parent.meta.service_name, - self._py_operation_name, params) + logger.debug('Calling %s:%s with %r', + self._parent.meta.service_name, + self._py_operation_name, params) pages = [getattr(client, self._py_operation_name)(**params)] # Now that we have a page iterator or single page of results diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/s3/inject.py new/boto3-1.4.7/boto3/s3/inject.py --- old/boto3-1.4.4/boto3/s3/inject.py 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/s3/inject.py 2017-08-29 21:05:31.000000000 +0200 @@ -64,15 +64,19 @@ # We can't actually get the bucket's attributes from a HeadBucket, # so we need to use a ListBuckets and search for our bucket. - response = self.meta.client.list_buckets() - for bucket_data in response['Buckets']: - if bucket_data['Name'] == self.name: - self.meta.data = bucket_data - break - else: - raise ClientError({'Error': {'Code': '404', 'Message': 'NotFound'}}, - 'ListBuckets') - + # However, we may fail if we lack permissions to ListBuckets + # or the bucket is in another account. In which case, creation_date + # will be None. + self.meta.data = {} + try: + response = self.meta.client.list_buckets() + for bucket_data in response['Buckets']: + if bucket_data['Name'] == self.name: + self.meta.data = bucket_data + break + except ClientError as e: + if not e.response.get('Error', {}).get('Code') == 'AccessDenied': + raise def object_summary_load(self, *args, **kwargs): """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3/s3/transfer.py new/boto3-1.4.7/boto3/s3/transfer.py --- old/boto3-1.4.4/boto3/s3/transfer.py 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3/s3/transfer.py 2017-08-29 21:05:31.000000000 +0200 @@ -92,7 +92,7 @@ self._seen_so_far += bytes_amount percentage = (self._seen_so_far / self._size) * 100 sys.stdout.write( - "\\r%s %s / %s (%.2f%%)" % ( + "\r%s %s / %s (%.2f%%)" % ( self._filename, self._seen_so_far, self._size, percentage)) sys.stdout.flush() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3.egg-info/PKG-INFO new/boto3-1.4.7/boto3.egg-info/PKG-INFO --- old/boto3-1.4.4/boto3.egg-info/PKG-INFO 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3.egg-info/PKG-INFO 2017-08-29 21:05:32.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: boto3 -Version: 1.4.4 +Version: 1.4.7 Summary: The AWS SDK for Python Home-page: https://github.com/boto/boto3 Author: Amazon Web Services @@ -10,7 +10,7 @@ Boto 3 - The AWS SDK for Python =============================== - |Build Status| |Docs| |Version| + |Build Status| |Docs| |Version| |Gitter| Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use @@ -26,6 +26,9 @@ .. |Build Status| image:: http://img.shields.io/travis/boto/boto3/develop.svg?style=flat :target: https://travis-ci.org/boto/boto3 :alt: Build Status + .. |Gitter| image:: https://badges.gitter.im/boto/boto3.svg + :target: https://gitter.im/boto/boto3 + :alt: Gitter .. |Docs| image:: https://readthedocs.org/projects/boto3/badge/?version=latest&style=flat :target: https://boto3.readthedocs.io/en/latest/ :alt: Read the docs @@ -93,7 +96,7 @@ Running Tests ~~~~~~~~~~~~~ You can run tests in all supported Python versions using ``tox``. By default, - it will run all of the unit tests, but you can also specify your own + it will run all of the unit and functional tests, but you can also specify your own ``nosetests`` options. Note that this requires that you have all supported versions of Python installed, otherwise you must pass ``-e`` or run the ``nosetests`` command directly: @@ -101,8 +104,8 @@ .. code-block:: sh $ tox - $ tox tests/unit/test_session.py - $ tox -e py26,py33 tests/integration + $ tox -- unit/test_session.py + $ tox -e py26,py33 -- integration/ You can also run individual tests with your default Python version: @@ -121,6 +124,19 @@ $ cd docs $ make html + + Getting Help + ------------ + + We use GitHub issues for tracking bugs and feature requests and have limited + bandwidth to address them. Please use these community resources for getting + help: + + * Ask a question on `Stack Overflow <https://stackoverflow.com/>`__ and tag it with `boto3 <https://stackoverflow.com/questions/tagged/boto3>`__ + * Come join the AWS Python community chat on `gitter <https://gitter.im/boto/boto3>`__ + * Open a support ticket with `AWS Support <https://console.aws.amazon.com/support/home#/>`__ + * If it turns out that you may have found a bug, please `open an issue <https://github.com/boto/boto3/issues/new>`__ + Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/boto3.egg-info/requires.txt new/boto3-1.4.7/boto3.egg-info/requires.txt --- old/boto3-1.4.4/boto3.egg-info/requires.txt 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/boto3.egg-info/requires.txt 2017-08-29 21:05:32.000000000 +0200 @@ -1,3 +1,3 @@ -botocore>=1.5.0,<1.6.0 -jmespath>=0.7.1,<1.0.0 -s3transfer>=0.1.10,<0.2.0 +botocore<1.8.0,>=1.7.0 +jmespath<1.0.0,>=0.7.1 +s3transfer<0.2.0,>=0.1.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/setup.cfg new/boto3-1.4.7/setup.cfg --- old/boto3-1.4.4/setup.cfg 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/setup.cfg 2017-08-29 21:05:32.000000000 +0200 @@ -1,9 +1,9 @@ -[wheel] +[bdist_wheel] universal = 1 [metadata] requires-dist = - botocore>=1.5.0,<1.6.0 + botocore>=1.7.0,<1.8.0 jmespath>=0.7.1,<1.0.0 s3transfer>=0.1.10,<0.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.4.4/setup.py new/boto3-1.4.7/setup.py --- old/boto3-1.4.4/setup.py 2017-01-16 23:44:08.000000000 +0100 +++ new/boto3-1.4.7/setup.py 2017-08-29 21:05:31.000000000 +0200 @@ -14,7 +14,7 @@ requires = [ - 'botocore>=1.5.0,<1.6.0', + 'botocore>=1.7.0,<1.8.0', 'jmespath>=0.7.1,<1.0.0', 's3transfer>=0.1.10,<0.2.0' ]
