Azure / Azure/azure-cli

az alias extension broken due to MarkUpSafe version increase

Open
#22,797 11 comments 3 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-platform-engineering-squad Core customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **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.
https://github.com/aws/aws-sam-cli/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.