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-12-03 13:58:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-core.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-core"

Thu Dec  3 13:58:40 2026 rev:103 rq:1402533 version:2.94.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes    
2026-11-06 19:50:22.721092725 +0100
+++ 
/work/SRC/openSUSE:Factory/.azure-cli-core.new.1340718/azure-cli-core.changes   
    2026-12-03 14:01:39.159279978 +0100
@@ -1,0 +2,16 @@
+Wed Dec  2 20:22:31 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.94.0
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+
+-------------------------------------------------------------------
+Wed Nov 18 11:53:25 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.93.0
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+
+-------------------------------------------------------------------

Old:
----
  azure_cli_core-2.92.0.tar.gz

New:
----
  azure_cli_core-2.94.0.tar.gz

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

Other differences:
------------------
++++++ azure-cli-core.spec ++++++
--- /var/tmp/diff_new_pack.58BEzc/_old  2026-12-03 14:01:40.103319985 +0100
+++ /var/tmp/diff_new_pack.58BEzc/_new  2026-12-03 14:01:40.104320028 +0100
@@ -24,7 +24,7 @@
 %global _sitelibdir %{%{pythons}_sitelib}
 
 Name:           azure-cli-core
-Version:        2.92.0
+Version:        2.94.0
 Release:        0
 Summary:        Microsoft Azure CLI Core Module
 License:        MIT

++++++ azure_cli_core-2.92.0.tar.gz -> azure_cli_core-2.94.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.92.0/HISTORY.rst 
new/azure_cli_core-2.94.0/HISTORY.rst
--- old/azure_cli_core-2.92.0/HISTORY.rst       2026-10-27 12:33:29.239765000 
+0100
+++ new/azure_cli_core-2.94.0/HISTORY.rst       2026-11-25 00:43:40.978329200 
+0100
@@ -3,6 +3,17 @@
 Release History
 ===============
 
+2.94.0
+++++++
+* Fix empty `REQUESTS_CA_BUNDLE` values causing invalid-file-path errors 
(#34459)
+
+2.93.0
+++++++
+* Upgrade bundled Python to 3.14.10 for Windows and Debian packages (#34326)
+* Bump `pymsalruntime` to 0.20.7 on Windows and macOS (#34359)
+* Improve executable lookup consistency on Windows (#34329)
+* Fix removal of a single specified user-assigned identity incorrectly 
removing all user-assigned identities (#34383)
+
 2.92.0
 ++++++
 * Add `get_safe_executable_path` to prevent binary planting when spawning 
subprocess (#34212)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.92.0/PKG-INFO 
new/azure_cli_core-2.94.0/PKG-INFO
--- old/azure_cli_core-2.92.0/PKG-INFO  2026-10-27 12:34:25.072322800 +0100
+++ new/azure_cli_core-2.94.0/PKG-INFO  2026-11-25 00:44:36.511181000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: azure-cli-core
-Version: 2.92.0
+Version: 2.94.0
 Summary: Microsoft Azure Command-Line Tools Core Module
 Author-email: Microsoft Corporation <[email protected]>
 License-Expression: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.92.0/azure/cli/core/__init__.py 
new/azure_cli_core-2.94.0/azure/cli/core/__init__.py
--- old/azure_cli_core-2.92.0/azure/cli/core/__init__.py        2026-10-27 
12:33:29.240764900 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/__init__.py        2026-11-25 
00:43:40.979329000 +0100
@@ -4,7 +4,7 @@
 # 
--------------------------------------------------------------------------------------------
 # pylint: disable=line-too-long
 
-__version__ = "2.92.0"
+__version__ = "2.94.0"
 
 import os
 import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.92.0/azure/cli/core/_debug.py 
new/azure_cli_core-2.94.0/azure/cli/core/_debug.py
--- old/azure_cli_core-2.92.0/azure/cli/core/_debug.py  2026-10-27 
12:33:29.240764900 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/_debug.py  2026-11-25 
00:43:40.979329000 +0100
@@ -22,7 +22,7 @@
                        DISABLE_VERIFY_VARIABLE_NAME)
         os.environ[ADAL_PYTHON_SSL_NO_VERIFY] = '1'
         client.config.connection.verify = False
-    elif REQUESTS_CA_BUNDLE in os.environ:
+    elif os.environ.get(REQUESTS_CA_BUNDLE):
         ca_bundle_file = os.environ[REQUESTS_CA_BUNDLE]
         if not os.path.isfile(ca_bundle_file):
             raise CLIError('REQUESTS_CA_BUNDLE environment variable is 
specified with an invalid file path')
@@ -38,7 +38,7 @@
                        DISABLE_VERIFY_VARIABLE_NAME)
         os.environ[ADAL_PYTHON_SSL_NO_VERIFY] = '1'
         client_kwargs['connection_verify'] = False
-    elif REQUESTS_CA_BUNDLE in os.environ:
+    elif os.environ.get(REQUESTS_CA_BUNDLE):
         ca_bundle_file = os.environ[REQUESTS_CA_BUNDLE]
         if not os.path.isfile(ca_bundle_file):
             raise CLIError('REQUESTS_CA_BUNDLE environment variable is 
specified with an invalid file path')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.92.0/azure/cli/core/aaz/_field_value.py 
new/azure_cli_core-2.94.0/azure/cli/core/aaz/_field_value.py
--- old/azure_cli_core-2.92.0/azure/cli/core/aaz/_field_value.py        
2026-10-27 12:33:29.242765000 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/aaz/_field_value.py        
2026-11-25 00:43:40.981329200 +0100
@@ -457,7 +457,7 @@
 
         if action == "remove":
             if user_assigned is not None:
-                if len(user_assigned) > 1:  # remove each
+                if user_assigned:  # remove each
                     identities -= set(user_assigned)
 
                 else:  # remove all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.92.0/azure/cli/core/auth/msal_credentials.py 
new/azure_cli_core-2.94.0/azure/cli/core/auth/msal_credentials.py
--- old/azure_cli_core-2.92.0/azure/cli/core/auth/msal_credentials.py   
2026-10-27 12:33:29.244765000 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/auth/msal_credentials.py   
2026-11-25 00:43:40.983329000 +0100
@@ -50,6 +50,12 @@
         logger.debug("UserCredential.acquire_token: scopes=%r, 
claims_challenge=%r, kwargs=%r",
                      scopes, claims_challenge, kwargs)
 
+        # Identify VM SSH by its explicit token_type rather than by the 
presence of 'data', because
+        # the agentic session logic below injects 'data' (client_session). 
Checking presence would
+        # misclassify every silent failure in an agentic session as VM SSH and 
launch interactive
+        # login. Evaluate on the caller's 'data' before that injection.
+        is_vm_ssh = (kwargs.get('data') or {}).get('token_type') == 'ssh-cert'
+
         # Apply agentic session parameters for user identity flows
         from .agentic_session import build_agentic_session_params, 
merge_access_token_claims
         agentic_session_id, agentic_claims = build_agentic_session_params()
@@ -82,12 +88,12 @@
             check_result(result, tenant=self._msal_app.authority.tenant, 
scopes=scopes,
                          claims_challenge=claims_challenge)
         except AuthenticationError as ex:
-            # For VM SSH ('data' is passed), if getting access token fails 
because
+            # For VM SSH (token_type is 'ssh-cert'), if getting access token 
fails because
             # Conditional Access MFA step-up or compliance check is required, 
re-launch
             # web browser and do auth code flow again.
             # We assume the `az ssh` command is run on a system with GUI where 
a web
             # browser is available.
-            if 'data' in kwargs:
+            if is_vm_ssh:
                 logger.warning(ex)
                 result = self._acquire_token_interactive(scopes, **kwargs)
             # For other scenarios like Storage Conditional Access MFA step-up, 
do not
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.92.0/azure/cli/core/breaking_change.py 
new/azure_cli_core-2.94.0/azure/cli/core/breaking_change.py
--- old/azure_cli_core-2.92.0/azure/cli/core/breaking_change.py 2026-10-27 
12:33:29.245765000 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/breaking_change.py 2026-11-25 
00:43:40.984329200 +0100
@@ -15,8 +15,8 @@
 
 logger = get_logger()
 
-NEXT_BREAKING_CHANGE_RELEASE = '2.93.0'
-NEXT_BREAKING_CHANGE_DATE = 'Nov 2026'
+NEXT_BREAKING_CHANGE_RELEASE = '2.100.0'
+NEXT_BREAKING_CHANGE_DATE = 'Jun 2027'
 DEFAULT_BREAKING_CHANGE_TAG = '[Breaking Change]'
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.92.0/azure/cli/core/commandIndex.latest.json 
new/azure_cli_core-2.94.0/azure/cli/core/commandIndex.latest.json
--- old/azure_cli_core-2.92.0/azure/cli/core/commandIndex.latest.json   
2026-10-27 12:33:29.245765000 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/commandIndex.latest.json   
2026-11-25 00:43:40.984329200 +0100
@@ -1,5 +1,5 @@
 {
-  "version": "2.92.0",
+  "version": "2.94.0",
   "cloudProfile": "latest",
   "commandIndex": {
     "account": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.92.0/azure/cli/core/helpIndex.latest.json 
new/azure_cli_core-2.94.0/azure/cli/core/helpIndex.latest.json
--- old/azure_cli_core-2.92.0/azure/cli/core/helpIndex.latest.json      
2026-10-27 12:33:29.249765000 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/helpIndex.latest.json      
2026-11-25 00:43:40.989329300 +0100
@@ -1,5 +1,5 @@
 {
-  "version": "2.92.0",
+  "version": "2.94.0",
   "cloudProfile": "latest",
   "helpIndex": {
     "groups": {
@@ -40,7 +40,7 @@
         "tags": ""
       },
       "aro": {
-        "summary": "Manage Azure Red Hat OpenShift clusters.",
+        "summary": "Manage Azure Red Hat OpenShift resource types.",
         "tags": ""
       },
       "backup": {
@@ -76,7 +76,7 @@
         "tags": ""
       },
       "cognitiveservices": {
-        "summary": "Manage Azure Cognitive Services accounts.",
+        "summary": "Manage Cognitive Services.",
         "tags": ""
       },
       "compute-fleet": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.92.0/azure/cli/core/util.py 
new/azure_cli_core-2.94.0/azure/cli/core/util.py
--- old/azure_cli_core-2.92.0/azure/cli/core/util.py    2026-10-27 
12:33:29.262764700 +0100
+++ new/azure_cli_core-2.94.0/azure/cli/core/util.py    2026-11-25 
00:43:41.001329400 +0100
@@ -48,7 +48,7 @@
 
 # AME Storage Account URL for version checking and VM image aliases (Network 
Isolation)
 # Files are stored as:
-#   - https://azcliprod.blob.core.windows.net/cli/{package}/setup.py (CLI 
versions)
+#   - https://azcliprod.blob.core.windows.net/cli/{package}/pyproject.toml 
(CLI versions)
 #   - https://azcliprod.blob.core.windows.net/cli/vm/aliases.json (VM image 
aliases)
 AME_STORAGE_BASE_URL = "https://azcliprod.blob.core.windows.net/cli";
 
@@ -295,29 +295,26 @@
     """Get the latest version from AME Storage Account.
 
     This replaces get_latest_from_github() due to network isolation 
requirements.
-    The setup.py files are uploaded to AME Storage Account during release 
pipeline.
+    The pyproject.toml files are uploaded to AME Storage Account during 
release pipeline,
+    with the legacy setup.py files as a fallback.
 
     Args:
         package_path: Package name, e.g., 'azure-cli', 'azure-cli-core', 
'azure-cli-telemetry', 'azure-cli-testsdk'
     """
-    try:
-        import requests
-        storage_url = "{}/{}/setup.py".format(AME_STORAGE_BASE_URL, 
package_path)
-
-        response = requests.get(storage_url, timeout=10)
-        if response.status_code != 200:
-            logger.info("Failed to fetch the latest version from '%s' with 
status code '%s' and reason '%s'",
-                        storage_url, response.status_code, response.reason)
-            return None
-        for line in response.iter_lines():
-            txt = line.decode('utf-8', errors='ignore')
-            if txt.startswith('VERSION'):
-                match = re.search(r'VERSION = \"(.*)\"$', txt)
-                if match:
-                    return match.group(1)
-    except Exception as ex:  # pylint: disable=broad-except
-        logger.info("Failed to get the latest version from '%s'. %s", 
storage_url, str(ex))
-        return None
+    import requests
+    for file_name, key in (('pyproject.toml', 'version'), ('setup.py', 
'VERSION')):
+        storage_url = "{}/{}/{}".format(AME_STORAGE_BASE_URL, package_path, 
file_name)
+        try:
+            response = requests.get(storage_url, timeout=10)
+            if response.status_code != 200:
+                logger.info("Failed to fetch '%s' with status code '%s'", 
storage_url, response.status_code)
+                continue
+            match = re.search(r'^{}\s*=\s*"(.+)"'.format(key), response.text, 
re.MULTILINE)
+            if match:
+                return match.group(1)
+        except Exception as ex:  # pylint: disable=broad-except
+            logger.info("Failed to get the latest version from '%s'. %s", 
storage_url, str(ex))
+    return None
 
 
 def get_latest_from_github(package_path='azure-cli'):
@@ -1648,21 +1645,30 @@
 
     search_dirs = os.environ.get('PATH', os.defpath).split(os.pathsep)
     names = [executable]
-    if sys.platform.startswith('win'):
+    is_windows_platform = sys.platform.startswith('win')
+    if is_windows_platform:
         system_root = os.environ.get('SystemRoot', r'C:\Windows')
         search_dirs = [os.path.join(system_root, 'System32'), system_root] + 
search_dirs
         exts = [ext for ext in os.environ.get('PATHEXT', 
'.COM;.EXE;.BAT;.CMD').split(os.pathsep) if ext]
-        if os.path.splitext(executable)[1].upper() not in (ext.upper() for ext 
in exts):
+        if not os.path.splitext(executable)[1]:
             names = [executable + ext for ext in exts]
 
     for directory in (d.strip('"') for d in search_dirs):
         # Relative entries ('', '.') resolve against the CWD as well.
-        if not os.path.isabs(directory) or not os.path.isdir(directory) or 
os.path.samefile(directory, cwd):
+        if not os.path.isabs(directory) or (is_windows_platform and not 
os.path.splitdrive(directory)[0]):
             continue
-        for name in names:
-            path = os.path.join(directory, name)
-            if os.path.isfile(path) and os.access(path, os.X_OK):
+        try:
+            if not os.path.isdir(directory) or os.path.samefile(directory, 
cwd):
+                continue
+            for name in names:
+                path = os.path.join(directory, name)
+                if not os.path.isfile(path) or not os.access(path, os.X_OK):
+                    continue
+                if os.path.samefile(os.path.dirname(os.path.realpath(path)), 
cwd):
+                    continue
                 return path
+        except (OSError, ValueError) as ex:
+            logger.debug("Skipping executable lookup in '%s': unable to verify 
path safety: %s", directory, ex)
     return None
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure_cli_core-2.92.0/azure_cli_core.egg-info/PKG-INFO 
new/azure_cli_core-2.94.0/azure_cli_core.egg-info/PKG-INFO
--- old/azure_cli_core-2.92.0/azure_cli_core.egg-info/PKG-INFO  2026-10-27 
12:34:25.028323200 +0100
+++ new/azure_cli_core-2.94.0/azure_cli_core.egg-info/PKG-INFO  2026-11-25 
00:44:36.464180200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: azure-cli-core
-Version: 2.92.0
+Version: 2.94.0
 Summary: Microsoft Azure Command-Line Tools Core Module
 Author-email: Microsoft Corporation <[email protected]>
 License-Expression: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure_cli_core-2.92.0/pyproject.toml 
new/azure_cli_core-2.94.0/pyproject.toml
--- old/azure_cli_core-2.92.0/pyproject.toml    2026-10-27 12:33:29.262764700 
+0100
+++ new/azure_cli_core-2.94.0/pyproject.toml    2026-11-25 00:43:41.002329300 
+0100
@@ -4,7 +4,7 @@
 
 [project]
 name = "azure-cli-core"
-version = "2.92.0"
+version = "2.94.0"
 description = "Microsoft Azure Command-Line Tools Core Module"
 readme = { file = "README.rst", content-type = "text/x-rst" }
 requires-python = ">=3.10.0"

Reply via email to