Skip to content

az alias extension broken due to MarkUpSafe version increase #22797

@MattoHopkins

Description

@MattoHopkins

This is autogenerated. Please review and update as needed.

Describe the bug

AZ alias extension no longer works due to the removal of soft_unicode from latest markupsafe version.
aws/aws-sam-cli#3661 <- similar issue, different app

Command Name
az alias list

Errors:

'alias' is misspelled or not recognized by the system.
Unable to load extension 'alias: cannot import name 'soft_unicode' from 'markupsafe' (/Users/matthewhopkins/.azure/cliextensions/alias/markupsafe/__init__.py)'. Use --debug for more information.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az alias list

Expected Behavior

Environment Summary

macOS-12.3.1-x86_64-i386-64bit, Darwin 21.4.0
Python 3.10.4
Installer: HOMEBREW

azure-cli 2.37.0

Extensions:
alias 0.5.2
account 0.2.3

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions