Hello community,

here is the log from the commit of package azure-cli-batch for openSUSE:Factory 
checked in at 2018-10-15 10:48:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-batch (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-batch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-batch"

Mon Oct 15 10:48:18 2018 rev:4 rq:641236 version:3.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-batch/azure-cli-batch.changes  
2018-05-13 16:01:16.974611049 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-batch.new/azure-cli-batch.changes     
2018-10-15 10:48:21.183075281 +0200
@@ -1,0 +2,9 @@
+Mon Sep 17 08:50:57 UTC 2018 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 3.3.3
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-batch-3.2.0.tar.gz

New:
----
  azure-cli-batch-3.3.3.tar.gz

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

Other differences:
------------------
++++++ azure-cli-batch.spec ++++++
--- /var/tmp/diff_new_pack.NPYp26/_old  2018-10-15 10:48:21.699074731 +0200
+++ /var/tmp/diff_new_pack.NPYp26/_new  2018-10-15 10:48:21.703074726 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           azure-cli-batch
-Version:        3.2.0
+Version:        3.3.3
 Release:        0
 Summary:        Microsoft Azure CLI 'batch' Command Module
 License:        MIT
@@ -34,9 +34,9 @@
 Requires:       azure-cli-command-modules-nspkg
 Requires:       azure-cli-core
 Requires:       azure-cli-nspkg
-Requires:       python3-azure-batch >= 4.1.1
-Requires:       python3-azure-mgmt-batch >= 4.1.0
-Requires:       python3-azure-mgmt-keyvault >= 0.40.0
+Requires:       python3-azure-batch >= 4.1.3
+Requires:       python3-azure-mgmt-batch >= 5.0.1
+Requires:       python3-azure-mgmt-keyvault >= 1.1.0
 Requires:       python3-azure-nspkg
 Conflicts:      azure-cli < 2.0.0
 

++++++ azure-cli-batch-3.2.0.tar.gz -> azure-cli-batch-3.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-batch-3.2.0/HISTORY.rst 
new/azure-cli-batch-3.3.3/HISTORY.rst
--- old/azure-cli-batch-3.2.0/HISTORY.rst       2018-04-06 19:33:13.000000000 
+0200
+++ new/azure-cli-batch-3.3.3/HISTORY.rst       2018-08-23 01:07:57.000000000 
+0200
@@ -3,8 +3,50 @@
 Release History
 ===============
 
+3.3.3
++++++
+* Update Batch Management SDK dependency
+
+3.3.2
++++++
+* Update Key Vault SDK dependency
+
+3.3.1
++++++
+* Fix bug when show AAD token in cloudshell
+
+3.3.0
++++++
+* BREAKING CHANGE: 'show' commands log error message and fail with exit code 
of 3 upon a missing resource.
+* Fix bug on using token credential on cloud shell mode
+* When use json file as input parameter, deserialize content with case 
insentive.
+
+3.2.6
++++++
+* Minor fixes
+
+3.2.5
++++++
+* Minor fixes
+
+3.2.4
++++++
+* Remove azure-batch-extensions dependency.
+
+3.2.3
++++++
+* Fixed bug in Pool list table formatting: issue #4378.
+
+3.2.2
++++++
+* Updated to Batch SDK 4.1.2.
+
+3.2.1
++++++
+* Minor fixes.
+
 3.2.0
-++++++
++++++
 * Updated to Batch SDK 4.1.1.
 * `sdist` is now compatible with wheel 0.31.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-batch-3.2.0/PKG-INFO 
new/azure-cli-batch-3.3.3/PKG-INFO
--- old/azure-cli-batch-3.2.0/PKG-INFO  2018-04-06 19:33:26.000000000 +0200
+++ new/azure-cli-batch-3.3.3/PKG-INFO  2018-08-23 01:10:04.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: azure-cli-batch
-Version: 3.2.0
+Version: 3.3.3
 Summary: Microsoft Azure Command-Line Tools Batch Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
 Author-email: [email protected]
 License: MIT
-Description-Content-Type: UNKNOWN
 Description: Microsoft Azure CLI 'batch' Command Module
         ==========================================
         
@@ -21,8 +20,50 @@
         Release History
         ===============
         
+        3.3.3
+        +++++
+        * Update Batch Management SDK dependency
+        
+        3.3.2
+        +++++
+        * Update Key Vault SDK dependency
+        
+        3.3.1
+        +++++
+        * Fix bug when show AAD token in cloudshell
+        
+        3.3.0
+        +++++
+        * BREAKING CHANGE: 'show' commands log error message and fail with 
exit code of 3 upon a missing resource.
+        * Fix bug on using token credential on cloud shell mode
+        * When use json file as input parameter, deserialize content with case 
insentive.
+        
+        3.2.6
+        +++++
+        * Minor fixes
+        
+        3.2.5
+        +++++
+        * Minor fixes
+        
+        3.2.4
+        +++++
+        * Remove azure-batch-extensions dependency.
+        
+        3.2.3
+        +++++
+        * Fixed bug in Pool list table formatting: issue #4378.
+        
+        3.2.2
+        +++++
+        * Updated to Batch SDK 4.1.2.
+        
+        3.2.1
+        +++++
+        * Minor fixes.
+        
         3.2.0
-        ++++++
+        +++++
         * Updated to Batch SDK 4.1.1.
         * `sdist` is now compatible with wheel 0.31.0
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/__init__.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/__init__.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/__init__.py       
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/__init__.py       
2018-08-23 01:07:57.000000000 +0200
@@ -19,7 +19,8 @@
             exception_handler=batch_exception_handler)
         super(BatchCommandsLoader, self).__init__(cli_ctx=cli_ctx,
                                                   
custom_command_type=batch_custom,
-                                                  
command_group_cls=BatchCommandGroup)
+                                                  
command_group_cls=BatchCommandGroup,
+                                                  
min_profile='2017-03-10-profile')
         self.module_name = __name__
 
     def load_command_table(self, args):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_client_factory.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_client_factory.py
--- 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_client_factory.py    
    2018-04-06 19:33:13.000000000 +0200
+++ 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_client_factory.py    
    2018-08-23 01:07:57.000000000 +0200
@@ -3,6 +3,8 @@
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
 # 
--------------------------------------------------------------------------------------------
 
+from azure.cli.core.util import in_cloud_console
+
 
 def mgmt_batch_account_client_factory(cli_ctx, _):
     return batch_client_factory(cli_ctx).batch_account
@@ -75,8 +77,13 @@
     if not account_key:
         from azure.cli.core._profile import Profile
         profile = Profile(cli_ctx=cli_ctx)
-        credentials, _, _ = profile.get_login_credentials(
-            resource=cli_ctx.cloud.endpoints.batch_resource_id)
+        # in order to use AAD auth in cloud shell mode, we will use mgmt AAD 
token
+        # instead of Batch AAD token to auth
+        if in_cloud_console():
+            resource = cli_ctx.cloud.endpoints.active_directory_resource_id
+        else:
+            resource = cli_ctx.cloud.endpoints.batch_resource_id
+        credentials, _, _ = profile.get_login_credentials(resource=resource)
     else:
         credentials = batchauth.SharedKeyCredentials(account_name, account_key)
     if not account_endpoint.startswith('https://'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_command_type.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_command_type.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_command_type.py  
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_command_type.py  
2018-08-23 01:07:57.000000000 +0200
@@ -3,7 +3,6 @@
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
 # 
--------------------------------------------------------------------------------------------
 
-import json
 import re
 from six import string_types
 
@@ -17,6 +16,7 @@
 from azure.cli.core import EXCLUDED_PARAMS
 from azure.cli.core.commands import CONFIRM_PARAM_NAME
 from azure.cli.core.commands import AzCommandGroup
+from azure.cli.core.util import get_file_json
 
 
 _CLASS_NAME = re.compile(r"~(.*)")  # Strip model name from class docstring
@@ -279,18 +279,19 @@
         self._request_param['name'] = name
         self._request_param['model'] = model.split('.')[-1]
 
-    def deserialize_json(self, client, kwargs, json_obj):
+    def deserialize_json(self, kwargs, json_obj):
         """Deserialize the contents of a JSON file into the request body
         parameter.
-        :param client: An Azure Batch SDK client
         :param dict kwargs: The request kwargs
         :param dict json_obj: The loaded JSON content
         """
         from msrest.exceptions import DeserializationError
         message = "Failed to deserialized JSON file into object {}"
         try:
-            kwargs[self._request_param['name']] = client._deserialize(  # 
pylint: disable=protected-access
-                self._request_param['model'], json_obj)
+            import azure.batch.models
+            model_type = getattr(azure.batch.models, 
self._request_param['model'])
+            # Use from_dict in order to deserialize with case insensitive
+            kwargs[self._request_param['name']] = 
model_type.from_dict(json_obj)
         except DeserializationError as error:
             message += ": {}".format(error)
             raise ValueError(message.format(self._request_param['model']))
@@ -404,8 +405,7 @@
         try:
             if namespace.json_file:
                 try:
-                    with open(namespace.json_file) as file_handle:
-                        namespace.json_file = json.load(file_handle)
+                    namespace.json_file = get_file_json(namespace.json_file)
                 except EnvironmentError:
                     raise ValueError("Cannot access JSON request file: " + 
namespace.json_file)
                 except ValueError as err:
@@ -479,7 +479,7 @@
 
                 # Build the request parameters from command line arguments
                 if json_file:
-                    self.parser.deserialize_json(client, kwargs, json_file)
+                    self.parser.deserialize_json(kwargs, json_file)
                     for arg, _ in self.parser:
                         del kwargs[arg]
                 else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_format.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_format.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_format.py        
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_format.py        
2018-08-23 01:07:57.000000000 +0200
@@ -205,7 +205,8 @@
         table_row['State'] = item['state']
         table_row['Allocation State'] = item['allocationState']
         table_row['VM Size'] = item['vmSize']
-        table_row['VM Count'] = item['currentDedicated']
+        table_row['Dedicated VM Count'] = item['currentDedicatedNodes']
+        table_row['Low Priority VM Count'] = item['currentLowPriorityNodes']
         table_row['Type'] = 'IaaS' if item['virtualMachineConfiguration'] else 
'PaaS'
         table_output.append(table_row)
     return table_output
@@ -274,3 +275,19 @@
         table_row['LowPri Total'] = str(item['lowPriority']['total'])
         table_output.append(table_row)
     return table_output
+
+
+def list_node_agent_skus_table_format(result):
+    """Format account list node agent skus result as a table."""
+    table_output = []
+    for item in result:
+        for ref in item['verifiedImageReferences']:
+            table_row = OrderedDict()
+            table_row['OS Type'] = item['osType']
+            table_row['Node Agent Sku'] = item['id']
+            table_row['Publisher'] = ref['publisher']
+            table_row['Offer'] = ref['offer']
+            table_row['Sku'] = ref['sku']
+            table_row['Version'] = ref['version']
+            table_output.append(table_row)
+    return table_output
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_help.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_help.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_help.py  
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_help.py  
2018-08-23 01:07:57.000000000 +0200
@@ -1,3 +1,4 @@
+# coding=utf-8
 # 
--------------------------------------------------------------------------------------------
 # Copyright (c) Microsoft Corporation. All rights reserved.
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
@@ -155,6 +156,11 @@
     short-summary: Manage Batch job schedules.
 """
 
+helps['batch node service-logs'] = """
+    type: group
+    short-summary: Manage the service log files of a Batch compute node.
+"""
+
 helps['batch node user'] = """
     type: group
     short-summary: Manage the user accounts of a Batch compute node.
@@ -221,6 +227,11 @@
     short-summary: View usage metrics of Batch pools.
 """
 
+helps['batch pool node-counts'] = """
+    type: group
+    short-summary: Get node counts for Batch pools.
+"""
+
 helps['batch pool node-agent-skus'] = """
     type: group
     short-summary: Retrieve node agent SKUs of Batch pools using a Virtual 
Machine Configuration.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_params.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_params.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_params.py        
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_params.py        
2018-08-23 01:07:57.000000000 +0200
@@ -7,8 +7,7 @@
 
 from knack.arguments import CLIArgumentType
 
-from azure.mgmt.batch.models.batch_management_client_enums import \
-    (AccountKeyType)
+from azure.mgmt.batch.models import AccountKeyType
 from azure.batch.models.batch_service_client_enums import \
     (ComputeNodeDeallocationOption)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_validators.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_validators.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/_validators.py    
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/_validators.py    
2018-08-23 01:07:57.000000000 +0200
@@ -4,9 +4,9 @@
 # 
--------------------------------------------------------------------------------------------
 
 import os
-import json
 
 from six.moves.urllib.parse import urlsplit  # pylint: disable=import-error
+from azure.cli.core.util import get_file_json
 
 
 # TYPES VALIDATORS
@@ -123,7 +123,7 @@
 
 def keyvault_id(cmd, namespace):
     """Validate storage account name"""
-    from azure.mgmt.keyvault import KeyVaultManagementClient
+    from azure.cli.core.profiles import ResourceType
     from azure.cli.core.commands.client_factory import get_mgmt_service_client
     if not namespace.keyvault:
         return
@@ -135,7 +135,7 @@
         kv_name = namespace.keyvault
         kv_rg = namespace.resource_group_name
     try:
-        keyvault_client = get_mgmt_service_client(cmd.cli_ctx, 
KeyVaultManagementClient)
+        keyvault_client = get_mgmt_service_client(cmd.cli_ctx, 
ResourceType.MGMT_KEYVAULT)
         vault = keyvault_client.vaults.get(kv_rg, kv_name)
         if not vault:
             raise ValueError("KeyVault named '{}' not found in the resource 
group '{}'.".
@@ -170,8 +170,7 @@
     """Validate the give json file existing"""
     if namespace.json_file:
         try:
-            with open(namespace.json_file) as file_handle:
-                json.load(file_handle)
+            get_file_json(namespace.json_file)
         except EnvironmentError:
             raise ValueError("Cannot access JSON request file: " + 
namespace.json_file)
         except ValueError as err:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/commands.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/commands.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/commands.py       
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/commands.py       
2018-08-23 01:07:57.000000000 +0200
@@ -51,7 +51,7 @@
     # Mgmt Account Operations
     with self.command_group('batch account', get_mgmt_type('batch_account'), 
client_factory=get_mgmt_factory('batch_account')) as g:
         g.custom_command('list', 'list_accounts', 
table_transformer=account_list_table_format)
-        g.command('show', 'get')
+        g.show_command('show', 'get')
         g.custom_command('create', 'create_account', supports_no_wait=True)
         g.custom_command('set', 'update_account')
         g.command('delete', 'delete', supports_no_wait=True, confirmation=True)
@@ -62,7 +62,7 @@
 
     with self.command_group('batch application', get_mgmt_type('application'), 
client_factory=get_mgmt_factory('application')) as g:
         g.command('list', 'list', 
table_transformer=application_list_table_format)
-        g.command('show', 'get')
+        g.show_command('show', 'get')
         g.command('create', 'create')
         g.custom_command('set', 'update_application')
         g.command('delete', 'delete', confirmation=True)
@@ -70,11 +70,11 @@
     with self.command_group('batch application package', 
get_mgmt_type('application_package'), 
client_factory=get_mgmt_factory('application_package'))as g:
         g.custom_command('create', 'create_application_package')
         g.command('delete', 'delete', confirmation=True)
-        g.command('show', 'get')
+        g.show_command('show', 'get')
         g.command('activate', 'activate')
 
     with self.command_group('batch location quotas', 
get_mgmt_type('location')) as g:
-        g.command('show', 'get_quotas')
+        g.show_command('show', 'get_quotas')
 
     # Data Plane Commands
     with self.command_group('batch application summary', 
get_data_type('application')) as g:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/custom.py 
new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/custom.py
--- old/azure-cli-batch-3.2.0/azure/cli/command_modules/batch/custom.py 
2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure/cli/command_modules/batch/custom.py 
2018-08-23 01:07:57.000000000 +0200
@@ -3,7 +3,6 @@
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
 # 
--------------------------------------------------------------------------------------------
 
-import json
 import base64
 from six.moves.urllib.parse import urlsplit  # pylint: disable=import-error
 
@@ -25,7 +24,7 @@
 from azure.cli.core.commands.client_factory import get_mgmt_service_client
 from azure.cli.core.profiles import get_sdk, ResourceType
 from azure.cli.core._profile import Profile
-from azure.cli.core.util import sdk_no_wait
+from azure.cli.core.util import sdk_no_wait, get_file_json, in_cloud_console
 
 logger = get_logger(__name__)
 MAX_TASKS_PER_REQUEST = 100
@@ -100,7 +99,10 @@
     else:
         cmd.cli_ctx.config.set_value('batch', 'auth_mode', 'aad')
         if show:
-            resource = cmd.cli_ctx.cloud.endpoints.batch_resource_id
+            if in_cloud_console():
+                resource = 
cmd.cli_ctx.cloud.endpoints.active_directory_resource_id
+            else:
+                resource = cmd.cli_ctx.cloud.endpoints.batch_resource_id
             profile = Profile(cli_ctx=cmd.cli_ctx)
             creds, subscription, tenant = 
profile.get_raw_token(resource=resource)
             return {
@@ -227,22 +229,21 @@
                 start_task_environment_settings=None, 
start_task_wait_for_success=None,
                 start_task_max_task_retry_count=None):
     if json_file:
-        with open(json_file) as f:
-            json_obj = json.load(f)
-            param = None
-            try:
-                param = PoolUpdatePropertiesParameter.from_dict(json_obj)
-            except DeserializationError:
-                pass
-            if not param:
-                raise ValueError("JSON file '{}' is not in correct 
format.".format(json_file))
-
-            if param.certificate_references is None:
-                param.certificate_references = []
-            if param.metadata is None:
-                param.metadata = []
-            if param.application_package_references is None:
-                param.application_package_references = []
+        json_obj = get_file_json(json_file)
+        param = None
+        try:
+            param = PoolUpdatePropertiesParameter.from_dict(json_obj)
+        except DeserializationError:
+            pass
+        if not param:
+            raise ValueError("JSON file '{}' is not in correct 
format.".format(json_file))
+
+        if param.certificate_references is None:
+            param.certificate_references = []
+        if param.metadata is None:
+            param.metadata = []
+        if param.application_package_references is None:
+            param.application_package_references = []
     else:
         if certificate_references is None:
             certificate_references = []
@@ -287,17 +288,16 @@
     task = None
     tasks = []
     if json_file:
-        with open(json_file) as f:
-            json_obj = json.load(f)
+        json_obj = get_file_json(json_file)
+        try:
+            task = TaskAddParameter.from_dict(json_obj)
+        except DeserializationError:
+            tasks = []
             try:
-                task = TaskAddParameter.from_dict(json_obj)
-            except DeserializationError:
-                tasks = []
-                try:
-                    for json_task in json_obj:
-                        tasks.append(TaskAddParameter.from_dict(json_task))
-                except (DeserializationError, TypeError):
-                    raise ValueError("JSON file '{}' is not formatted 
correctly.".format(json_file))
+                for json_task in json_obj:
+                    tasks.append(TaskAddParameter.from_dict(json_task))
+            except (DeserializationError, TypeError):
+                raise ValueError("JSON file '{}' is not formatted 
correctly.".format(json_file))
     else:
         if command_line is None or task_id is None:
             raise ValueError("Missing required arguments.\nEither --json-file, 
"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure_cli_batch.egg-info/PKG-INFO 
new/azure-cli-batch-3.3.3/azure_cli_batch.egg-info/PKG-INFO
--- old/azure-cli-batch-3.2.0/azure_cli_batch.egg-info/PKG-INFO 2018-04-06 
19:33:26.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure_cli_batch.egg-info/PKG-INFO 2018-08-23 
01:10:04.000000000 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: azure-cli-batch
-Version: 3.2.0
+Version: 3.3.3
 Summary: Microsoft Azure Command-Line Tools Batch Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
 Author-email: [email protected]
 License: MIT
-Description-Content-Type: UNKNOWN
 Description: Microsoft Azure CLI 'batch' Command Module
         ==========================================
         
@@ -21,8 +20,50 @@
         Release History
         ===============
         
+        3.3.3
+        +++++
+        * Update Batch Management SDK dependency
+        
+        3.3.2
+        +++++
+        * Update Key Vault SDK dependency
+        
+        3.3.1
+        +++++
+        * Fix bug when show AAD token in cloudshell
+        
+        3.3.0
+        +++++
+        * BREAKING CHANGE: 'show' commands log error message and fail with 
exit code of 3 upon a missing resource.
+        * Fix bug on using token credential on cloud shell mode
+        * When use json file as input parameter, deserialize content with case 
insentive.
+        
+        3.2.6
+        +++++
+        * Minor fixes
+        
+        3.2.5
+        +++++
+        * Minor fixes
+        
+        3.2.4
+        +++++
+        * Remove azure-batch-extensions dependency.
+        
+        3.2.3
+        +++++
+        * Fixed bug in Pool list table formatting: issue #4378.
+        
+        3.2.2
+        +++++
+        * Updated to Batch SDK 4.1.2.
+        
+        3.2.1
+        +++++
+        * Minor fixes.
+        
         3.2.0
-        ++++++
+        +++++
         * Updated to Batch SDK 4.1.1.
         * `sdist` is now compatible with wheel 0.31.0
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-batch-3.2.0/azure_cli_batch.egg-info/requires.txt 
new/azure-cli-batch-3.3.3/azure_cli_batch.egg-info/requires.txt
--- old/azure-cli-batch-3.2.0/azure_cli_batch.egg-info/requires.txt     
2018-04-06 19:33:26.000000000 +0200
+++ new/azure-cli-batch-3.3.3/azure_cli_batch.egg-info/requires.txt     
2018-08-23 01:10:04.000000000 +0200
@@ -1,5 +1,4 @@
-azure-batch==4.1.1
-azure-batch-extensions<1.1,>=1.0
-azure-mgmt-batch==4.1.0
-azure-mgmt-keyvault==0.40.0
+azure-batch==4.1.3
+azure-mgmt-batch==5.0.1
+azure-mgmt-keyvault==1.1.0
 azure-cli-core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-batch-3.2.0/setup.py 
new/azure-cli-batch-3.3.3/setup.py
--- old/azure-cli-batch-3.2.0/setup.py  2018-04-06 19:33:13.000000000 +0200
+++ new/azure-cli-batch-3.3.3/setup.py  2018-08-23 01:07:57.000000000 +0200
@@ -15,7 +15,7 @@
     logger.warn("Wheel is not available, disabling bdist_wheel hook")
     cmdclass = {}
 
-VERSION = "3.2.0"
+VERSION = "3.3.3"
 # The full list of classifiers is available at
 # https://pypi.python.org/pypi?%3Aaction=list_classifiers
 CLASSIFIERS = [
@@ -33,10 +33,9 @@
 ]
 
 DEPENDENCIES = [
-    'azure-batch==4.1.1',
-    'azure-batch-extensions>=1.0,<1.1',
-    'azure-mgmt-batch==4.1.0',
-    'azure-mgmt-keyvault==0.40.0',
+    'azure-batch==4.1.3',
+    'azure-mgmt-batch==5.0.1',
+    'azure-mgmt-keyvault==1.1.0',
     'azure-cli-core'
 ]
 


Reply via email to