{Packaging} Update homebrew formula_template for Python 3.9#18224
{Packaging} Update homebrew formula_template for Python 3.9#18224
Conversation
|
Packaging |
|
We are recently in the process of reorg and knowledge transition. We will review and test this PR as soon as we have bandwidth. |
I strongly agree with this! I am waiting since a while to have this PR merged, so I can use Azure CLI with Homebrew. I have an M1 machine, and only Python >= 3.9 runs natively. So, there's no way I'm going to install Python 3.8. Also, since Azure CLI got Python 3.9 support, I'm running it from a manual virtual environment, and I had no problems at all! But, I want to be able to cleanly use Azure CLI with Homebrew, without needing a separate virtual environment that I need to take care of. Please prioritize this! |
|
Tried changing to so that formula is built from local template: The CI shows no problem with Python 3.9. 🎉 |
|
Merging this PR so that Homebrew/homebrew-core#78022 can be merged. |
|
@bsiegel, @ionutbalutoiu, Thank you so much for your contribution! Truly glad we are in such an excellent community! |
Python 3.8 also runs natively on ARM when installed via Homebrew. That said, you need not wait for much longer. See Homebrew/homebrew-core#83088. |
Description
Python 3.9 support was landed in azure-cli 2.24.0. This PR updates the MacOS Homebrew formula template to bump the python dependency to 3.9.
Testing Guide
homebrew-core/Formuladirectory (or, make the same changes to the existing copy of the azure-cli.rb formula located in that directory)brew uninstall --force azure-clibrew install --build-from-source azure-clibrew test azure-clibrew audit --strict azure-clibrew style azure-cliHistory Notes
{Packaging}: Update homebrew formula_template for Python 3.9
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.