Open jashby44 opened 3 years ago
I previously enabled auto upgrade. For now I've disabled it again with the following so I can run az
commands without being prompted to upgrade:
az config set auto-upgrade.enable=no
@jiasli for awareness
On a first glance, this is because 2.27.1
is available on GitHub:
but not available on Homebrew yet because the PR has not been merged:
Then a loop happens:
az upgrade
finds from GitHub that there is a new version 2.27.1
, but it can only upgrade to 2.27.0
az upgrade
is about to finish, the auto-upgrade kicks inaz upgrade
is called by az upgrade
: https://github.com/Azure/azure-cli/blob/a12f5762e02d6d41927280557046eb76241194f2/src/azure-cli/azure/cli/__main__.py#L92 -> An infinite loop ⚠We have released 2.27.1 and this issue should be fixed. (Still, we need to solve the endless loop issue.)
Describe the bug
Command Name
az upgrade
Errors:
Upgrade says it will update to
2.27.1
, but keeps looping and never completes:To Reproduce:
Run an upgrade from MacOS terminal:
Expected Behavior
Environment Summary
Brew version:
Additional Context
Here is some debug output:
Perhaps a Homebrew issue, but I'm not super familiar with troubleshooting brew, so if anything I can look into please let me know. Thanks