commit python-botocore for openSUSE:Factory
Hello community, here is the log from the commit of package python-botocore for openSUSE:Factory checked in at 2018-03-29 11:56:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-botocore (Old) and /work/SRC/openSUSE:Factory/.python-botocore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-botocore" Thu Mar 29 11:56:24 2018 rev:24 rq:590736 version:1.9.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-botocore/python-botocore.changes 2018-01-10 23:39:10.140760422 +0100 +++ /work/SRC/openSUSE:Factory/.python-botocore.new/python-botocore.changes 2018-03-29 11:56:29.564463940 +0200 @@ -1,0 +2,121 @@ +Sun Mar 11 09:31:29 UTC 2018 - sebix+novell.com@sebix.at + +- update to version 1.9.6: + * api-change:``pinpoint``: Update pinpoint client to latest version + * api-change:``ecs``: Update ecs client to latest version + * api-change:``rds``: Update rds client to latest version + * api-change:``mgh``: Update mgh client to latest version +- update to version 1.9.5: + * api-change:``medialive``: Update medialive client to latest version +- update to version 1.9.4: + * api-change:``ecs``: Update ecs client to latest version +- update to version 1.9.3: + * api-change:``ssm``: Update ssm client to latest version + * api-change:``servicecatalog``: Update servicecatalog client to latest version + * api-change:``events``: Update events client to latest version + * api-change:``storagegateway``: Update storagegateway client to latest version + * api-change:``ec2``: Update ec2 client to latest version +- update to version 1.9.2: + * api-change:``application-autoscaling``: Update application-autoscaling client to latest version +- update to version 1.9.1: + * api-change:``ecr``: Update ecr client to latest version +- update to version 1.9.0: + * enhancement:Stubber: Added the ability to add items to response metadata with the stubber. + * api-change:``sts``: Update sts client to latest version + * api-change:``route53``: Update route53 client to latest version + * feature:``s3``: Default to virtual hosted addressing regardless of signature version (boto/botocore`#1387 <https://github.com/boto/botocore/issues/1387>`__) +- update to version 1.8.50: + * api-change:``appstream``: Update appstream client to latest version +- update to version 1.8.49: + * api-change:``elbv2``: Update elbv2 client to latest version + * api-change:``ce``: Update ce client to latest version +- update to version 1.8.48: + * api-change:``ec2``: Update ec2 client to latest version + * api-change:``serverlessrepo``: Update serverlessrepo client to latest version + * api-change:``codecommit``: Update codecommit client to latest version +- update to version 1.8.47: + * api-change:``autoscaling``: Update autoscaling client to latest version + * api-change:``waf-regional``: Update waf-regional client to latest version + * api-change:``waf``: Update waf client to latest version +- update to version 1.8.46: + * api-change:``config``: Update config client to latest version +- update to version 1.8.45: + * api-change:``rds``: Update rds client to latest version +- update to version 1.8.44: + * api-change:``mediaconvert``: Update mediaconvert client to latest version + * api-change:``gamelift``: Update gamelift client to latest version +- update to version 1.8.43: + * api-change:``appsync``: Update appsync client to latest version + * api-change:``lex-models``: Update lex-models client to latest version +- update to version 1.8.42: + * api-change:``glacier``: Update glacier client to latest version + * api-change:``route53``: Update route53 client to latest version +- update to version 1.8.41: + * api-change:``guardduty``: Update guardduty client to latest version + * api-change:``cognito-idp``: Update cognito-idp client to latest version + * api-change:``rds``: Update rds client to latest version + * api-change:``ec2``: Update ec2 client to latest version + * api-change:``kms``: Update kms client to latest version +- update to version 1.8.40: + * api-change:``lex-runtime``: Update lex-runtime client to latest version + * api-change:``ec2``: Update ec2 client to latest version + * api-change:``lex-models``: Update lex-models client to latest version +- update to version 1.8.39: + * api-change:``ds``: Update ds client to latest version + * api-change:``appstream``: Update appstream client to latest version + * api-change:``medialive``: Update medialive client to latest version + * api-change:``budgets``: Update budgets client to latest version + * api-change:``gamelift``: Update gamelift client to latest version + * api-change:``dynamodb``: Update dynamodb client to latest version + * api-change:``dms``: Update dms client to latest version + * api-change:``mediastore``: Update mediastore client to latest version +- update to version 1.8.38: + * api-change:``servicediscovery``: Update servicediscovery client to latest version + * api-change:``servicecatalog``: Update servicecatalog client to latest version + * api-change:``ssm``: Update ssm client to latest version + * api-change:``glue``: Update glue client to latest version +- update to version 1.8.37: + * api-change:``cloud9``: Update cloud9 client to latest version + * api-change:``acm``: Update acm client to latest version + * api-change:``kinesis``: Update kinesis client to latest version + * api-change:``opsworks``: Update opsworks client to latest version +- update to version 1.8.36: + * api-change:``mturk``: Update mturk client to latest version + * api-change:``medialive``: Update medialive client to latest version + * api-change:``devicefarm``: Update devicefarm client to latest version +- update to version 1.8.35: + * api-change:``lambda``: Update lambda client to latest version + * api-change:``codebuild``: Update codebuild client to latest version + * api-change:``alexaforbusiness``: Update alexaforbusiness client to latest version + * bugfix:Presign: Fix issue where some events were not fired during the presigning of a request thus not including a variety of customizations (`#1340 <https://github.com/boto/botocore/issues/1340>`__) + * enhancement:Credentials: Improved error message when the source profile for an assume role is misconfigured. Fixes aws/aws-cli`#2763 <https://github.com/aws/aws-cli/issues/2763>`__ + * api-change:``guardduty``: Update guardduty client to latest version + * enhancment:Paginator: Added paginators for a number of services where the result key is unambiguous. +- update to version 1.8.34: + * api-change:``budgets``: Update budgets client to latest version +- update to version 1.8.33: + * api-change:``glue``: Update glue client to latest version + * api-change:``transcribe``: Update transcribe client to latest version +- update to version 1.8.32: + * api-change:``sagemaker``: Update sagemaker client to latest version +- update to version 1.8.31: + * api-change:``ec2``: Update ec2 client to latest version + * api-change:``autoscaling-plans``: Update autoscaling-plans client to latest version +- update to version 1.8.30: + * api-change:``application-autoscaling``: Update application-autoscaling client to latest version + * api-change:``autoscaling-plans``: Update autoscaling-plans client to latest version + * api-change:``rds``: Update rds client to latest version +- update to version 1.8.29: + * api-change:``lambda``: Update lambda client to latest version + * enhancement:cloudformation get_template template body ordering: fixes boto/boto3`#1378 <https://github.com/boto/boto3/issues/1378>`__ +- update to version 1.8.28: + * api-change:``glue``: Update glue client to latest version +- update to version 1.8.27: + * api-change:``ssm``: Update ssm client to latest version + * api-change:``elbv2``: Update elbv2 client to latest version + * api-change:``rds``: Update rds client to latest version + * api-change:``elb``: Update elb client to latest version +- remove port hide_py_pckgmgmt.patch +- add fix_tests.patch to fix tests for removed vendored packages + +------------------------------------------------------------------- Old: ---- botocore-1.8.26.tar.gz hide_py_pckgmgmt.patch New: ---- botocore-1.9.6.tar.gz fix_tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-botocore.spec ++++++ --- /var/tmp/diff_new_pack.ohhs1a/_old 2018-03-29 11:56:30.624425664 +0200 +++ /var/tmp/diff_new_pack.ohhs1a/_new 2018-03-29 11:56:30.628425519 +0200 @@ -18,14 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-botocore -Version: 1.8.26 +Version: 1.9.6 Release: 0 Summary: Python interface for AWS License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/boto/botocore Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz -Patch0: hide_py_pckgmgmt.patch +# PATCH-FIX-OPENSUSE fix_tests.patch -- fix tests with removed vendored packages +Patch0: fix_tests.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module docutils >= 0.10} BuildRequires: %{python_module jmespath < 1.0.0} @@ -35,18 +36,20 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# Testing requirements -%if %{with tests} +# SECTION Testing requirements +BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} -BuildRequires: python-mock +BuildRequires: %{python_module requests} +BuildRequires: %{python_module six} BuildRequires: python-unittest2 -%endif +# /SECTION Requires: python-docutils >= 0.10 Requires: python-jmespath < 1.0.0 Requires: python-jmespath >= 0.7.1 Requires: python-python-dateutil <= 3.0.0 Requires: python-python-dateutil >= 2.1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-requests +Requires: python-six BuildArch: noarch %python_subpackages @@ -55,7 +58,12 @@ %prep %setup -q -n botocore-%{version} -%patch0 -p0 +%patch0 -p1 +# remove requests and six +rm -r botocore/vendored/ +# fix all imports: +sed -i 's/from botocore\.vendored //' botocore/*.py tests/unit/*.py +sed -i 's/botocore\.vendored\.//' botocore/*.py tests/unit/*.py tests/unit/auth/*.py %build %python_build @@ -64,14 +72,12 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check %python_expand nosetests-%{$python_bin_suffix} tests/unit -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%doc README.rst +%license LICENSE.txt %{python_sitelib}/botocore/ %{python_sitelib}/botocore-%{version}-py%{py_ver}.egg-info ++++++ botocore-1.8.26.tar.gz -> botocore-1.9.6.tar.gz ++++++ ++++ 27691 lines of diff (skipped) ++++++ fix_tests.patch ++++++ --- botocore-1.9.6/tests/unit/test_awsrequest.py 2018-03-08 23:49:23.000000000 +0100 +++ botocore-1.9.6/tests/unit/test_awsrequest.py 2018-03-11 14:48:34.908864082 +0100 @@ -207,7 +207,6 @@ self.assertEqual( self.prepared_request.headers['Content-Length'], str(len(content))) - self.assertNotIn('Transfer-Encoding', self.prepared_request.headers) def test_prepare_body_ignores_existing_transfer_encoding(self): content = b'foobarbaz' --- botocore-1.9.6/tests/unit/test_endpoint.py 2018-03-08 23:49:23.000000000 +0100 +++ botocore-1.9.6/tests/unit/test_endpoint1.py 2018-03-11 16:36:27.169383830 +0100 @@ -11,6 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import sys from tests import unittest from mock import Mock, patch, sentinel @@ -42,9 +43,9 @@ six.StringIO.__init__(self, value) self.total_resets = 0 - def seek(self, where): + def seek(self, where, whence=0): self.total_resets += 1 - six.StringIO.seek(self, where) + six.StringIO.seek(self, where, whence) class TestEndpointBase(unittest.TestCase): @@ -267,7 +268,10 @@ [(None, None)], # Finally emit no rety is needed. ] self.endpoint.make_request(op, request) - self.assertEqual(body.total_resets, 2) + if sys.version_info[0] == 3: + self.assertEqual(body.total_resets, 8) + else: + self.assertEqual(body.total_resets, 2) class TestEndpointCreator(unittest.TestCase):
participants (1)
-
root@hilbert.suse.de