Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package azure-cli-core for openSUSE:Factory checked in at 2021-10-16 22:47:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old) and /work/SRC/openSUSE:Factory/.azure-cli-core.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-core" Sat Oct 16 22:47:05 2021 rev:30 rq:925516 version:2.29.0 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes 2021-09-17 23:25:58.945237832 +0200 +++ /work/SRC/openSUSE:Factory/.azure-cli-core.new.1890/azure-cli-core.changes 2021-10-16 22:47:32.532686963 +0200 @@ -1,0 +2,9 @@ +Fri Oct 15 07:53:25 UTC 2021 - John Paul Adrian Glaubitz <[email protected]> + +- New upstream release + + Version 2.29.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-cli-core-2.28.1.tar.gz New: ---- azure-cli-core-2.29.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli-core.spec ++++++ --- /var/tmp/diff_new_pack.AnSJ23/_old 2021-10-16 22:47:32.900687273 +0200 +++ /var/tmp/diff_new_pack.AnSJ23/_new 2021-10-16 22:47:32.904687276 +0200 @@ -17,7 +17,7 @@ Name: azure-cli-core -Version: 2.28.1 +Version: 2.29.0 Release: 0 Summary: Microsoft Azure CLI Core Module License: MIT @@ -41,12 +41,10 @@ Requires: python3-adal >= 1.2.7 Requires: python3-argcomplete < 2.0 Requires: python3-argcomplete >= 1.8 -Requires: python3-azure-common < 2.0 -Requires: python3-azure-common >= 1.1 Requires: python3-azure-mgmt-core < 2.0.0 -Requires: python3-azure-mgmt-core >= 1.2.1 +Requires: python3-azure-mgmt-core >= 1.2.0 Requires: python3-azure-nspkg >= 3.0.0 -Requires: python3-cryptography >= 3.2 +Requires: python3-cryptography Requires: python3-humanfriendly < 10.0 Requires: python3-humanfriendly >= 4.7 Requires: python3-jmespath ++++++ azure-cli-core-2.28.1.tar.gz -> azure-cli-core-2.29.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/HISTORY.rst new/azure-cli-core-2.29.0/HISTORY.rst --- old/azure-cli-core-2.28.1/HISTORY.rst 2021-09-09 09:00:29.000000000 +0200 +++ new/azure-cli-core-2.29.0/HISTORY.rst 2021-10-08 11:21:53.000000000 +0200 @@ -3,6 +3,11 @@ Release History =============== +2.29.0 +++++++ +* Add a global config `core.disable_progress_bar` by `az config` to allow users to disable progress bar globally in the automation scenario. (#19464) +* It is supported to use the parameter `--only-show-errors` to disable progress bar. (#19464) + 2.28.1 ++++++ * No changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/PKG-INFO new/azure-cli-core-2.29.0/PKG-INFO --- old/azure-cli-core-2.28.1/PKG-INFO 2021-09-09 09:00:43.452860600 +0200 +++ new/azure-cli-core-2.29.0/PKG-INFO 2021-10-08 11:22:05.355128500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli-core -Version: 2.28.1 +Version: 2.29.0 Summary: Microsoft Azure Command-Line Tools Core Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/azure/cli/core/__init__.py new/azure-cli-core-2.29.0/azure/cli/core/__init__.py --- old/azure-cli-core-2.28.1/azure/cli/core/__init__.py 2021-09-09 09:00:29.000000000 +0200 +++ new/azure-cli-core-2.29.0/azure/cli/core/__init__.py 2021-10-08 11:21:53.000000000 +0200 @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long -__version__ = "2.28.1" +__version__ = "2.29.0" import os import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/azure/cli/core/commands/__init__.py new/azure-cli-core-2.29.0/azure/cli/core/commands/__init__.py --- old/azure-cli-core-2.28.1/azure/cli/core/commands/__init__.py 2021-09-09 09:00:29.000000000 +0200 +++ new/azure-cli-core-2.29.0/azure/cli/core/commands/__init__.py 2021-10-08 11:21:53.000000000 +0200 @@ -875,7 +875,11 @@ self.poller_done_interval_ms = poller_done_interval_ms self.deploy_dict = {} self.last_progress_report = datetime.datetime.now() - self.progress_bar = progress_bar if progress_bar is not None else IndeterminateProgressBar(cli_ctx) + + self.progress_bar = None + disable_progress_bar = self.cli_ctx.config.getboolean('core', 'disable_progress_bar', False) + if not disable_progress_bar and not cli_ctx.only_show_errors: + self.progress_bar = progress_bar if progress_bar is not None else IndeterminateProgressBar(cli_ctx) def _delay(self): time.sleep(self.poller_done_interval_ms / 1000.0) @@ -943,12 +947,13 @@ if update: logger.info(result) - def __call__(self, poller): + def __call__(self, poller): # pylint: disable=too-many-statements from msrest.exceptions import ClientException from azure.core.exceptions import HttpResponseError correlation_message = '' - self.progress_bar.begin() + if self.progress_bar: + self.progress_bar.begin() correlation_id = None cli_logger = get_logger() # get CLI logger which has the level set through command lines @@ -976,10 +981,12 @@ except Exception as ex: # pylint: disable=broad-except logger.warning('%s during progress reporting: %s', getattr(type(ex), '__name__', type(ex)), ex) try: - self.progress_bar.update_progress() + if self.progress_bar: + self.progress_bar.update_progress() self._delay() except KeyboardInterrupt: - self.progress_bar.stop() + if self.progress_bar: + self.progress_bar.stop() logger.error('Long-running operation wait cancelled. %s', correlation_message) raise @@ -987,7 +994,8 @@ result = poller.result() except (ClientException, HttpResponseError) as exception: from azure.cli.core.commands.arm import handle_long_running_operation_exception - self.progress_bar.stop() + if self.progress_bar: + self.progress_bar.stop() if getattr(exception, 'status_code', None) == 404 and \ ('delete' in self.cli_ctx.data['command'] or 'purge' in self.cli_ctx.data['command']): logger.debug('Service returned 404 on the long-running delete or purge operation. CLI treats it as ' @@ -998,7 +1006,8 @@ else: raise exception finally: - self.progress_bar.end() + if self.progress_bar: + self.progress_bar.end() if poll_flag: telemetry.poll_end() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/azure/cli/core/profiles/_shared.py new/azure-cli-core-2.29.0/azure/cli/core/profiles/_shared.py --- old/azure-cli-core-2.28.1/azure/cli/core/profiles/_shared.py 2021-09-09 09:00:29.000000000 +0200 +++ new/azure-cli-core-2.29.0/azure/cli/core/profiles/_shared.py 2021-10-08 11:21:53.000000000 +0200 @@ -56,6 +56,7 @@ MGMT_RESOURCE_TEMPLATESPECS = ('azure.mgmt.resource.templatespecs', 'TemplateSpecsClient') MGMT_MONITOR = ('azure.mgmt.monitor', 'MonitorManagementClient') DATA_KEYVAULT = ('azure.keyvault', 'KeyVaultClient') + DATA_KEYVAULT_KEYS = ('azure.keyvault.keys', 'KeyClient') DATA_PRIVATE_KEYVAULT = ('azure.cli.command_modules.keyvault.vendored_sdks.azure_keyvault_t1', 'KeyVaultClient') DATA_KEYVAULT_ADMINISTRATION_BACKUP = ('azure.keyvault.administration', 'KeyVaultBackupClient') DATA_KEYVAULT_ADMINISTRATION_ACCESS_CONTROL = ('azure.keyvault.administration', 'KeyVaultAccessControlClient') @@ -141,19 +142,19 @@ AZURE_API_PROFILES = { 'latest': { - ResourceType.MGMT_STORAGE: '2021-04-01', + ResourceType.MGMT_STORAGE: '2021-06-01', ResourceType.MGMT_NETWORK: '2021-02-01', - ResourceType.MGMT_COMPUTE: SDKProfile('2021-04-01', { + ResourceType.MGMT_COMPUTE: SDKProfile('2021-07-01', { 'resource_skus': '2019-04-01', 'disks': '2020-12-01', 'disk_encryption_sets': '2020-12-01', 'disk_accesses': '2020-05-01', 'snapshots': '2020-12-01', - 'galleries': '2020-09-30', + 'galleries': '2021-07-01', 'gallery_images': '2020-09-30', - 'gallery_image_versions': '2020-09-30', + 'gallery_image_versions': '2021-07-01', 'shared_galleries': '2020-09-30', - 'virtual_machine_scale_sets': '2021-04-01' + 'virtual_machine_scale_sets': '2021-04-01', }), ResourceType.MGMT_RESOURCE_FEATURES: '2021-07-01', ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01', @@ -176,6 +177,9 @@ 'task_runs': '2019-06-01-preview', 'runs': '2019-06-01-preview', }), + # The order does make things different. + # Please keep ResourceType.DATA_KEYVAULT_KEYS before ResourceType.DATA_KEYVAULT + ResourceType.DATA_KEYVAULT_KEYS: None, ResourceType.DATA_KEYVAULT: '7.0', ResourceType.DATA_PRIVATE_KEYVAULT: '7.2', ResourceType.DATA_KEYVAULT_ADMINISTRATION_BACKUP: '7.2-preview', @@ -186,7 +190,7 @@ ResourceType.DATA_STORAGE_FILESHARE: '2019-07-07', ResourceType.DATA_STORAGE_QUEUE: '2018-03-28', ResourceType.DATA_COSMOS_TABLE: '2017-04-17', - ResourceType.MGMT_EVENTHUB: '2018-01-01-preview', + ResourceType.MGMT_EVENTHUB: '2021-06-01-preview', ResourceType.MGMT_MONITOR: SDKProfile('2019-06-01', { 'activity_log_alerts': '2017-04-01', 'activity_logs': '2015-04-01', @@ -258,6 +262,9 @@ 'policy_assignments': '2016-12-01', 'policy_definitions': '2016-12-01' }), + # The order does make things different. + # Please keep ResourceType.DATA_KEYVAULT_KEYS before ResourceType.DATA_KEYVAULT + ResourceType.DATA_KEYVAULT_KEYS: None, ResourceType.DATA_KEYVAULT: '2016-10-01', ResourceType.DATA_STORAGE: '2018-11-09', ResourceType.DATA_STORAGE_BLOB: '2019-07-07', @@ -266,7 +273,7 @@ ResourceType.DATA_STORAGE_QUEUE: '2019-07-07', ResourceType.DATA_COSMOS_TABLE: '2017-04-17', ResourceType.MGMT_APPSERVICE: '2018-02-01', - ResourceType.MGMT_EVENTHUB: '2018-01-01-preview', + ResourceType.MGMT_EVENTHUB: '2021-06-01-preview', ResourceType.MGMT_IOTHUB: '2019-07-01-preview', ResourceType.MGMT_DATABOXEDGE: '2019-08-01', ResourceType.MGMT_CONTAINERREGISTRY: '2019-05-01', @@ -296,6 +303,9 @@ 'policy_assignments': '2016-12-01', 'policy_definitions': '2016-12-01' }), + # The order does make things different. + # Please keep ResourceType.DATA_KEYVAULT_KEYS before ResourceType.DATA_KEYVAULT + ResourceType.DATA_KEYVAULT_KEYS: None, ResourceType.DATA_KEYVAULT: '2016-10-01', ResourceType.DATA_STORAGE: '2017-11-09', ResourceType.DATA_STORAGE_BLOB: '2017-11-09', @@ -307,7 +317,7 @@ # to have commands show up in the hybrid profile which happens to have the latest # API versions ResourceType.MGMT_APPSERVICE: '2018-02-01', - ResourceType.MGMT_EVENTHUB: '2018-01-01-preview', + ResourceType.MGMT_EVENTHUB: '2021-06-01-preview', ResourceType.MGMT_IOTHUB: '2019-03-22', ResourceType.MGMT_DATABOXEDGE: '2019-08-01' }, @@ -326,6 +336,9 @@ ResourceType.MGMT_AUTHORIZATION: SDKProfile('2015-07-01', { 'classic_administrators': '2015-06-01' }), + # The order does make things different. + # Please keep ResourceType.DATA_KEYVAULT_KEYS before ResourceType.DATA_KEYVAULT + ResourceType.DATA_KEYVAULT_KEYS: None, ResourceType.DATA_KEYVAULT: '2016-10-01', ResourceType.DATA_STORAGE: '2017-04-17', ResourceType.DATA_STORAGE_BLOB: '2017-04-17', @@ -349,6 +362,9 @@ ResourceType.MGMT_AUTHORIZATION: SDKProfile('2015-07-01', { 'classic_administrators': '2015-06-01' }), + # The order does make things different. + # Please keep ResourceType.DATA_KEYVAULT_KEYS before ResourceType.DATA_KEYVAULT + ResourceType.DATA_KEYVAULT_KEYS: None, ResourceType.DATA_KEYVAULT: '2016-10-01', ResourceType.DATA_STORAGE: '2015-04-05', ResourceType.DATA_STORAGE_BLOB: '2015-04-05', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/azure_cli_core.egg-info/PKG-INFO new/azure-cli-core-2.29.0/azure_cli_core.egg-info/PKG-INFO --- old/azure-cli-core-2.28.1/azure_cli_core.egg-info/PKG-INFO 2021-09-09 09:00:43.000000000 +0200 +++ new/azure-cli-core-2.29.0/azure_cli_core.egg-info/PKG-INFO 2021-10-08 11:22:05.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli-core -Version: 2.28.1 +Version: 2.29.0 Summary: Microsoft Azure Command-Line Tools Core Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/azure_cli_core.egg-info/requires.txt new/azure-cli-core-2.29.0/azure_cli_core.egg-info/requires.txt --- old/azure-cli-core-2.28.1/azure_cli_core.egg-info/requires.txt 2021-09-09 09:00:43.000000000 +0200 +++ new/azure-cli-core-2.29.0/azure_cli_core.egg-info/requires.txt 2021-10-08 11:22:05.000000000 +0200 @@ -1,9 +1,8 @@ adal~=1.2.7 argcomplete~=1.8 azure-cli-telemetry==1.0.6.* -azure-common~=1.1 azure-mgmt-core<1.3.0,>=1.2.0 -cryptography<3.4,>=3.2 +cryptography humanfriendly<10.0,>=4.7 jmespath knack~=0.8.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.28.1/setup.py new/azure-cli-core-2.29.0/setup.py --- old/azure-cli-core-2.28.1/setup.py 2021-09-09 09:00:29.000000000 +0200 +++ new/azure-cli-core-2.29.0/setup.py 2021-10-08 11:21:53.000000000 +0200 @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "2.28.1" +VERSION = "2.29.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. @@ -46,9 +46,8 @@ 'adal~=1.2.7', 'argcomplete~=1.8', 'azure-cli-telemetry==1.0.6.*', - 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<1.3.0', # the preview version of azure-mgmt-core is 1.3.0b1, it cannot fit azure-core >=1.14.0 - 'cryptography>=3.2,<3.4', + 'cryptography', 'humanfriendly>=4.7,<10.0', 'jmespath', 'knack~=0.8.2',
