-
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
{CI} Disable alias
extension test
#27717
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🔄AzureCLI-FullTest
|
azure-client-tools-bot-prd
bot
added this to the October 2023 (2023-11-14)❗ Breaking change release ❗ milestone
Oct 30, 2023
️✔️AzureCLI-BreakingChangeTest
|
microsoft-github-policy-service
bot
requested review from
jiasli,
wangzelin007 and
yonzhan
October 30, 2023 06:00
Packaging |
bebound
changed the title
{Packaging} Add jinja2 in setup.py
{Packaging} Add Jinja2 in setup.py
Oct 30, 2023
bebound
changed the title
{Packaging} Add Jinja2 in setup.py
{CI} Disable Oct 31, 2023
alias
extension test
evelyn-ys
approved these changes
Oct 31, 2023
wangzelin007
approved these changes
Oct 31, 2023
Very detailed explanation. Nice work! |
jiasli
approved these changes
Oct 31, 2023
kairu-ms
reviewed
Nov 10, 2023
# Disable k8s-extension temporarily: https://github.com/Azure/azure-cli-extensions/pull/6702 | ||
ignore_list='azure-cli-ml fzf arcappliance arcdata connectedk8s k8s-extension' | ||
# Disable alias temporarily: https://github.com/Azure/azure-cli/pull/27717 | ||
ignore_list='azure-cli-ml fzf arcappliance arcdata connectedk8s k8s-extension alias' |
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.
two more extensions akshybrid
and azure-iot-ops
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR temporarily fixes the
Test Extensions Loading Python311
error, similar PR: #20436Cause
/tools
, which does not install dependency inrequirements.txt
.jinja2
is not insetup.py
, sojinja2
is not installed.alias
extension installsjinja2~=2.10
, which is deprecated and it does compatible with latestmarkupsafe
, which raisesImportError: cannot import name 'soft_unicode' from 'markupsafe'
aosm
extension requiresjinja2>=3.1.2
, it tries toimport jinja2
when building command tree.sys.path
one by one, soaosm
importsjinja2
fromalias
extension path and fails.As
alias
extension should not install a outdatedjinja2
, disable it in test soaosm
can import itsjinja2
.Future work
Jinja2
andMarkupSafe
were introduced inrequirements.txt
in #9785 and updated in #22602, but CLI does not use it.(Some scripts rely on them). We should remove it from requirements.txt to reduce package size.This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.