Hello community, here is the log from the commit of package python-boto3 for openSUSE:Factory checked in at 2018-05-11 09:17:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-boto3 (Old) and /work/SRC/openSUSE:Factory/.python-boto3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-boto3" Fri May 11 09:17:10 2018 rev:12 rq:606110 version:1.7.17 Changes: -------- --- /work/SRC/openSUSE:Factory/python-boto3/python-boto3.changes 2018-04-24 15:31:59.244701229 +0200 +++ /work/SRC/openSUSE:Factory/.python-boto3.new/python-boto3.changes 2018-05-11 09:17:15.820713996 +0200 @@ -1,0 +2,53 @@ +Thu May 10 08:20:55 UTC 2018 - [email protected] + +- Version update to 1.10.17: + * api-change:rds: [botocore] Update rds client to latest version + * api-change:ec2: [botocore] Update ec2 client to latest version + * api-change:budgets: [botocore] Update budgets client to latest version + * api-change:rds: [botocore] Update rds client to latest version + * api-change:ec2: [botocore] Update ec2 client to latest version + * api-change:alexaforbusiness: [botocore] Update alexaforbusiness client to latest version + * api-change:s3: [botocore] Update s3 client to latest version + * api-change:budgets: [botocore] Update budgets client to latest version + * api-change:es: [botocore] Update es client to latest version + * api-change:guardduty: [botocore] Update guardduty client to latest version + * api-change:config: [botocore] Update config client to latest version + * api-change:secretsmanager: [botocore] Update secretsmanager client to latest version + * api-change:appsync: [botocore] Update appsync client to latest version + * api-change:acm: [botocore] Update acm client to latest version + * api-change:codepipeline: [botocore] Update codepipeline client to latest version + * api-change:ssm: [botocore] Update ssm client to latest version + * api-change:ec2: [botocore] Update ec2 client to latest version + * api-change:guardduty: [botocore] Update guardduty client to latest version + * api-change:alexaforbusiness: [botocore] Update alexaforbusiness client to latest version + * api-change:route53domains: [botocore] Update route53domains client to latest version + * api-change:workspaces: [botocore] Update workspaces client to latest version + * api-change:sagemaker: [botocore] Update sagemaker client to latest version + * api-change:dynamodb: [botocore] Update dynamodb client to latest version + * api-change:glacier: [botocore] Update glacier client to latest version + * api-change:secretsmanager: [botocore] Update secretsmanager client to latest version + * api-change:rekognition: [botocore] Update rekognition client to latest version + * api-change:xray: [botocore] Update xray client to latest version + * api-change:codedeploy: [botocore] Update codedeploy client to latest version + * api-change:secretsmanager: [botocore] Update secretsmanager client to latest version + * api-change:elasticbeanstalk: [botocore] Update elasticbeanstalk client to latest version + * api-change:iotanalytics: [botocore] Update iotanalytics client to latest version + * api-change:iot: [botocore] Update iot client to latest version + * api-change:autoscaling-plans: [botocore] Update autoscaling-plans client to latest version + * api-change:medialive: [botocore] Update medialive client to latest version + * api-change:firehose: [botocore] Update firehose client to latest version + * api-change:ce: [botocore] Update ce client to latest version + * api-change:codepipeline: [botocore] Update codepipeline client to latest version + * api-change:ssm: [botocore] Update ssm client to latest version + * api-change:ec2: [botocore] Update ec2 client to latest version + * api-change:secretsmanager: [botocore] Update secretsmanager client to latest version + * api-change:rds: [botocore] Update rds client to latest version + * api-change:devicefarm: [botocore] Update devicefarm client to latest version + * bugfix:dynamodb: Fixes a bug causing dynamodb operations with no output to throw errors. + +------------------------------------------------------------------- +Tue May 8 16:11:37 UTC 2018 - [email protected] + +- Really enable unittests + +------------------------------------------------------------------- Old: ---- 1.7.4.tar.gz New: ---- 1.7.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-boto3.spec ++++++ --- /var/tmp/diff_new_pack.K9FZMh/_old 2018-05-11 09:17:18.464618206 +0200 +++ /var/tmp/diff_new_pack.K9FZMh/_new 2018-05-11 09:17:18.464618206 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-boto3 -Version: 1.7.4 +Version: 1.7.17 Release: 0 Summary: Amazon Web Services Library License: Apache-2.0 @@ -28,6 +28,7 @@ BuildRequires: %{python_module botocore >= 1.10.2} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} +BuildRequires: %{python_module s3transfer} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -67,8 +68,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# sadly tests need direct HTTP connection, run them localy -#%%python_expand nosetests-%{$python_bin_suffix} +%python_expand nosetests-%{$python_bin_suffix} -v tests/unit %files %{python_files} %license LICENSE ++++++ 1.7.4.tar.gz -> 1.7.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.10.json new/boto3-1.7.17/.changes/1.7.10.json --- old/boto3-1.7.4/.changes/1.7.10.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.10.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``glacier``", + "description": "[``botocore``] Update glacier client to latest version", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "[``botocore``] Update secretsmanager client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.11.json new/boto3-1.7.17/.changes/1.7.11.json --- old/boto3-1.7.4/.changes/1.7.11.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.11.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,32 @@ +[ + { + "category": "``guardduty``", + "description": "[``botocore``] Update guardduty client to latest version", + "type": "api-change" + }, + { + "category": "``alexaforbusiness``", + "description": "[``botocore``] Update alexaforbusiness client to latest version", + "type": "api-change" + }, + { + "category": "``route53domains``", + "description": "[``botocore``] Update route53domains client to latest version", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "[``botocore``] Update workspaces client to latest version", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "[``botocore``] Update sagemaker client to latest version", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "[``botocore``] Update dynamodb client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.12.json new/boto3-1.7.17/.changes/1.7.12.json --- old/boto3-1.7.4/.changes/1.7.12.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.12.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``acm``", + "description": "[``botocore``] Update acm client to latest version", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "[``botocore``] Update codepipeline client to latest version", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "[``botocore``] Update ssm client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.13.json new/boto3-1.7.17/.changes/1.7.13.json --- old/boto3-1.7.4/.changes/1.7.13.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.13.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``config``", + "description": "[``botocore``] Update config client to latest version", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "[``botocore``] Update secretsmanager client to latest version", + "type": "api-change" + }, + { + "category": "``appsync``", + "description": "[``botocore``] Update appsync client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.14.json new/boto3-1.7.17/.changes/1.7.14.json --- old/boto3-1.7.4/.changes/1.7.14.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.14.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,7 @@ +[ + { + "category": "``guardduty``", + "description": "[``botocore``] Update guardduty client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.15.json new/boto3-1.7.17/.changes/1.7.15.json --- old/boto3-1.7.4/.changes/1.7.15.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.15.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``alexaforbusiness``", + "description": "[``botocore``] Update alexaforbusiness client to latest version", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "[``botocore``] Update s3 client to latest version", + "type": "api-change" + }, + { + "category": "``budgets``", + "description": "[``botocore``] Update budgets client to latest version", + "type": "api-change" + }, + { + "category": "``es``", + "description": "[``botocore``] Update es client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.16.json new/boto3-1.7.17/.changes/1.7.16.json --- old/boto3-1.7.4/.changes/1.7.16.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.16.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``rds``", + "description": "[``botocore``] Update rds client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.17.json new/boto3-1.7.17/.changes/1.7.17.json --- old/boto3-1.7.4/.changes/1.7.17.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.17.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``rds``", + "description": "[``botocore``] Update rds client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``budgets``", + "description": "[``botocore``] Update budgets client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.5.json new/boto3-1.7.17/.changes/1.7.5.json --- old/boto3-1.7.4/.changes/1.7.5.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.5.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,42 @@ +[ + { + "category": "``ce``", + "description": "[``botocore``] Update ce client to latest version", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "[``botocore``] Update codepipeline client to latest version", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "[``botocore``] Update ssm client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "[``botocore``] Update secretsmanager client to latest version", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "[``botocore``] Update rds client to latest version", + "type": "api-change" + }, + { + "category": "``devicefarm``", + "description": "[``botocore``] Update devicefarm client to latest version", + "type": "api-change" + }, + { + "category": "dynamodb", + "description": "Fixes a bug causing dynamodb operations with no output to throw errors.", + "type": "bugfix" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.6.json new/boto3-1.7.17/.changes/1.7.6.json --- old/boto3-1.7.4/.changes/1.7.6.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.6.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``medialive``", + "description": "[``botocore``] Update medialive client to latest version", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "[``botocore``] Update firehose client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.7.json new/boto3-1.7.17/.changes/1.7.7.json --- old/boto3-1.7.4/.changes/1.7.7.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.7.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``iotanalytics``", + "description": "[``botocore``] Update iotanalytics client to latest version", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "[``botocore``] Update iot client to latest version", + "type": "api-change" + }, + { + "category": "``autoscaling-plans``", + "description": "[``botocore``] Update autoscaling-plans client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.8.json new/boto3-1.7.17/.changes/1.7.8.json --- old/boto3-1.7.4/.changes/1.7.8.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.8.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,12 @@ +[ + { + "category": "``secretsmanager``", + "description": "[``botocore``] Update secretsmanager client to latest version", + "type": "api-change" + }, + { + "category": "``elasticbeanstalk``", + "description": "[``botocore``] Update elasticbeanstalk client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/.changes/1.7.9.json new/boto3-1.7.17/.changes/1.7.9.json --- old/boto3-1.7.4/.changes/1.7.9.json 1970-01-01 01:00:00.000000000 +0100 +++ new/boto3-1.7.17/.changes/1.7.9.json 2018-05-10 03:59:21.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``rekognition``", + "description": "[``botocore``] Update rekognition client to latest version", + "type": "api-change" + }, + { + "category": "``xray``", + "description": "[``botocore``] Update xray client to latest version", + "type": "api-change" + }, + { + "category": "``codedeploy``", + "description": "[``botocore``] Update codedeploy client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/CHANGELOG.rst new/boto3-1.7.17/CHANGELOG.rst --- old/boto3-1.7.4/CHANGELOG.rst 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/CHANGELOG.rst 2018-05-10 03:59:21.000000000 +0200 @@ -2,6 +2,114 @@ CHANGELOG ========= +1.7.17 +====== + +* api-change:``rds``: [``botocore``] Update rds client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``budgets``: [``botocore``] Update budgets client to latest version + + +1.7.16 +====== + +* api-change:``rds``: [``botocore``] Update rds client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version + + +1.7.15 +====== + +* api-change:``alexaforbusiness``: [``botocore``] Update alexaforbusiness client to latest version +* api-change:``s3``: [``botocore``] Update s3 client to latest version +* api-change:``budgets``: [``botocore``] Update budgets client to latest version +* api-change:``es``: [``botocore``] Update es client to latest version + + +1.7.14 +====== + +* api-change:``guardduty``: [``botocore``] Update guardduty client to latest version + + +1.7.13 +====== + +* api-change:``config``: [``botocore``] Update config client to latest version +* api-change:``secretsmanager``: [``botocore``] Update secretsmanager client to latest version +* api-change:``appsync``: [``botocore``] Update appsync client to latest version + + +1.7.12 +====== + +* api-change:``acm``: [``botocore``] Update acm client to latest version +* api-change:``codepipeline``: [``botocore``] Update codepipeline client to latest version +* api-change:``ssm``: [``botocore``] Update ssm client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version + + +1.7.11 +====== + +* api-change:``guardduty``: [``botocore``] Update guardduty client to latest version +* api-change:``alexaforbusiness``: [``botocore``] Update alexaforbusiness client to latest version +* api-change:``route53domains``: [``botocore``] Update route53domains client to latest version +* api-change:``workspaces``: [``botocore``] Update workspaces client to latest version +* api-change:``sagemaker``: [``botocore``] Update sagemaker client to latest version +* api-change:``dynamodb``: [``botocore``] Update dynamodb client to latest version + + +1.7.10 +====== + +* api-change:``glacier``: [``botocore``] Update glacier client to latest version +* api-change:``secretsmanager``: [``botocore``] Update secretsmanager client to latest version + + +1.7.9 +===== + +* api-change:``rekognition``: [``botocore``] Update rekognition client to latest version +* api-change:``xray``: [``botocore``] Update xray client to latest version +* api-change:``codedeploy``: [``botocore``] Update codedeploy client to latest version + + +1.7.8 +===== + +* api-change:``secretsmanager``: [``botocore``] Update secretsmanager client to latest version +* api-change:``elasticbeanstalk``: [``botocore``] Update elasticbeanstalk client to latest version + + +1.7.7 +===== + +* api-change:``iotanalytics``: [``botocore``] Update iotanalytics client to latest version +* api-change:``iot``: [``botocore``] Update iot client to latest version +* api-change:``autoscaling-plans``: [``botocore``] Update autoscaling-plans client to latest version + + +1.7.6 +===== + +* api-change:``medialive``: [``botocore``] Update medialive client to latest version +* api-change:``firehose``: [``botocore``] Update firehose client to latest version + + +1.7.5 +===== + +* api-change:``ce``: [``botocore``] Update ce client to latest version +* api-change:``codepipeline``: [``botocore``] Update codepipeline client to latest version +* api-change:``ssm``: [``botocore``] Update ssm client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``secretsmanager``: [``botocore``] Update secretsmanager client to latest version +* api-change:``rds``: [``botocore``] Update rds client to latest version +* api-change:``devicefarm``: [``botocore``] Update devicefarm client to latest version +* bugfix:dynamodb: Fixes a bug causing dynamodb operations with no output to throw errors. + + 1.7.4 ===== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/boto3/__init__.py new/boto3-1.7.17/boto3/__init__.py --- old/boto3-1.7.4/boto3/__init__.py 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/boto3/__init__.py 2018-05-10 03:59:21.000000000 +0200 @@ -17,7 +17,7 @@ __author__ = 'Amazon Web Services' -__version__ = '1.7.4' +__version__ = '1.7.17' # The default Boto3 session; autoloaded when needed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/boto3/dynamodb/transform.py new/boto3-1.7.17/boto3/dynamodb/transform.py --- old/boto3-1.7.4/boto3/dynamodb/transform.py 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/boto3/dynamodb/transform.py 2018-05-10 03:59:21.000000000 +0200 @@ -198,9 +198,11 @@ def inject_attribute_value_output(self, parsed, model, **kwargs): """Injects DynamoDB deserialization into responses""" - self._transformer.transform( - parsed, model.output_shape, self._deserializer.deserialize, - 'AttributeValue') + if model.output_shape is not None: + self._transformer.transform( + parsed, model.output_shape, self._deserializer.deserialize, + 'AttributeValue' + ) class ConditionExpressionTransformation(object): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/boto3/s3/inject.py new/boto3-1.7.17/boto3/s3/inject.py --- old/boto3-1.7.4/boto3/s3/inject.py 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/boto3/s3/inject.py 2018-05-10 03:59:21.000000000 +0200 @@ -103,6 +103,27 @@ Similar behavior as S3Transfer's upload_file() method, except that parameters are capitalized. Detailed examples can be found at :ref:`S3Transfer's Usage <ref_s3transfer_usage>`. + + :type Filename: str + :param Filename: The path to the file to upload. + + :type Bucket: str + :param Bucket: The name of the bucket to upload to. + + :type Key: str + :param Key: The name of the key to upload to. + + :type ExtraArgs: dict + :param ExtraArgs: Extra arguments that may be passed to the + client operation. + + :type Callback: function + :param Callback: A method which takes a number of bytes transferred to + be periodically called during the upload. + + :type Config: boto3.s3.transfer.TransferConfig + :param Config: The transfer configuration to be used when performing the + transfer. """ with S3Transfer(self, Config) as transfer: return transfer.upload_file( @@ -123,6 +144,27 @@ Similar behavior as S3Transfer's download_file() method, except that parameters are capitalized. Detailed examples can be found at :ref:`S3Transfer's Usage <ref_s3transfer_usage>`. + + :type Filename: str + :param Filename: The path to the file to download to. + + :type Bucket: str + :param Bucket: The name of the bucket to download from. + + :type Key: str + :param Key: The name of the key to download from. + + :type ExtraArgs: dict + :param ExtraArgs: Extra arguments that may be passed to the + client operation. + + :type Callback: function + :param Callback: A method which takes a number of bytes transferred to + be periodically called during the download. + + :type Config: boto3.s3.transfer.TransferConfig + :param Config: The transfer configuration to be used when performing the + transfer. """ with S3Transfer(self, Config) as transfer: return transfer.download_file( @@ -143,6 +185,24 @@ Similar behavior as S3Transfer's upload_file() method, except that parameters are capitalized. Detailed examples can be found at :ref:`S3Transfer's Usage <ref_s3transfer_usage>`. + + :type Filename: str + :param Filename: The path to the file to upload. + + :type Key: str + :param Key: The name of the key to upload to. + + :type ExtraArgs: dict + :param ExtraArgs: Extra arguments that may be passed to the + client operation. + + :type Callback: function + :param Callback: A method which takes a number of bytes transferred to + be periodically called during the upload. + + :type Config: boto3.s3.transfer.TransferConfig + :param Config: The transfer configuration to be used when performing the + transfer. """ return self.meta.client.upload_file( Filename=Filename, Bucket=self.name, Key=Key, @@ -162,6 +222,24 @@ Similar behavior as S3Transfer's download_file() method, except that parameters are capitalized. Detailed examples can be found at :ref:`S3Transfer's Usage <ref_s3transfer_usage>`. + + :type Filename: str + :param Filename: The path to the file to download to. + + :type Key: str + :param Key: The name of the key to download from. + + :type ExtraArgs: dict + :param ExtraArgs: Extra arguments that may be passed to the + client operation. + + :type Callback: function + :param Callback: A method which takes a number of bytes transferred to + be periodically called during the download. + + :type Config: boto3.s3.transfer.TransferConfig + :param Config: The transfer configuration to be used when performing the + transfer. """ return self.meta.client.download_file( Bucket=self.name, Key=Key, Filename=Filename, @@ -181,6 +259,21 @@ Similar behavior as S3Transfer's upload_file() method, except that parameters are capitalized. Detailed examples can be found at :ref:`S3Transfer's Usage <ref_s3transfer_usage>`. + + :type Filename: str + :param Filename: The path to the file to upload. + + :type ExtraArgs: dict + :param ExtraArgs: Extra arguments that may be passed to the + client operation. + + :type Callback: function + :param Callback: A method which takes a number of bytes transferred to + be periodically called during the upload. + + :type Config: boto3.s3.transfer.TransferConfig + :param Config: The transfer configuration to be used when performing the + transfer. """ return self.meta.client.upload_file( Filename=Filename, Bucket=self.bucket_name, Key=self.key, @@ -200,6 +293,21 @@ Similar behavior as S3Transfer's download_file() method, except that parameters are capitalized. Detailed examples can be found at :ref:`S3Transfer's Usage <ref_s3transfer_usage>`. + + :type Filename: str + :param Filename: The path to the file to download to. + + :type ExtraArgs: dict + :param ExtraArgs: Extra arguments that may be passed to the + client operation. + + :type Callback: function + :param Callback: A method which takes a number of bytes transferred to + be periodically called during the download. + + :type Config: boto3.s3.transfer.TransferConfig + :param Config: The transfer configuration to be used when performing the + transfer. """ return self.meta.client.download_file( Bucket=self.bucket_name, Key=self.key, Filename=Filename, @@ -240,7 +348,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the copy. @@ -303,7 +411,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the copy. @@ -353,7 +461,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the copy. @@ -405,7 +513,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation. - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the upload. @@ -460,7 +568,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation. - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the upload. @@ -500,7 +608,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation. - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the upload. @@ -544,7 +652,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation. - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the download. @@ -599,7 +707,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation. - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the download. @@ -639,7 +747,7 @@ :param ExtraArgs: Extra arguments that may be passed to the client operation. - :type Callback: method + :type Callback: function :param Callback: A method which takes a number of bytes transferred to be periodically called during the download. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/setup.cfg new/boto3-1.7.17/setup.cfg --- old/boto3-1.7.4/setup.cfg 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/setup.cfg 2018-05-10 03:59:21.000000000 +0200 @@ -3,6 +3,6 @@ [metadata] requires-dist = - botocore>=1.10.4,<1.11.0 + botocore>=1.10.17,<1.11.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.7.4/setup.py new/boto3-1.7.17/setup.py --- old/boto3-1.7.4/setup.py 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/setup.py 2018-05-10 03:59:21.000000000 +0200 @@ -14,7 +14,7 @@ requires = [ - 'botocore>=1.10.4,<1.11.0', + 'botocore>=1.10.17,<1.11.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.7.4/tests/functional/dynamodb/test_table.py new/boto3-1.7.17/tests/functional/dynamodb/test_table.py --- old/boto3-1.7.4/tests/functional/dynamodb/test_table.py 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/tests/functional/dynamodb/test_table.py 2018-05-10 03:59:21.000000000 +0200 @@ -13,6 +13,7 @@ from tests import unittest, mock import boto3 +from botocore.stub import Stubber class TestTableResourceCustomizations(unittest.TestCase): @@ -25,3 +26,17 @@ def test_resource_has_batch_writer_added(self): table = self.resource.Table('mytable') self.assertTrue(hasattr(table, 'batch_writer')) + + def test_operation_without_output(self): + table = self.resource.Table('mytable') + stubber = Stubber(table.meta.client) + stubber.add_response('tag_resource', {}) + arn = 'arn:aws:dynamodb:us-west-2:123456789:table/mytable' + + with stubber: + table.meta.client.tag_resource( + ResourceArn=arn, + Tags=[{'Key': 'project', 'Value': 'val'}] + ) + + stubber.assert_no_pending_responses() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boto3-1.7.4/tests/unit/dynamodb/test_transform.py new/boto3-1.7.17/tests/unit/dynamodb/test_transform.py --- old/boto3-1.7.4/tests/unit/dynamodb/test_transform.py 2018-04-11 00:09:28.000000000 +0200 +++ new/boto3-1.7.17/tests/unit/dynamodb/test_transform.py 2018-05-10 03:59:21.000000000 +0200 @@ -464,6 +464,33 @@ ) + def test_no_output(self): + service_model = ServiceModel({ + 'operations': { + 'SampleOperation': { + 'name': 'SampleOperation', + 'input': {'shape': 'SampleOperationInputOutput'}, + } + }, + 'shapes': { + 'SampleOperationInput': { + 'type': 'structure', + 'members': {} + }, + 'String': { + 'type': 'string' + } + } + }) + operation_model = service_model.operation_model('SampleOperation') + + parsed = {} + self.injector.inject_attribute_value_output( + parsed=parsed, model=operation_model) + self.assertEqual(parsed, {}) + + + class TestTransformConditionExpression(BaseTransformationTest): def setUp(self): super(TestTransformConditionExpression, self).setUp()
