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 2024-07-09 20:05:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-core.new.2080 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-core"

Tue Jul  9 20:05:55 2024 rev:69 rq:1186398 version:2.62.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes    
2024-05-22 21:33:33.092337226 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-core.new.2080/azure-cli-core.changes  
2024-07-09 20:06:30.118188891 +0200
@@ -1,0 +2,9 @@
+Tue Jul  9 06:58:52 UTC 2024 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- New upstream release
+  + Version 2.62.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.61.0.tar.gz

New:
----
  azure_cli_core-2.62.0.tar.gz

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

Other differences:
------------------
++++++ azure-cli-core.spec ++++++
--- /var/tmp/diff_new_pack.n2Rt2F/_old  2024-07-09 20:06:31.002221103 +0200
+++ /var/tmp/diff_new_pack.n2Rt2F/_new  2024-07-09 20:06:31.006221248 +0200
@@ -24,7 +24,7 @@
 %global _sitelibdir %{%{pythons}_sitelib}
 
 Name:           azure-cli-core
-Version:        2.61.0
+Version:        2.62.0
 Release:        0
 Summary:        Microsoft Azure CLI Core Module
 License:        MIT
@@ -52,7 +52,7 @@
 Requires:       %{pythons}-knack < 1.0.0
 Requires:       %{pythons}-knack >= 0.11.0
 Requires:       %{pythons}-msal < 2.0.0
-Requires:       %{pythons}-msal >= 1.28.0
+Requires:       %{pythons}-msal >= 1.28.1
 Requires:       %{pythons}-msal-extensions < 2.0.0
 Requires:       %{pythons}-msal-extensions >= 1.2.0~b1
 Requires:       %{pythons}-msrestazure < 0.7.0

++++++ azure_cli_core-2.61.0.tar.gz -> azure_cli_core-2.62.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.61.0/HISTORY.rst 
new/azure_cli_core-2.62.0/HISTORY.rst
--- old/azure_cli_core-2.61.0/HISTORY.rst       2024-05-16 05:48:31.000000000 
+0200
+++ new/azure_cli_core-2.62.0/HISTORY.rst       2024-07-04 04:23:33.000000000 
+0200
@@ -3,6 +3,13 @@
 Release History
 ===============
 
+2.62.0
+++++++
+* Fix #28997: Fix error "User cancelled the Accounts Control Operation" when 
logging in with WAM as Administrator (#29088)
+* Resolve CVE-2024-37891 (#29194)
+* Resolve CVE-2024-35195 (#29186)
+* `aaz`: Add argument completer support (#29204)
+
 2.61.0
 ++++++
 * Resolve CVE-2024-34064 (#28895)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.61.0/PKG-INFO 
new/azure_cli_core-2.62.0/PKG-INFO
--- old/azure_cli_core-2.61.0/PKG-INFO  2024-05-16 05:49:07.551462000 +0200
+++ new/azure_cli_core-2.62.0/PKG-INFO  2024-07-04 04:24:02.767936700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: azure-cli-core
-Version: 2.61.0
+Version: 2.62.0
 Summary: Microsoft Azure Command-Line Tools Core Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -27,7 +27,7 @@
 Requires-Dist: jmespath
 Requires-Dist: knack~=0.11.0
 Requires-Dist: msal-extensions==1.2.0b1
-Requires-Dist: msal[broker]==1.28.0
+Requires-Dist: msal[broker]==1.28.1
 Requires-Dist: msrestazure~=0.6.4
 Requires-Dist: packaging>=20.9
 Requires-Dist: paramiko<4.0.0,>=2.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.61.0/azure/cli/core/__init__.py 
new/azure_cli_core-2.62.0/azure/cli/core/__init__.py
--- old/azure_cli_core-2.61.0/azure/cli/core/__init__.py        2024-05-16 
05:48:31.000000000 +0200
+++ new/azure_cli_core-2.62.0/azure/cli/core/__init__.py        2024-07-04 
04:23:33.000000000 +0200
@@ -4,7 +4,7 @@
 # 
--------------------------------------------------------------------------------------------
 # pylint: disable=line-too-long
 
-__version__ = "2.61.0"
+__version__ = "2.62.0"
 
 import os
 import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.61.0/azure/cli/core/aaz/_arg.py 
new/azure_cli_core-2.62.0/azure/cli/core/aaz/_arg.py
--- old/azure_cli_core-2.61.0/azure/cli/core/aaz/_arg.py        2024-05-16 
05:48:31.000000000 +0200
+++ new/azure_cli_core-2.62.0/azure/cli/core/aaz/_arg.py        2024-07-04 
04:23:33.000000000 +0200
@@ -83,7 +83,7 @@
             try:
                 data_type = type(values[0])
                 value = data_type(data)
-                logger.warning("Use extended value `%s` outside choices 
{self.to_choices()}.", str(value))
+                logger.warning("Use extended value '%s' outside choices %s.", 
str(value), self.to_choices())
                 return value
             except (ValueError, IndexError):
                 pass
@@ -96,7 +96,7 @@
 
     def __init__(self, options=None, required=False, help=None, 
arg_group=None, is_preview=False, is_experimental=False,
                  id_part=None, default=AAZUndefined, blank=AAZUndefined, 
nullable=False, fmt=None, registered=True,
-                 configured_default=None):
+                 configured_default=None, completer=None):
         """
 
         :param options: argument optional names.
@@ -113,6 +113,7 @@
         :param fmt: argument format
         :param registered: control whether register argument into command 
display
         :param configured_default: the key to retrieve the default value from 
cli configuration
+        :param completer: tab completion if completion is active
         """
         super().__init__(options=options, nullable=nullable)
         self._help = {}  # the key in self._help can be 'name', 
'short-summary', 'long-summary', 'populator-commands'
@@ -134,6 +135,7 @@
         self._fmt = fmt
         self._registered = registered
         self._configured_default = configured_default
+        self._completer = completer
 
     def to_cmd_arg(self, name, **kwargs):
         """ convert AAZArg to CLICommandArgument """
@@ -202,6 +204,11 @@
         if self._configured_default:
             arg.configured_default = self._configured_default
 
+        if self._completer:
+            from azure.cli.core.decorators import Completer
+            assert isinstance(self._completer, Completer)
+            arg.completer = self._completer
+
         action = self._build_cmd_action()   # call sub class's implementation 
to build CLICommandArgument action
         if action:
             arg.action = action
@@ -485,20 +492,22 @@
             help="Name of resource group. "
                  "You can configure the default group using `az configure 
--defaults group=<name>`",
             configured_default='group',
+            completer=None,
             **kwargs):
+        from azure.cli.core.commands.parameters import 
get_resource_group_completion_list
+        completer = completer or get_resource_group_completion_list
         super().__init__(
             options=options,
             id_part=id_part,
             help=help,
             configured_default=configured_default,
+            completer=completer,
             **kwargs
         )
 
     def to_cmd_arg(self, name, **kwargs):
-        from azure.cli.core.commands.parameters import 
get_resource_group_completion_list
         from azure.cli.core.local_context import LocalContextAttribute, 
LocalContextAction, ALL
         arg = super().to_cmd_arg(name, **kwargs)
-        arg.completer = get_resource_group_completion_list
         arg.local_context_attribute = LocalContextAttribute(
             name='resource_group_name',
             actions=[LocalContextAction.SET, LocalContextAction.GET],
@@ -515,18 +524,22 @@
                  "You can configure the default location using `az configure 
--defaults location=<location>`.",
             fmt=None,
             configured_default='location',
+            completer=None,
             **kwargs):
+        from azure.cli.core.commands.parameters import 
get_location_completion_list
+
         fmt = fmt or AAZResourceLocationArgFormat()
+        completer = completer or get_location_completion_list
         super().__init__(
             options=options,
             help=help,
             fmt=fmt,
             configured_default=configured_default,
+            completer=completer,
             **kwargs
         )
 
     def to_cmd_arg(self, name, **kwargs):
-        from azure.cli.core.commands.parameters import 
get_location_completion_list
         from azure.cli.core.local_context import LocalContextAttribute, 
LocalContextAction, ALL
         arg = super().to_cmd_arg(name, **kwargs)
         if self._required and \
@@ -539,7 +552,6 @@
             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.local_context_attribute = LocalContextAttribute(
             name='location',
             actions=[LocalContextAction.SET, LocalContextAction.GET],
@@ -562,20 +574,18 @@
             self, help="Name or ID of subscription. You can configure the 
default subscription "
                        "using `az account set -s NAME_OR_ID`",
             fmt=None,
+            completer=None,
             **kwargs):
+        from azure.cli.core._completers import get_subscription_id_list
         fmt = fmt or AAZSubscriptionIdArgFormat()
+        completer = completer or get_subscription_id_list
         super().__init__(
             help=help,
             fmt=fmt,
+            completer=completer,
             **kwargs
         )
 
-    def to_cmd_arg(self, name, **kwargs):
-        from azure.cli.core._completers import get_subscription_id_list
-        arg = super().to_cmd_arg(name, **kwargs)
-        arg.completer = get_subscription_id_list
-        return arg
-
 
 class AAZFileArg(AAZStrArg):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.61.0/azure/cli/core/auth/identity.py 
new/azure_cli_core-2.62.0/azure/cli/core/auth/identity.py
--- old/azure_cli_core-2.61.0/azure/cli/core/auth/identity.py   2024-05-16 
05:48:31.000000000 +0200
+++ new/azure_cli_core-2.62.0/azure/cli/core/auth/identity.py   2024-07-04 
04:23:33.000000000 +0200
@@ -29,6 +29,9 @@
 AZURE_CLIENT_ID = "AZURE_CLIENT_ID"
 AZURE_CLIENT_SECRET = "AZURE_CLIENT_SECRET"
 
+WAM_PROMPT = (
+    "Select the account you want to log in with. "
+    "For more information on login with Azure CLI, see 
https://go.microsoft.com/fwlink/?linkid=2271136";)
 
 logger = get_logger(__name__)
 
@@ -150,7 +153,7 @@
                                "flow with `az login --use-device-code`.",
                                self._msal_app.authority.authorization_endpoint)
             elif ui == 'broker':
-                logger.warning("Please select the account you want to log in 
with.")
+                logger.warning(WAM_PROMPT)
 
         from .util import read_response_templates
         success_template, error_template = read_response_templates()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.61.0/azure/cli/core/profiles/_shared.py 
new/azure_cli_core-2.62.0/azure/cli/core/profiles/_shared.py
--- old/azure_cli_core-2.61.0/azure/cli/core/profiles/_shared.py        
2024-05-16 05:48:31.000000000 +0200
+++ new/azure_cli_core-2.62.0/azure/cli/core/profiles/_shared.py        
2024-07-04 04:23:33.000000000 +0200
@@ -101,7 +101,7 @@
     MGMT_CONTAINERINSTANCE = ('azure.mgmt.containerinstance', None)
     MGMT_COSMOSDB = ('azure.mgmt.cosmosdb', None)
     MGMT_DATALAKE_ANALYTICS = 
('azure.cli.command_modules.dla.vendored_sdks.azure_mgmt_datalake_analytics', 
None)
-    MGMT_DATALAKE_STORE = ('azure.mgmt.datalake.store', None)
+    MGMT_DATALAKE_STORE = 
('azure.cli.command_modules.dls.vendored_sdks.azure_mgmt_datalake_store', None)
     MGMT_DATAMIGRATION = ('azure.mgmt.datamigration', None)
     MGMT_EVENTGRID = ('azure.mgmt.eventgrid', None)
     MGMT_DEVTESTLABS = ('azure.mgmt.devtestlabs', None)
@@ -154,7 +154,7 @@
 
 AZURE_API_PROFILES = {
     'latest': {
-        ResourceType.MGMT_STORAGE: '2023-01-01',
+        ResourceType.MGMT_STORAGE: '2023-05-01',
         ResourceType.MGMT_NETWORK: '2022-01-01',
         ResourceType.MGMT_COMPUTE: SDKProfile('2024-03-01', {
             'resource_skus': '2019-04-01',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.61.0/azure_cli_core.egg-info/PKG-INFO 
new/azure_cli_core-2.62.0/azure_cli_core.egg-info/PKG-INFO
--- old/azure_cli_core-2.61.0/azure_cli_core.egg-info/PKG-INFO  2024-05-16 
05:49:07.000000000 +0200
+++ new/azure_cli_core-2.62.0/azure_cli_core.egg-info/PKG-INFO  2024-07-04 
04:24:02.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: azure-cli-core
-Version: 2.61.0
+Version: 2.62.0
 Summary: Microsoft Azure Command-Line Tools Core Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -27,7 +27,7 @@
 Requires-Dist: jmespath
 Requires-Dist: knack~=0.11.0
 Requires-Dist: msal-extensions==1.2.0b1
-Requires-Dist: msal[broker]==1.28.0
+Requires-Dist: msal[broker]==1.28.1
 Requires-Dist: msrestazure~=0.6.4
 Requires-Dist: packaging>=20.9
 Requires-Dist: paramiko<4.0.0,>=2.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.61.0/azure_cli_core.egg-info/requires.txt 
new/azure_cli_core-2.62.0/azure_cli_core.egg-info/requires.txt
--- old/azure_cli_core-2.61.0/azure_cli_core.egg-info/requires.txt      
2024-05-16 05:49:07.000000000 +0200
+++ new/azure_cli_core-2.62.0/azure_cli_core.egg-info/requires.txt      
2024-07-04 04:24:02.000000000 +0200
@@ -6,7 +6,7 @@
 jmespath
 knack~=0.11.0
 msal-extensions==1.2.0b1
-msal[broker]==1.28.0
+msal[broker]==1.28.1
 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.61.0/setup.py 
new/azure_cli_core-2.62.0/setup.py
--- old/azure_cli_core-2.61.0/setup.py  2024-05-16 05:48:31.000000000 +0200
+++ new/azure_cli_core-2.62.0/setup.py  2024-07-04 04:23:33.000000000 +0200
@@ -8,7 +8,7 @@
 from codecs import open
 from setuptools import setup, find_packages
 
-VERSION = "2.61.0"
+VERSION = "2.62.0"
 
 # If we have source, validate that our version numbers match
 # This should prevent uploading releases with mismatched versions.
@@ -53,7 +53,7 @@
     'jmespath',
     'knack~=0.11.0',
     'msal-extensions==1.2.0b1',
-    'msal[broker]==1.28.0',
+    'msal[broker]==1.28.1',
     'msrestazure~=0.6.4',
     'packaging>=20.9',
     'paramiko>=2.0.8,<4.0.0',

Reply via email to