-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Homebrew} Hotfix: Build with template to revert to python 3.8 #15482
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
Conversation
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.
Actually I still doubt that whether homebrew will update the python version even we pin python version in the formula.
|
|
||
| livecheck do | ||
| url "https://github.com/Azure/azure-cli/releases/latest" | ||
| regex(%r{href=.*?/tag/azure-cli[._-]v?(\d+(?:\.\d+)+)["' >]}i) |
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.
Can we add some comments about what this regex does?
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.
It's added by Homebrew team, seems to parsing the version number from https://github.com/Azure/azure-cli/releases/latest and then do livecheck.
Valid concern, based on their migration plan: Homebrew/homebrew-core#62201, they only test whether the formula can be installed locally. I added a comment to let them know Azure CLI is not compatible with Python 3.9. |
yungezz
left a comment
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.
hi @fengzhou-msft could you pls help to follow up how to get change nofitication on homebrew, we met surprise twice in past releases. It will be helpful if we could get earlier notification.
The change is made through PRs as an open source project. They don't have CODEOWNERS in their repository, which is an ideal way to get notified for PRs. |
:( let me comment at the our previous PR to feedback about this. |
Description
Homebrew/homebrew-core#62253 migrated to Python 3.9 for Azure CLI, but Azure CLI is not compatible with Python 3.9 yet. ADO has not supported Python 3.9 either and it caused failures when testing homebrew formula, which blocked the release of our packages.
This PR updates the homebrew template to sync the changes with Homebrew master branch except that Python is still 3.8 and build the homebrew formula from the template.
Testing Guide
Tested the changes in
build_testbranch: https://dev.azure.com/azure-sdk/public/_build/results?buildId=570383&view=resultsHistory Notes
[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.
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.