-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{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
|
@@ -29,6 +29,7 @@ | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
azure-cli/src/azure-cli/azure/cli/command_modules/feedback/tests/latest/test_feedback.py
Line 63 in 4c0f648
self._run_cmd("alias create -n foo123 -c bar123", expect_failure=True) |
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
Jinja2
andMarkupSafe
are not used in CLI.pycparser
is a dependency ofcffi
.We don't need to include them in requirements.txt
Resolve #29421