-
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} Fix test RPM Azure Linux #30211
Conversation
️✔️AzureCLI-FullTest
|
Hi @bebound, |
️✔️AzureCLI-BreakingChangeTest
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
Is this a known issue? Is Azure Linux 3 going to fix it? |
@@ -15,7 +15,7 @@ time az self-test | |||
time az --version | |||
|
|||
cd /azure-cli/ | |||
python -m pip install --upgrade pip setuptools | |||
python -m pip install setuptools |
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.
I suggest we won't make the change for other Linux RPM packages.
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.
Reverted, other rpm packages are not affected.
Not sure why azurelinux3 make such weird change.
@@ -14,7 +14,7 @@ time az self-test | |||
time az --version | |||
|
|||
cd /azure-cli/ | |||
python -m pip install --upgrade pip setuptools | |||
python -m pip install setuptools |
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.
Why --upgrade
is removed? This will cause setuptools
not being updated.
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.
setuptools
is not installed, and it installs latest version by default.
Reported to microsoft/azurelinux#10867 |
pip can't be upgraded in Azure Linux 3, but it works fine on Mariner 2.0.
Since the pip version does not affect clitestsdk build, use the version installed by
python3-pip
package instead.Ref: https://dev.azure.com/azclitools/public/_build/results?buildId=201368&view=logs&jobId=e3d58f38-f120-52d4-9d7a-9847591da328&j=4a070aa6-03ff-5caf-6490-ded6aca0ca24&t=9afa7565-c847-5b45-dd7a-f91034321474