{Packaging} Remove Jinja2, MarkupSafe and pycparser from requirements.txt#29422
{Packaging} Remove Jinja2, MarkupSafe and pycparser from requirements.txt#29422
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Packaging |
|
I searched the whole repo and neither Maybe we can remove them? They were initially added by #9785. |
|
Yes. In this PR I wrote that jinja2 and markupsafe can be removed and I totally forget it. #27717
|
| logger = logging.getLogger(__name__) | ||
|
|
||
|
|
||
| @unittest.skip('alias extension is not working: https://github.com/Azure/azure-cli/issues/29422') |
There was a problem hiding this comment.
After removing markupsafe, the alias extension does not work anymore. Previously, the CLI's markupsafe was loaded; now it loads the outdated alias's markupsafe package.
Unable to load extension 'alias: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\kk\.azure\cliextensions\alias\markupsafe\__init__.py)'. Use --debug for more information.
az feedback drop is tracked in #29426
Jinja2andMarkupSafeare not used in CLI.pycparseris a dependency ofcffi.We don't need to include them in requirements.txt
Resolve #29421