Hello community,

here is the log from the commit of package aws-cli for openSUSE:Factory checked 
in at 2019-02-01 11:48:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-cli (Old)
 and      /work/SRC/openSUSE:Factory/.aws-cli.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aws-cli"

Fri Feb  1 11:48:15 2019 rev:22 rq:670337 version:1.16.94

Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-cli/aws-cli.changes  2019-01-10 
15:21:08.762466880 +0100
+++ /work/SRC/openSUSE:Factory/.aws-cli.new.28833/aws-cli.changes       
2019-02-01 11:48:38.004356058 +0100
@@ -1,0 +2,9 @@
+Thu Jan 24 10:36:34 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 1.16.94
+  + For detailed changes see
+    https://github.com/aws/aws-cli/blob/1.16.94/CHANGELOG.rst
+  + Forward port hide_py_pckgmgmt.patch
+  + Update Requires in spec file from setup.py
+
+-------------------------------------------------------------------

Old:
----
  aws-cli-1.16.84.tar.gz

New:
----
  aws-cli-1.16.94.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ aws-cli.spec ++++++
--- /var/tmp/diff_new_pack.NRIOQj/_old  2019-02-01 11:48:38.508355541 +0100
+++ /var/tmp/diff_new_pack.NRIOQj/_new  2019-02-01 11:48:38.508355541 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           aws-cli
-Version:        1.16.84
+Version:        1.16.94
 Release:        0
 Summary:        Amazon Web Services Command Line Interface
 License:        Apache-2.0
@@ -29,7 +29,7 @@
 Requires:       python3
 Requires:       python3-PyYAML     <= 4.0
 Requires:       python3-PyYAML     >= 3.10
-Requires:       python3-botocore  >= 1.12.74
+Requires:       python3-botocore  >= 1.12.84
 Requires:       python3-colorama  <= 0.4.1
 Requires:       python3-colorama  >= 0.2.5
 Requires:       python3-docutils  >= 0.10
@@ -44,7 +44,7 @@
 Requires:       python
 Requires:       python-PyYAML     <= 3.13
 Requires:       python-PyYAML     >= 3.10
-Requires:       python-botocore  >= 1.12.74
+Requires:       python-botocore  >= 1.12.84
 Requires:       python-colorama  <= 0.3.9
 Requires:       python-colorama  >= 0.2.5
 Requires:       python-docutils  >= 0.10

++++++ aws-cli-1.16.84.tar.gz -> aws-cli-1.16.94.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.85.json 
new/aws-cli-1.16.94/.changes/1.16.85.json
--- old/aws-cli-1.16.84/.changes/1.16.85.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.85.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,7 @@
+[
+  {
+    "category": "``appmesh``", 
+    "description": "Update appmesh command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.86.json 
new/aws-cli-1.16.94/.changes/1.16.86.json
--- old/aws-cli-1.16.84/.changes/1.16.86.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.86.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,12 @@
+[
+  {
+    "category": "``redshift``", 
+    "description": "Update redshift command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``docdb``", 
+    "description": "Update docdb command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.87.json 
new/aws-cli-1.16.94/.changes/1.16.87.json
--- old/aws-cli-1.16.84/.changes/1.16.87.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.87.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,22 @@
+[
+  {
+    "category": "``sagemaker``", 
+    "description": "Update sagemaker command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``iot``", 
+    "description": "Update iot command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``codedeploy``", 
+    "description": "Update codedeploy command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``ec2``", 
+    "description": "Update ec2 command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.88.json 
new/aws-cli-1.16.94/.changes/1.16.88.json
--- old/aws-cli-1.16.84/.changes/1.16.88.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.88.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,12 @@
+[
+  {
+    "category": "``rds-data``", 
+    "description": "Update rds-data command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``emr``", 
+    "description": "Update emr command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.89.json 
new/aws-cli-1.16.94/.changes/1.16.89.json
--- old/aws-cli-1.16.84/.changes/1.16.89.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.89.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,12 @@
+[
+  {
+    "category": "``storagegateway``", 
+    "description": "Update storagegateway command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``mediaconvert``", 
+    "description": "Update mediaconvert command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.90.json 
new/aws-cli-1.16.94/.changes/1.16.90.json
--- old/aws-cli-1.16.84/.changes/1.16.90.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.90.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,17 @@
+[
+  {
+    "category": "``dynamodb``", 
+    "description": "Update dynamodb command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``backup``", 
+    "description": "Update backup command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``ce``", 
+    "description": "Update ce command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.91.json 
new/aws-cli-1.16.94/.changes/1.16.91.json
--- old/aws-cli-1.16.84/.changes/1.16.91.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.91.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,22 @@
+[
+  {
+    "category": "``rekognition``", 
+    "description": "Update rekognition command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``lightsail``", 
+    "description": "Update lightsail command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``lambda``", 
+    "description": "Update lambda command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``pinpoint``", 
+    "description": "Update pinpoint command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.92.json 
new/aws-cli-1.16.94/.changes/1.16.92.json
--- old/aws-cli-1.16.84/.changes/1.16.92.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.92.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,12 @@
+[
+  {
+    "category": "``glue``", 
+    "description": "Update glue command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``ec2``", 
+    "description": "Update ec2 command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.93.json 
new/aws-cli-1.16.94/.changes/1.16.93.json
--- old/aws-cli-1.16.84/.changes/1.16.93.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.93.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,27 @@
+[
+  {
+    "category": "``ssm``", 
+    "description": "Update ssm command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``dms``", 
+    "description": "Update dms command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``fms``", 
+    "description": "Update fms command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``discovery``", 
+    "description": "Update discovery command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``appstream``", 
+    "description": "Update appstream command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/.changes/1.16.94.json 
new/aws-cli-1.16.94/.changes/1.16.94.json
--- old/aws-cli-1.16.84/.changes/1.16.94.json   1970-01-01 01:00:00.000000000 
+0100
+++ new/aws-cli-1.16.94/.changes/1.16.94.json   2019-01-24 00:03:41.000000000 
+0100
@@ -0,0 +1,17 @@
+[
+  {
+    "category": "``acm-pca``", 
+    "description": "Update acm-pca command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``apigatewaymanagementapi``", 
+    "description": "Update apigatewaymanagementapi command to latest version", 
+    "type": "api-change"
+  }, 
+  {
+    "category": "``worklink``", 
+    "description": "Update worklink command to latest version", 
+    "type": "api-change"
+  }
+]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/CHANGELOG.rst 
new/aws-cli-1.16.94/CHANGELOG.rst
--- old/aws-cli-1.16.84/CHANGELOG.rst   2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/CHANGELOG.rst   2019-01-24 00:03:41.000000000 +0100
@@ -2,6 +2,84 @@
 CHANGELOG
 =========
 
+1.16.94
+=======
+
+* api-change:``acm-pca``: Update acm-pca command to latest version
+* api-change:``apigatewaymanagementapi``: Update apigatewaymanagementapi 
command to latest version
+* api-change:``worklink``: Update worklink command to latest version
+
+
+1.16.93
+=======
+
+* api-change:``ssm``: Update ssm command to latest version
+* api-change:``dms``: Update dms command to latest version
+* api-change:``fms``: Update fms command to latest version
+* api-change:``discovery``: Update discovery command to latest version
+* api-change:``appstream``: Update appstream command to latest version
+
+
+1.16.92
+=======
+
+* api-change:``glue``: Update glue command to latest version
+* api-change:``ec2``: Update ec2 command to latest version
+
+
+1.16.91
+=======
+
+* api-change:``rekognition``: Update rekognition command to latest version
+* api-change:``lightsail``: Update lightsail command to latest version
+* api-change:``lambda``: Update lambda command to latest version
+* api-change:``pinpoint``: Update pinpoint command to latest version
+
+
+1.16.90
+=======
+
+* api-change:``dynamodb``: Update dynamodb command to latest version
+* api-change:``backup``: Update backup command to latest version
+* api-change:``ce``: Update ce command to latest version
+
+
+1.16.89
+=======
+
+* api-change:``storagegateway``: Update storagegateway command to latest 
version
+* api-change:``mediaconvert``: Update mediaconvert command to latest version
+
+
+1.16.88
+=======
+
+* api-change:``rds-data``: Update rds-data command to latest version
+* api-change:``emr``: Update emr command to latest version
+
+
+1.16.87
+=======
+
+* api-change:``sagemaker``: Update sagemaker command to latest version
+* api-change:``iot``: Update iot command to latest version
+* api-change:``codedeploy``: Update codedeploy command to latest version
+* api-change:``ec2``: Update ec2 command to latest version
+
+
+1.16.86
+=======
+
+* api-change:``redshift``: Update redshift command to latest version
+* api-change:``docdb``: Update docdb command to latest version
+
+
+1.16.85
+=======
+
+* api-change:``appmesh``: Update appmesh command to latest version
+
+
 1.16.84
 =======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/awscli/__init__.py 
new/aws-cli-1.16.94/awscli/__init__.py
--- old/aws-cli-1.16.84/awscli/__init__.py      2019-01-04 23:58:14.000000000 
+0100
+++ new/aws-cli-1.16.94/awscli/__init__.py      2019-01-24 00:03:41.000000000 
+0100
@@ -17,7 +17,7 @@
 """
 import os
 
-__version__ = '1.16.84'
+__version__ = '1.16.94'
 
 #
 # Get our data path to be added to botocore's search path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.16.84/awscli/customizations/eks/kubeconfig.py 
new/aws-cli-1.16.94/awscli/customizations/eks/kubeconfig.py
--- old/aws-cli-1.16.84/awscli/customizations/eks/kubeconfig.py 2019-01-04 
23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/awscli/customizations/eks/kubeconfig.py 2019-01-24 
00:03:41.000000000 +0100
@@ -229,17 +229,17 @@
         config.content[key] = array
         return config
 
-    def _make_context(self, cluster, user):
-        """ Generate a context to associate cluster and user."""
+    def _make_context(self, cluster, user, alias=None):
+        """ Generate a context to associate cluster and user with a given 
alias."""
         return OrderedDict([
             ("context", OrderedDict([
                 ("cluster", cluster["name"]),
                 ("user", user["name"])
             ])),
-            ("name", user["name"])
+            ("name", alias or user["name"])
         ])
 
-    def insert_cluster_user_pair(self, config, cluster, user):
+    def insert_cluster_user_pair(self, config, cluster, user, alias=None):
         """
         Insert the passed cluster entry and user entry,
         then make a context to associate them
@@ -255,10 +255,13 @@
         :param user: the user entry
         :type user: OrderedDict
 
+        :param alias: the alias for the context; defaults top user entry name
+        :type context: str
+
         :return: The generated context
         :rtype: OrderedDict
         """
-        context = self._make_context(cluster, user)
+        context = self._make_context(cluster, user, alias=alias)
         self.insert_entry(config, "clusters", cluster)
         self.insert_entry(config, "users", user)
         self.insert_entry(config, "contexts", context)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.16.84/awscli/customizations/eks/update_kubeconfig.py 
new/aws-cli-1.16.94/awscli/customizations/eks/update_kubeconfig.py
--- old/aws-cli-1.16.84/awscli/customizations/eks/update_kubeconfig.py  
2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/awscli/customizations/eks/update_kubeconfig.py  
2019-01-24 00:03:41.000000000 +0100
@@ -118,6 +118,12 @@
             'help_text': ("Print more detailed output "
                           "when writing to the kubeconfig file, "
                           "including the appended entries.")
+        },
+        {
+            'name': 'alias',
+            'help_text': ("Alias for the cluster context name. "
+                          "Defaults to match cluster ARN."),
+            'required': False
         }
     ]
 
@@ -152,7 +158,8 @@
         appender = KubeconfigAppender()
         new_context_dict = appender.insert_cluster_user_pair(config,
                                                              new_cluster_dict,
-                                                             new_user_dict)
+                                                             new_user_dict,
+                                                             parsed_args.alias)
 
         if parsed_args.dry_run:
             uni_print(config.dump_content())
@@ -333,4 +340,10 @@
                 self._role_arn
             ])
 
+        if self._session.profile:
+            generated_user["user"]["exec"]["env"] = [OrderedDict([
+                ("name", "AWS_PROFILE"),
+                ("value", self._session.profile)
+            ])]
+
         return generated_user
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.16.84/awscli/customizations/streamingoutputarg.py 
new/aws-cli-1.16.94/awscli/customizations/streamingoutputarg.py
--- old/aws-cli-1.16.84/awscli/customizations/streamingoutputarg.py     
2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/awscli/customizations/streamingoutputarg.py     
2019-01-24 00:03:41.000000000 +0100
@@ -86,10 +86,10 @@
 
     def add_to_params(self, parameters, value):
         self._output_file = value
-        service_name = self._operation_model.service_model.endpoint_prefix
+        service_id = self._operation_model.service_model.service_id.hyphenize()
         operation_name = self._operation_model.name
         self._session.register('after-call.%s.%s' % (
-            service_name, operation_name), self.save_file)
+            service_id, operation_name), self.save_file)
 
     def save_file(self, parsed, **kwargs):
         if self._response_key not in parsed:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/awscli/testutils.py 
new/aws-cli-1.16.94/awscli/testutils.py
--- old/aws-cli-1.16.84/awscli/testutils.py     2019-01-04 23:58:14.000000000 
+0100
+++ new/aws-cli-1.16.94/awscli/testutils.py     2019-01-24 00:03:41.000000000 
+0100
@@ -363,6 +363,7 @@
         self.operations_called = []
         self.parsed_responses = None
         self.driver = create_clidriver()
+        self.files = FileCreator()
 
     def tearDown(self):
         # This clears all the previous registrations.
@@ -370,6 +371,7 @@
         if self.make_request_is_patched:
             self.make_request_patch.stop()
             self.make_request_is_patched = False
+        self.files.remove_all()
 
     def before_call(self, params, **kwargs):
         self._store_params(params)
@@ -520,7 +522,8 @@
         self.rootdir = tempfile.mkdtemp()
 
     def remove_all(self):
-        shutil.rmtree(self.rootdir)
+        if os.path.exists(self.rootdir):
+            shutil.rmtree(self.rootdir)
 
     def create_file(self, filename, contents, mtime=None, mode='w'):
         """Creates a file in a tmpdir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/doc/source/_templates/feedback.html 
new/aws-cli-1.16.94/doc/source/_templates/feedback.html
--- old/aws-cli-1.16.84/doc/source/_templates/feedback.html     2019-01-04 
23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/doc/source/_templates/feedback.html     2019-01-24 
00:03:41.000000000 +0100
@@ -1,5 +1,5 @@
 <div class="left-bar-other">
   <h3>Feedback</h3>
-  <p class="feedback">Did you find this page useful? Do you have a suggestion? 
<a 
href="https://docs.aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=AWS%20Command%20Line%20Interface&hidden_guide_name=Reference&hidden_api_version={{
 version }}&hidden_file_name={{ pagename }}">Give us feedback</a> or
-  send us a <a href="https://github.com/aws/aws-cli";>pull request</a> on 
GitHub.</p>
+  <p class="feedback">Did you find this page useful? Do you have a suggestion? 
<a 
href="https://docs.aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=AWS%20Command%20Line%20Interface&hidden_guide_name=Reference}&topic_url=https%3A%2F%2Fdocs.aws.amazon.com%2Fcli%2Flatest%2F{{
 pagename }}.html">Give us feedback</a> or
+    send us a <a href="https://github.com/aws/aws-cli";>pull request</a> on 
GitHub.</p>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/doc/source/conf.py 
new/aws-cli-1.16.94/doc/source/conf.py
--- old/aws-cli-1.16.84/doc/source/conf.py      2019-01-04 23:58:14.000000000 
+0100
+++ new/aws-cli-1.16.94/doc/source/conf.py      2019-01-24 00:03:41.000000000 
+0100
@@ -52,7 +52,7 @@
 # The short X.Y version.
 version = '1.16.'
 # The full version, including alpha/beta/rc tags.
-release = '1.16.84'
+release = '1.16.94'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/setup.cfg 
new/aws-cli-1.16.94/setup.cfg
--- old/aws-cli-1.16.84/setup.cfg       2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/setup.cfg       2019-01-24 00:03:41.000000000 +0100
@@ -4,7 +4,7 @@
 
 [metadata]
 requires-dist =
-        botocore==1.12.74
+        botocore==1.12.84
         colorama>=0.2.5,<=0.3.9
         docutils>=0.10
         rsa>=3.1.2,<=3.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aws-cli-1.16.84/setup.py new/aws-cli-1.16.94/setup.py
--- old/aws-cli-1.16.84/setup.py        2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/setup.py        2019-01-24 00:03:41.000000000 +0100
@@ -23,7 +23,7 @@
     raise RuntimeError("Unable to find version string.")
 
 
-requires = ['botocore==1.12.74',
+requires = ['botocore==1.12.84',
             'colorama>=0.2.5,<=0.3.9',
             'docutils>=0.10',
             'rsa>=3.1.2,<=3.5.0',
@@ -58,7 +58,7 @@
         ]
     },
     license="Apache License 2.0",
-    classifiers=(
+    classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Intended Audience :: Developers',
         'Intended Audience :: System Administrators',
@@ -74,7 +74,7 @@
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
-    ),
+    ],
 )
 
 if 'py2exe' in sys.argv:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.16.84/tests/functional/test_streaming_output.py 
new/aws-cli-1.16.94/tests/functional/test_streaming_output.py
--- old/aws-cli-1.16.84/tests/functional/test_streaming_output.py       
1970-01-01 01:00:00.000000000 +0100
+++ new/aws-cli-1.16.94/tests/functional/test_streaming_output.py       
2019-01-24 00:03:41.000000000 +0100
@@ -0,0 +1,36 @@
+#!/usr/bin/env python
+# Copyright 2012-2018 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.
+from awscli.compat import six
+from awscli.testutils import BaseAWSCommandParamsTest
+
+
+class TestStreamingOutput(BaseAWSCommandParamsTest):
+
+    def test_get_media_streaming_output(self):
+        cmdline = (
+            'kinesis-video-media get-media --stream-name test-stream '
+            '--start-selector StartSelectorType=EARLIEST %s'
+        )
+        self.parsed_response = {
+            'ContentType': 'video/webm',
+            'Payload': six.BytesIO(b'testbody')
+        }
+        outpath = self.files.full_path('outfile')
+        params = {
+            'StartSelector': {'StartSelectorType': 'EARLIEST'},
+            'StreamName': 'test-stream'
+        }
+        self.assert_params_for_cmd(cmdline % outpath, params)
+        with open(outpath, 'rb') as outfile:
+            self.assertEqual(outfile.read(), b'testbody')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.16.84/tests/unit/customizations/eks/test_kubeconfig.py 
new/aws-cli-1.16.94/tests/unit/customizations/eks/test_kubeconfig.py
--- old/aws-cli-1.16.84/tests/unit/customizations/eks/test_kubeconfig.py        
2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/tests/unit/customizations/eks/test_kubeconfig.py        
2019-01-24 00:03:41.000000000 +0100
@@ -274,3 +274,23 @@
         ])
         context = self._appender._make_context(cluster, user)
         self.assertDictEqual(context, context_correct)
+
+    def test_make_context_alias(self):
+        cluster = OrderedDict([
+            ("name", "clustername"),
+            ("cluster", OrderedDict())
+        ])
+        user = OrderedDict([
+            ("name", "username"),
+            ("user", OrderedDict())
+        ])
+        context_correct = OrderedDict([
+            ("context", OrderedDict([
+                ("cluster", "clustername"),
+                ("user", "username")
+            ])),
+            ("name", "alias")
+        ])
+        alias = "alias"
+        context = self._appender._make_context(cluster, user, alias=alias)
+        self.assertDictEqual(context, context_correct)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/aws-cli-1.16.84/tests/unit/customizations/eks/test_update_kubeconfig.py 
new/aws-cli-1.16.94/tests/unit/customizations/eks/test_update_kubeconfig.py
--- old/aws-cli-1.16.84/tests/unit/customizations/eks/test_update_kubeconfig.py 
2019-01-04 23:58:14.000000000 +0100
+++ new/aws-cli-1.16.94/tests/unit/customizations/eks/test_update_kubeconfig.py 
2019-01-24 00:03:41.000000000 +0100
@@ -195,6 +195,7 @@
 
         self._session = mock.Mock(spec=botocore.session.Session)
         self._session.create_client.return_value = self._mock_client
+        self._session.profile = None
 
         self._client = EKSClient(self._session, "ExampleCluster", None)
 
@@ -260,4 +261,19 @@
         self._mock_client.describe_cluster.assert_called_once_with(
             name="ExampleCluster"
         )
+        self._session.create_client.assert_called_once_with("eks")
+
+    def test_profile(self):
+        self._session.profile = "profile"
+        self._correct_user_entry["user"]["exec"]["env"] = [
+            OrderedDict([
+                ("name", "AWS_PROFILE"),
+                ("value", "profile")
+            ])
+        ]
+        self.assertEqual(self._client.get_user_entry(),
+                         self._correct_user_entry)
+        self._mock_client.describe_cluster.assert_called_once_with(
+            name="ExampleCluster"
+        )
         self._session.create_client.assert_called_once_with("eks")

++++++ hide_py_pckgmgmt.patch ++++++
--- /var/tmp/diff_new_pack.NRIOQj/_old  2019-02-01 11:48:38.936355101 +0100
+++ /var/tmp/diff_new_pack.NRIOQj/_new  2019-02-01 11:48:38.936355101 +0100
@@ -1,16 +1,16 @@
---- setup.py.orig      2019-01-04 23:58:14.000000000 +0100
-+++ setup.py   2019-01-06 20:24:06.243843371 +0100
+--- setup.py.orig      2019-01-24 00:03:41.000000000 +0100
++++ setup.py   2019-01-24 11:34:37.366642349 +0100
 @@ -23,18 +23,18 @@
      raise RuntimeError("Unable to find version string.")
  
  
--requires = ['botocore==1.12.74',
+-requires = ['botocore==1.12.84',
 -            'colorama>=0.2.5,<=0.3.9',
 -            'docutils>=0.10',
 -            'rsa>=3.1.2,<=3.5.0',
 -            's3transfer>=0.1.12,<0.2.0',
 -            'PyYAML>=3.10,<=3.13']
-+# requires = ['botocore==1.12.74',
++# requires = ['botocore==1.12.84',
 +#             'colorama>=0.2.5,<=0.3.9',
 +#             'docutils>=0.10',
 +#             'rsa>=3.1.2,<=3.5.0',
@@ -46,5 +46,5 @@
 +    #     ]
 +    # },
      license="Apache License 2.0",
-     classifiers=(
+     classifiers=[
          'Development Status :: 5 - Production/Stable',


Reply via email to