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 2023-07-15 23:15:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old) and /work/SRC/openSUSE:Factory/.azure-cli-core.new.3193 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-core" Sat Jul 15 23:15:16 2023 rev:54 rq:1098823 version:2.50.0 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes 2023-05-28 19:23:56.293353309 +0200 +++ /work/SRC/openSUSE:Factory/.azure-cli-core.new.3193/azure-cli-core.changes 2023-07-15 23:15:22.695592000 +0200 @@ -1,0 +2,11 @@ +Thu Jul 6 07:37:46 UTC 2023 - John Paul Adrian Glaubitz <[email protected]> + +- New upstream release + + Version 2.50.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Drop patches for issues fixed upstream + + acc_update-argcomplete.patch +- Update Requires from setup.py + +------------------------------------------------------------------- Old: ---- acc_update-argcomplete.patch azure-cli-core-2.49.0.tar.gz New: ---- azure-cli-core-2.50.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli-core.spec ++++++ --- /var/tmp/diff_new_pack.dWQTHA/_old 2023-07-15 23:15:23.435596341 +0200 +++ /var/tmp/diff_new_pack.dWQTHA/_new 2023-07-15 23:15:23.439596364 +0200 @@ -17,7 +17,7 @@ Name: azure-cli-core -Version: 2.49.0 +Version: 2.50.0 Release: 0 Summary: Microsoft Azure CLI Core Module License: MIT @@ -26,7 +26,6 @@ Source: https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure-cli-core-%{version}.tar.gz Source1: LICENSE.txt Patch0: acc_disable-update-check.patch -Patch1: acc_update-argcomplete.patch BuildRequires: azure-cli-nspkg BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -36,7 +35,7 @@ Requires: azure-cli-telemetry >= 1.0.8 Requires: python3-PyJWT >= 2.1.0 Requires: python3-argcomplete < 4.0 -Requires: python3-argcomplete >= 3.0 +Requires: python3-argcomplete >= 3.1.1 Requires: python3-azure-mgmt-core < 2.0.0 Requires: python3-azure-mgmt-core >= 1.2.0 Requires: python3-azure-nspkg >= 3.0.0 @@ -47,7 +46,7 @@ Requires: python3-knack < 1.0.0 Requires: python3-knack >= 0.10.0 Requires: python3-msal < 2.0.0 -Requires: python3-msal >= 1.20.0 +Requires: python3-msal >= 1.22.0 Requires: python3-msal-extensions < 2.0.0 Requires: python3-msal-extensions >= 1.0.0 Requires: python3-msrestazure < 0.7.0 @@ -76,7 +75,6 @@ %prep %setup -q -n azure-cli-core-%{version} %patch0 -p1 -%patch1 -p1 %build install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version} ++++++ azure-cli-core-2.49.0.tar.gz -> azure-cli-core-2.50.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/HISTORY.rst new/azure-cli-core-2.50.0/HISTORY.rst --- old/azure-cli-core-2.49.0/HISTORY.rst 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/HISTORY.rst 2023-06-29 13:20:03.000000000 +0200 @@ -3,6 +3,13 @@ Release History =============== +2.50.0 +++++++ +* `aaz`: Add short summary for `--location` when its default value comes from resource group (#26584) +* `aaz`: Handle null property in error response (#26605) +* `aaz`: Explicitly raise TypeError exception during LRO (#26634) +* `aaz`: Parse and re-serialize query parameters within next link (#26768) + 2.49.0 ++++++ * Dynamically install extensions without prompt when not in a TTY (#26219) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/PKG-INFO new/azure-cli-core-2.50.0/PKG-INFO --- old/azure-cli-core-2.49.0/PKG-INFO 2023-05-19 10:19:44.972120800 +0200 +++ new/azure-cli-core-2.50.0/PKG-INFO 2023-06-29 13:20:16.092210800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli-core -Version: 2.49.0 +Version: 2.50.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.49.0/azure/cli/core/__init__.py new/azure-cli-core-2.50.0/azure/cli/core/__init__.py --- old/azure-cli-core-2.49.0/azure/cli/core/__init__.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/__init__.py 2023-06-29 13:20:03.000000000 +0200 @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long -__version__ = "2.49.0" +__version__ = "2.50.0" import os import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure/cli/core/aaz/_arg.py new/azure-cli-core-2.50.0/azure/cli/core/aaz/_arg.py --- old/azure-cli-core-2.49.0/azure/cli/core/aaz/_arg.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/aaz/_arg.py 2023-06-29 13:20:03.000000000 +0200 @@ -494,6 +494,11 @@ isinstance(self._fmt, AAZResourceLocationArgFormat) and self._fmt._resource_group_arg is not None: # when location is required and it will be retrived from resource group by default, arg is not required. arg.required = False + short_summary = arg.type.settings.get('help', None) or '' + if short_summary: + short_summary += ' ' + short_summary += "When not specified, the location of the resource group will be used." + arg.help = short_summary arg.completer = get_location_completion_list arg.configured_default = 'location' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure/cli/core/aaz/_error_format.py new/azure-cli-core-2.50.0/azure/cli/core/aaz/_error_format.py --- old/azure-cli-core-2.49.0/azure/cli/core/aaz/_error_format.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/aaz/_error_format.py 2023-06-29 13:20:03.000000000 +0200 @@ -52,12 +52,12 @@ # details is recursive of this very format self.details = [] - for detail_node in self.get_object_prop(json_object, cls.DETAILS_LABEL, default=[]): + for detail_node in self.get_object_prop(json_object, cls.DETAILS_LABEL) or []: try: self.details.append(self.__class__(detail_node)) except Exception: # pylint: disable=broad-except pass - self.innererror = self.get_object_prop(json_object, cls.INNERERROR_LABEL, default={}) + self.innererror = self.get_object_prop(json_object, cls.INNERERROR_LABEL) or {} @property def error(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure/cli/core/aaz/_operation.py new/azure-cli-core-2.50.0/azure/cli/core/aaz/_operation.py --- old/azure-cli-core-2.49.0/azure/cli/core/aaz/_operation.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/aaz/_operation.py 2023-06-29 13:20:03.000000000 +0200 @@ -10,6 +10,7 @@ from azure.core.exceptions import ClientAuthenticationError, ResourceExistsError, ResourceNotFoundError, \ HttpResponseError from azure.cli.core.azclierror import InvalidArgumentValueError +from urllib.parse import parse_qs, urljoin, urlparse from ._arg_browser import AAZArgBrowser from ._base import AAZUndefined, AAZBaseValue, AAZBaseType, has_value @@ -292,9 +293,14 @@ """ if self.ctx.next_link: # support making request for next link + _parsed_next_link = urlparse(self.ctx.next_link) + _next_request_params = { + key: [quote(v) for v in value] + for key, value in parse_qs(_parsed_next_link.query).items() + } request = self.client._request( - "GET", self.ctx.next_link, {}, self.header_parameters, - self.content, self.form_content, None) + "GET", urljoin(self.ctx.next_link, _parsed_next_link.path), _next_request_params, + self.header_parameters, self.content, self.form_content, None) elif self.method in ("GET",): request = self.client._request( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure/cli/core/aaz/_poller.py new/azure-cli-core-2.50.0/azure/cli/core/aaz/_poller.py --- old/azure-cli-core-2.49.0/azure/cli/core/aaz/_poller.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/aaz/_poller.py 2023-06-29 13:20:03.000000000 +0200 @@ -123,13 +123,11 @@ """ if self._thread is None: return + self._thread.join(timeout=timeout) - try: - # Let's handle possible None in forgiveness here - # https://github.com/python/mypy/issues/8165 - raise self._exception # type: ignore - except TypeError: # Was None - pass + + if self._exception: # derive from BaseException + raise self._exception def done(self): """Check status of the long running operation. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure/cli/core/profiles/_shared.py new/azure-cli-core-2.50.0/azure/cli/core/profiles/_shared.py --- old/azure-cli-core-2.49.0/azure/cli/core/profiles/_shared.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/profiles/_shared.py 2023-06-29 13:20:03.000000000 +0200 @@ -60,6 +60,7 @@ MGMT_RESOURCE_SUBSCRIPTIONS = ('azure.mgmt.resource.subscriptions', 'SubscriptionClient') MGMT_RESOURCE_DEPLOYMENTSCRIPTS = ('azure.mgmt.resource.deploymentscripts', 'DeploymentScriptsClient') MGMT_RESOURCE_TEMPLATESPECS = ('azure.mgmt.resource.templatespecs', 'TemplateSpecsClient') + MGMT_RESOURCE_DEPLOYMENTSTACKS = ('azure.mgmt.resource.deploymentstacks', 'DeploymentStacksClient') MGMT_RESOURCE_PRIVATELINKS = ('azure.mgmt.resource.privatelinks', 'ResourcePrivateLinkClient') MGMT_RESOURCE_MANAGEDAPPLICATIONS = ('azure.mgmt.resource.managedapplications', 'ApplicationClient') MGMT_MONITOR = ('azure.mgmt.monitor', 'MonitorManagementClient') @@ -175,13 +176,16 @@ ResourceType.MGMT_RESOURCE_FEATURES: '2021-07-01', ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01', ResourceType.MGMT_RESOURCE_LOCKS: '2016-09-01', - ResourceType.MGMT_RESOURCE_POLICY: '2021-06-01', + ResourceType.MGMT_RESOURCE_POLICY: SDKProfile('2021-06-01', { + 'policy_exemptions': '2020-07-01-preview' + }), ResourceType.MGMT_RESOURCE_RESOURCES: '2022-09-01', ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2019-11-01', ResourceType.MGMT_RESOURCE_DEPLOYMENTSCRIPTS: '2020-10-01', ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2021-05-01', + ResourceType.MGMT_RESOURCE_DEPLOYMENTSTACKS: '2022-08-01-preview', ResourceType.MGMT_RESOURCE_PRIVATELINKS: '2020-05-01', - ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2018-06-01', + ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2019-07-01', ResourceType.MGMT_NETWORK_DNS: '2018-05-01', ResourceType.MGMT_NETWORK_PRIVATEDNS: None, ResourceType.MGMT_KEYVAULT: '2023-02-01', @@ -210,7 +214,7 @@ ResourceType.DATA_KEYVAULT_ADMINISTRATION_BACKUP: '7.4', ResourceType.DATA_KEYVAULT_ADMINISTRATION_ACCESS_CONTROL: '7.4', ResourceType.DATA_STORAGE: '2018-11-09', - ResourceType.DATA_STORAGE_BLOB: '2021-06-08', + ResourceType.DATA_STORAGE_BLOB: '2022-11-02', ResourceType.DATA_STORAGE_FILEDATALAKE: '2021-08-06', ResourceType.DATA_STORAGE_FILESHARE: '2022-11-02', ResourceType.DATA_STORAGE_QUEUE: '2018-03-28', @@ -258,7 +262,7 @@ ResourceType.MGMT_ARO: '2022-09-04', ResourceType.MGMT_DATABOXEDGE: '2021-02-01-preview', ResourceType.MGMT_CUSTOMLOCATION: '2021-03-15-preview', - ResourceType.MGMT_CONTAINERSERVICE: SDKProfile('2023-04-01', { + ResourceType.MGMT_CONTAINERSERVICE: SDKProfile('2023-05-01', { 'container_services': '2017-07-01', 'open_shift_managed_clusters': '2019-09-30-preview' }), @@ -288,7 +292,7 @@ ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2016-06-01', ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2015-01-01', ResourceType.MGMT_RESOURCE_PRIVATELINKS: '2020-05-01', - ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2018-06-01', + ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2019-07-01', ResourceType.MGMT_NETWORK_DNS: '2016-04-01', ResourceType.MGMT_AUTHORIZATION: SDKProfile('2015-07-01', { 'classic_administrators': '2015-06-01', @@ -334,7 +338,7 @@ ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2016-06-01', ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2015-01-01', ResourceType.MGMT_RESOURCE_PRIVATELINKS: '2020-05-01', - ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2018-06-01', + ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2019-07-01', ResourceType.MGMT_NETWORK_DNS: '2016-04-01', ResourceType.MGMT_KEYVAULT: '2016-10-01', ResourceType.MGMT_AUTHORIZATION: SDKProfile('2015-07-01', { @@ -375,7 +379,7 @@ ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2016-06-01', ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2015-01-01', ResourceType.MGMT_RESOURCE_PRIVATELINKS: '2020-05-01', - ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2018-06-01', + ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2019-07-01', ResourceType.MGMT_NETWORK_DNS: '2016-04-01', ResourceType.MGMT_KEYVAULT: '2016-10-01', ResourceType.MGMT_AUTHORIZATION: SDKProfile('2015-07-01', { @@ -406,7 +410,7 @@ ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2016-06-01', ResourceType.MGMT_RESOURCE_PRIVATELINKS: '2020-05-01', ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2015-01-01', - ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2018-06-01', + ResourceType.MGMT_RESOURCE_MANAGEDAPPLICATIONS: '2019-07-01', ResourceType.MGMT_NETWORK_DNS: '2016-04-01', ResourceType.MGMT_KEYVAULT: '2016-10-01', ResourceType.MGMT_AUTHORIZATION: SDKProfile('2015-07-01', { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure/cli/core/telemetry.py new/azure-cli-core-2.50.0/azure/cli/core/telemetry.py --- old/azure-cli-core-2.49.0/azure/cli/core/telemetry.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure/cli/core/telemetry.py 2023-06-29 13:20:03.000000000 +0200 @@ -408,8 +408,9 @@ def set_cli_recommendation(api_version, feedback): # This function returns the user's selection and feedback on the cli-recommendation results # Please refer to feedback_design.md of cli-recommendation for detailed information - _session.cli_recommendation = {"api_version": api_version, - "feedback": feedback} + # json.dumps converts the JSON-formatted feedback into a string format before storing it in the telemetry database. + # Telemetry property only accepts string inputs, and it cannot directly upload JSON content. + _session.cli_recommendation = json.dumps({"api_version": api_version, "feedback": feedback}) @decorators.suppress_all_exceptions() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/azure_cli_core.egg-info/PKG-INFO new/azure-cli-core-2.50.0/azure_cli_core.egg-info/PKG-INFO --- old/azure-cli-core-2.49.0/azure_cli_core.egg-info/PKG-INFO 2023-05-19 10:19:44.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure_cli_core.egg-info/PKG-INFO 2023-06-29 13:20:15.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli-core -Version: 2.49.0 +Version: 2.50.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.49.0/azure_cli_core.egg-info/requires.txt new/azure-cli-core-2.50.0/azure_cli_core.egg-info/requires.txt --- old/azure-cli-core-2.49.0/azure_cli_core.egg-info/requires.txt 2023-05-19 10:19:44.000000000 +0200 +++ new/azure-cli-core-2.50.0/azure_cli_core.egg-info/requires.txt 2023-06-29 13:20:15.000000000 +0200 @@ -1,4 +1,4 @@ -argcomplete~=2.0 +argcomplete~=3.1.1 azure-cli-telemetry==1.0.8.* azure-mgmt-core<2,>=1.2.0 cryptography @@ -6,7 +6,7 @@ jmespath knack~=0.10.1 msal-extensions~=1.0.0 -msal[broker]==1.20.0 +msal[broker]==1.22.0 msrestazure~=0.6.4 packaging>=20.9 paramiko<4.0.0,>=2.0.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.49.0/setup.py new/azure-cli-core-2.50.0/setup.py --- old/azure-cli-core-2.49.0/setup.py 2023-05-19 10:19:28.000000000 +0200 +++ new/azure-cli-core-2.50.0/setup.py 2023-06-29 13:20:03.000000000 +0200 @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "2.49.0" +VERSION = "2.50.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. @@ -43,7 +43,7 @@ ] DEPENDENCIES = [ - 'argcomplete~=2.0', + 'argcomplete~=3.1.1', 'azure-cli-telemetry==1.0.8.*', 'azure-mgmt-core>=1.2.0,<2', 'cryptography', @@ -53,7 +53,7 @@ 'jmespath', 'knack~=0.10.1', 'msal-extensions~=1.0.0', - 'msal[broker]==1.20.0', + 'msal[broker]==1.22.0', 'msrestazure~=0.6.4', 'packaging>=20.9', 'paramiko>=2.0.8,<4.0.0',
