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 2026-10-11 15:20:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-core.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-core"

Sun Oct 11 15:20:48 2026 rev:101 rq:1384027 version:2.91.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes    
2026-09-07 11:31:35.045738142 +0200
+++ 
/work/SRC/openSUSE:Factory/.azure-cli-core.new.3698736/azure-cli-core.changes   
    2026-10-11 15:25:59.820583506 +0200
@@ -1,0 +2,9 @@
+Wed Oct  7 07:24:20 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.91.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.90.0.tar.gz

New:
----
  azure_cli_core-2.91.0.tar.gz

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

Other differences:
------------------
++++++ azure-cli-core.spec ++++++
--- /var/tmp/diff_new_pack.kZ0H5t/_old  2026-10-11 15:26:00.814625674 +0200
+++ /var/tmp/diff_new_pack.kZ0H5t/_new  2026-10-11 15:26:00.815625717 +0200
@@ -24,7 +24,7 @@
 %global _sitelibdir %{%{pythons}_sitelib}
 
 Name:           azure-cli-core
-Version:        2.90.0
+Version:        2.91.0
 Release:        0
 Summary:        Microsoft Azure CLI Core Module
 License:        MIT
@@ -54,7 +54,7 @@
 Requires:       %{pythons}-knack >= 0.14.0
 Requires:       %{pythons}-microsoft-security-utilities-secret-masker >= 
1.0.0~b4
 Requires:       %{pythons}-msal < 2.0.0
-Requires:       %{pythons}-msal >= 1.36.0
+Requires:       %{pythons}-msal >= 1.39.0
 Requires:       %{pythons}-msal-extensions < 2.0.0
 Requires:       %{pythons}-msal-extensions >= 1.3.1
 Requires:       %{pythons}-packaging >= 20.9

++++++ azure_cli_core-2.90.0.tar.gz -> azure_cli_core-2.91.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/HISTORY.rst 
new/azure_cli_core-2.91.0/HISTORY.rst
--- old/azure_cli_core-2.90.0/HISTORY.rst       2026-08-26 03:18:26.000000000 
+0200
+++ new/azure_cli_core-2.91.0/HISTORY.rst       2026-09-29 08:56:43.000000000 
+0200
@@ -3,6 +3,11 @@
 Release History
 ===============
 
+2.91.0
+++++++
+* Remove AzureGermanCloud from hard-coded cloud list (#34042)
+* PREVIEW: Enable broker-based authentication on macOS (opt-in via `az config 
set core.enable_broker_on_mac=true`) (#33376)
+
 2.90.0
 ++++++
 * Minor fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/PKG-INFO 
new/azure_cli_core-2.91.0/PKG-INFO
--- old/azure_cli_core-2.90.0/PKG-INFO  2026-08-26 03:19:17.575173000 +0200
+++ new/azure_cli_core-2.91.0/PKG-INFO  2026-09-29 08:57:38.244485900 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: azure-cli-core
-Version: 2.90.0
+Version: 2.91.0
 Summary: Microsoft Azure Command-Line Tools Core Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -30,8 +30,8 @@
 Requires-Dist: knack~=0.14.0
 Requires-Dist: microsoft-security-utilities-secret-masker~=1.0.0b4
 Requires-Dist: msal-extensions==1.3.1
-Requires-Dist: msal[broker]==1.36.0; sys_platform == "win32"
-Requires-Dist: msal==1.36.0; sys_platform != "win32"
+Requires-Dist: msal[broker]==1.39.0; sys_platform == "win32" or sys_platform 
== "darwin"
+Requires-Dist: msal==1.39.0; sys_platform != "win32" and sys_platform != 
"darwin"
 Requires-Dist: packaging>=20.9
 Requires-Dist: pkginfo>=1.12.0
 Requires-Dist: psutil>=5.9; sys_platform != "cygwin"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/azure/cli/core/__init__.py 
new/azure_cli_core-2.91.0/azure/cli/core/__init__.py
--- old/azure_cli_core-2.90.0/azure/cli/core/__init__.py        2026-08-26 
03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/__init__.py        2026-09-29 
08:56:43.000000000 +0200
@@ -4,7 +4,7 @@
 # 
--------------------------------------------------------------------------------------------
 # pylint: disable=line-too-long
 
-__version__ = "2.90.0"
+__version__ = "2.91.0"
 
 import os
 import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/azure/cli/core/_profile.py 
new/azure_cli_core-2.91.0/azure/cli/core/_profile.py
--- old/azure_cli_core-2.90.0/azure/cli/core/_profile.py        2026-08-26 
03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/_profile.py        2026-09-29 
08:56:43.000000000 +0200
@@ -975,8 +975,10 @@
 
     # On Windows, use core.enable_broker_on_windows=false to disable broker 
(WAM) for authentication.
     enable_broker_on_windows = cli_ctx.config.getboolean('core', 
'enable_broker_on_windows', fallback=True)
+    # On macOS, broker authentication is opt-in. Use 
core.enable_broker_on_mac=true to enable it.
+    enable_broker_on_mac = cli_ctx.config.getboolean('core', 
'enable_broker_on_mac', fallback=False)
     from .telemetry import set_broker_info
-    set_broker_info(enable_broker_on_windows)
+    set_broker_info(enable_broker_on_windows, enable_broker_on_mac)
 
     # PREVIEW: In Azure Stack environment, use core.instance_discovery=false 
to disable MSAL's instance discovery.
     instance_discovery = cli_ctx.config.getboolean('core', 
'instance_discovery', True)
@@ -985,4 +987,5 @@
                     encrypt=encrypt,
                     use_msal_http_cache=use_msal_http_cache,
                     enable_broker_on_windows=enable_broker_on_windows,
+                    enable_broker_on_mac=enable_broker_on_mac,
                     instance_discovery=instance_discovery)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/azure/cli/core/aaz/_arg_fmt.py 
new/azure_cli_core-2.91.0/azure/cli/core/aaz/_arg_fmt.py
--- old/azure_cli_core-2.90.0/azure/cli/core/aaz/_arg_fmt.py    2026-08-26 
03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/aaz/_arg_fmt.py    2026-09-29 
08:56:43.000000000 +0200
@@ -52,9 +52,6 @@
         if self._max_length is not None and len(data) > self._max_length:
             raise AAZInvalidArgValueError(
                 f"Invalid format: '{data}' length is greater than 
{self._max_length}")
-        if self._pattern is not None and not 
self._compiled_pattern.fullmatch(data):
-            raise AAZInvalidArgValueError(
-                f"Invalid format: '{data}' does not fully match regular 
expression pattern '{self._pattern}'")
 
         return value
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.90.0/azure/cli/core/auth/identity.py 
new/azure_cli_core-2.91.0/azure/cli/core/auth/identity.py
--- old/azure_cli_core-2.90.0/azure/cli/core/auth/identity.py   2026-08-26 
03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/auth/identity.py   2026-09-29 
08:56:43.000000000 +0200
@@ -58,7 +58,7 @@
     _service_principal_store_instance = None
 
     def __init__(self, authority, tenant_id=None, client_id=None, 
encrypt=False, use_msal_http_cache=True,
-                 enable_broker_on_windows=None, instance_discovery=None):
+                 enable_broker_on_windows=None, enable_broker_on_mac=None, 
instance_discovery=None):
         """
         :param authority: Authentication authority endpoint. For example,
             - AAD: https://login.microsoftonline.com
@@ -74,6 +74,7 @@
         self._encrypt = encrypt
         self._use_msal_http_cache = use_msal_http_cache
         self._enable_broker_on_windows = enable_broker_on_windows
+        self._enable_broker_on_mac = enable_broker_on_mac
         self._instance_discovery = instance_discovery
 
         # Build the authority in MSAL style
@@ -111,9 +112,10 @@
     @property
     def _msal_public_app_kwargs(self):
         """kwargs for creating PublicClientApplication."""
-        # enable_broker_on_windows can only be used on PublicClientApplication.
+        # enable_broker_on_windows and enable_broker_on_mac can only be used 
on PublicClientApplication.
         return {**self._msal_app_kwargs,
                 "enable_broker_on_windows": self._enable_broker_on_windows,
+                "enable_broker_on_mac": self._enable_broker_on_mac,
                 "enable_pii_log": True}
 
     @property
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/azure/cli/core/cloud.py 
new/azure_cli_core-2.91.0/azure/cli/core/cloud.py
--- old/azure_cli_core-2.90.0/azure/cli/core/cloud.py   2026-08-26 
03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/cloud.py   2026-09-29 
08:56:43.000000000 +0200
@@ -519,7 +519,7 @@
         mariadb_server_endpoint='.mariadb.database.sovcloud-api.fr',
         synapse_analytics_endpoint='.dev.azuresynapse.sovcloud-api.fr'))
 
-HARD_CODED_CLOUD_LIST = [AZURE_PUBLIC_CLOUD, AZURE_CHINA_CLOUD, 
AZURE_US_GOV_CLOUD, AZURE_GERMAN_CLOUD, AZURE_BLEU_CLOUD]
+HARD_CODED_CLOUD_LIST = [AZURE_PUBLIC_CLOUD, AZURE_CHINA_CLOUD, 
AZURE_US_GOV_CLOUD, AZURE_BLEU_CLOUD]
 
 
 def retrieve_arm_cloud_metadata():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.90.0/azure/cli/core/commandIndex.latest.json 
new/azure_cli_core-2.91.0/azure/cli/core/commandIndex.latest.json
--- old/azure_cli_core-2.90.0/azure/cli/core/commandIndex.latest.json   
2026-08-26 03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/commandIndex.latest.json   
2026-09-29 08:56:43.000000000 +0200
@@ -1,5 +1,5 @@
 {
-  "version": "2.90.0",
+  "version": "2.91.0",
   "cloudProfile": "latest",
   "commandIndex": {
     "account": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.90.0/azure/cli/core/extension/dynamic_install.py 
new/azure_cli_core-2.91.0/azure/cli/core/extension/dynamic_install.py
--- old/azure_cli_core-2.90.0/azure/cli/core/extension/dynamic_install.py       
2026-08-26 03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/extension/dynamic_install.py       
2026-09-29 08:56:43.000000000 +0200
@@ -241,13 +241,17 @@
         from azure.cli.core.extension.operations import add_extension
         add_extension(cli_ctx=cli_ctx, extension_name=ext_name, upgrade=True, 
allow_preview=extension_allow_preview)
         if run_after_extension_installed:
-            import subprocess
-            import platform
-            exit_code = subprocess.call(args, shell=platform.system() == 
'Windows')
+            # Rerun the command with the CLI's own entry point instead of 
handing the raw argv back to a
+            # shell. The previous implementation used `subprocess.call(args, 
shell=True)` on Windows, which
+            # let cmd.exe reinterpret user-controlled arguments (e.g. `&`, 
`|`, `^`) and allowed command
+            # injection. `run_az_cmd` executes the command in-process with the 
args kept as a list, so no
+            # shell is involved.
+            from azure.cli.core.util import run_az_cmd
+            result = run_az_cmd(args[1:])
+            exit_code = getattr(result, 'exit_code', 0)
             # In this case, error msg is for telemetry recording purpose only.
-            # From UX perspective, the command will rerun in subprocess. 
Whether it succeeds or fails,
-            # mesages will be shown from the subprocess and this process 
should not print more message to
-            # interrupt that.
+            # From UX perspective, the command is rerun and its messages are 
already shown,
+            # so this process should not print more message to interrupt that.
             print_error = False
             error_msg = ("Extension {} dynamically installed{} and commands 
will be "
                          "rerun automatically.").format(ext_name, prompt_info)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.90.0/azure/cli/core/helpIndex.latest.json 
new/azure_cli_core-2.91.0/azure/cli/core/helpIndex.latest.json
--- old/azure_cli_core-2.90.0/azure/cli/core/helpIndex.latest.json      
2026-08-26 03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/helpIndex.latest.json      
2026-09-29 08:56:43.000000000 +0200
@@ -1,5 +1,5 @@
 {
-  "version": "2.90.0",
+  "version": "2.91.0",
   "cloudProfile": "latest",
   "helpIndex": {
     "groups": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/azure/cli/core/telemetry.py 
new/azure_cli_core-2.91.0/azure/cli/core/telemetry.py
--- old/azure_cli_core-2.90.0/azure/cli/core/telemetry.py       2026-08-26 
03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure/cli/core/telemetry.py       2026-09-29 
08:56:43.000000000 +0200
@@ -77,6 +77,7 @@
         self.user_agent = None
         # authentication-related
         self.enable_broker_on_windows = None
+        self.enable_broker_on_mac = None
         self.msal_telemetry = None
         self.login_experience_v2 = None
         self.agentic_session = False
@@ -238,6 +239,7 @@
         set_custom_properties(result, 'SecretNames', 
','.join(self.secret_names or []))
         # authentication-related
         set_custom_properties(result, 'EnableBrokerOnWindows', 
str(self.enable_broker_on_windows))
+        set_custom_properties(result, 'EnableBrokerOnMac', 
str(self.enable_broker_on_mac))
         set_custom_properties(result, 'MsalTelemetry', self.msal_telemetry)
         set_custom_properties(result, 'LoginExperienceV2', 
str(self.login_experience_v2))
         set_custom_properties(result, 'AgenticSession', 
str(self.agentic_session))
@@ -485,9 +487,10 @@
 
 # region authentication-related
 @decorators.suppress_all_exceptions()
-def set_broker_info(enable_broker_on_windows):
-    # Log the value of `enable_broker_on_windows`
+def set_broker_info(enable_broker_on_windows, enable_broker_on_mac=None):
+    # Log the value of `enable_broker_on_windows` and `enable_broker_on_mac`
     _session.enable_broker_on_windows = enable_broker_on_windows
+    _session.enable_broker_on_mac = enable_broker_on_mac
 
 
 @decorators.suppress_all_exceptions()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.90.0/azure_cli_core.egg-info/PKG-INFO 
new/azure_cli_core-2.91.0/azure_cli_core.egg-info/PKG-INFO
--- old/azure_cli_core-2.90.0/azure_cli_core.egg-info/PKG-INFO  2026-08-26 
03:19:17.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure_cli_core.egg-info/PKG-INFO  2026-09-29 
08:57:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: azure-cli-core
-Version: 2.90.0
+Version: 2.91.0
 Summary: Microsoft Azure Command-Line Tools Core Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -30,8 +30,8 @@
 Requires-Dist: knack~=0.14.0
 Requires-Dist: microsoft-security-utilities-secret-masker~=1.0.0b4
 Requires-Dist: msal-extensions==1.3.1
-Requires-Dist: msal[broker]==1.36.0; sys_platform == "win32"
-Requires-Dist: msal==1.36.0; sys_platform != "win32"
+Requires-Dist: msal[broker]==1.39.0; sys_platform == "win32" or sys_platform 
== "darwin"
+Requires-Dist: msal==1.39.0; sys_platform != "win32" and sys_platform != 
"darwin"
 Requires-Dist: packaging>=20.9
 Requires-Dist: pkginfo>=1.12.0
 Requires-Dist: psutil>=5.9; sys_platform != "cygwin"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.90.0/azure_cli_core.egg-info/requires.txt 
new/azure_cli_core-2.91.0/azure_cli_core.egg-info/requires.txt
--- old/azure_cli_core-2.90.0/azure_cli_core.egg-info/requires.txt      
2026-08-26 03:19:17.000000000 +0200
+++ new/azure_cli_core-2.91.0/azure_cli_core.egg-info/requires.txt      
2026-09-29 08:57:38.000000000 +0200
@@ -18,11 +18,11 @@
 [:sys_platform != "cygwin"]
 psutil>=5.9
 
-[:sys_platform != "win32"]
-msal==1.36.0
+[:sys_platform != "win32" and sys_platform != "darwin"]
+msal==1.39.0
 
 [:sys_platform == "linux"]
 distro
 
-[:sys_platform == "win32"]
-msal[broker]==1.36.0
+[:sys_platform == "win32" or sys_platform == "darwin"]
+msal[broker]==1.39.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.90.0/setup.py 
new/azure_cli_core-2.91.0/setup.py
--- old/azure_cli_core-2.90.0/setup.py  2026-08-26 03:18:26.000000000 +0200
+++ new/azure_cli_core-2.91.0/setup.py  2026-09-29 08:56:43.000000000 +0200
@@ -8,7 +8,7 @@
 from codecs import open
 from setuptools import setup, find_packages
 
-VERSION = "2.90.0"
+VERSION = "2.91.0"
 
 # If we have source, validate that our version numbers match
 # This should prevent uploading releases with mismatched versions.
@@ -56,8 +56,8 @@
     'knack~=0.14.0',
     'microsoft-security-utilities-secret-masker~=1.0.0b4',
     'msal-extensions==1.3.1',
-    'msal[broker]==1.36.0; sys_platform == "win32"',
-    'msal==1.36.0; sys_platform != "win32"',
+    'msal[broker]==1.39.0; sys_platform == "win32" or sys_platform == 
"darwin"',
+    'msal==1.39.0; sys_platform != "win32" and sys_platform != "darwin"',
     'packaging>=20.9',
     # pkginfo>=1.12.0 reads the spec-defined wheel METADATA / unpacked 
.dist-info
     # layout produced by modern wheel/setuptools (no metadata.json). Required 
so

Reply via email to