Skip to content

Syntax warnings with brand new Azure CLI on macOS installed via brew - attempt 2 #30998

@joelparkerhenderson

Description

@joelparkerhenderson

Describe the bug

Microsoft staff got trigger-happy and closed a bug report without actually verifying it as fixed. This is subpar DX so please see what you all can do to be mutually respectful and mutually committed to success together; for example, allot a day or week to communicate with the person who's reporting the bug.

#30963 (comment)

In this case, the bug that I'm experiencing is still NOT fixed.

Here's the updated info from just now, that shows the problem is still happening.

Is there a different/better command that you all want me to run, in order to reinstall? And/or a way you want the python item at issue to be changed/replaced/upgraded/etc.?

What's the path forward to getting Azure CLI to change from using Python to using a more reliable language, such as C# or Rust?

% brew reinstall azure-cli
==> Downloading https://ghcr.io/v2/homebrew/core/azure-cli/manifests/2.70.0
Already downloaded: /Users/brew/Library/Caches/Homebrew/downloads/ea4b3d97ffc52123734007002b9b4a421cd80d7c3fb836206f1c9ce075674b9c--azure-cli-2.70.0.bottle_manifest.json
==> Fetching azure-cli
==> Downloading https://ghcr.io/v2/homebrew/core/azure-cli/blobs/sha256:636ee4eece82539bb156
Already downloaded: /Users/brew/Library/Caches/Homebrew/downloads/7e839fc52e2dd43abc44823d3daa9a198bc7a267c4ee584ed1f9c1bd7a6ac6bb--azure-cli--2.70.0.arm64_sequoia.bottle.tar.gz
==> Reinstalling azure-cli 
==> Pouring azure-cli--2.70.0.arm64_sequoia.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/azure-cli/2.70.0: 21,037 files, 497.0MB
==> Running `brew cleanup azure-cli`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

% az --version
azure-cli                         2.70.0

core                              2.70.0
telemetry                          1.1.0

Dependencies:
msal                            1.31.2b1
azure-mgmt-resource               23.1.1

Python location '/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/bin/python'
Config directory '/Users/jph/.azure'
Extensions directory '/Users/jph/.azure/cliextensions'

Python (Darwin) 3.12.9 (main, Feb  4 2025, 14:38:38) [Clang 16.0.0 (clang-1600.0.26.6)]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.
/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/lib/python3.12/site-packages/deviceid/deviceid.py:9: SyntaxWarning: invalid escape sequence '\S'
  """
/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/lib/python3.12/site-packages/deviceid/_store.py:6: SyntaxWarning: invalid escape sequence '\M'
  REGISTRY_PATH = 'SOFTWARE\Microsoft\DeveloperTools'
\342\236\234 az --version
azure-cli                         2.70.0

core                              2.70.0
telemetry                          1.1.0

Dependencies:
msal                            1.31.2b1
azure-mgmt-resource               23.1.1

Python location '/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/bin/python'
Config directory '/Users/jph/.azure'
Extensions directory '/Users/jph/.azure/cliextensions'

Python (Darwin) 3.12.9 (main, Feb  4 2025, 14:38:38) [Clang 16.0.0 (clang-1600.0.26.6)]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.
/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/lib/python3.12/site-packages/deviceid/deviceid.py:9: SyntaxWarning: invalid escape sequence '\S'
  """
/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/lib/python3.12/site-packages/deviceid/_store.py:6: SyntaxWarning: invalid escape sequence '\M'
  REGISTRY_PATH = 'SOFTWARE\Microsoft\DeveloperTools'


### Related command

See above

### Errors

See above

### Issue script & Debug output

See above

### Expected behavior

See above

### Environment Summary

See above

### Additional context

_No response_

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions