Skip to content
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

Azure CLI 2.51.0 #138158

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 30 additions & 52 deletions Formula/azure-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,11 @@ class AzureCli < Formula

desc "Microsoft Azure CLI 2.0"
homepage "https://docs.microsoft.com/cli/azure/overview"
url "https://github.com/Azure/azure-cli/archive/azure-cli-2.51.0.tar.gz"
sha256 "56ce3d1d046360f0f17fd063e785a38fd70d20f7d5c58d7ad39800fc38deb2f5"
license "MIT"
revision 1
head "https://github.com/Azure/azure-cli.git", branch: "dev"

stable do
url "https://github.com/Azure/azure-cli/archive/azure-cli-2.50.0.tar.gz"
sha256 "eca7d1a6ecfb45b24b5499db141617258b79b8c01db7be6b75c9f1e225ad3623"

# patch to build with pyyaml6, remove in next release
patch :DATA
end

livecheck do
url :stable
regex(/azure-cli[._-]v?(\d+(?:\.\d+)+)/i)
Expand Down Expand Up @@ -84,8 +77,8 @@ class AzureCli < Formula
end

resource "azure-batch" do
url "https://files.pythonhosted.org/packages/b9/2b/28153115f287a7d8f5964223744a466eaf3f78adcac070cb8113ce65aa0e/azure-batch-13.0.0.zip"
sha256 "e9295de70404d276eda0dd2253d76397439abe5d8f18c1fca199c49b8d6ae30a"
url "https://files.pythonhosted.org/packages/2a/30/ff110d2e3fd960fe29986c080bed49741f4f9549e5f28810c3c0d32a5a66/azure-batch-14.0.0.zip"
sha256 "165b1e99b86f821024c4fae85fb34869d407aa0ebb0ca4b96fb26d859c26c934"
end

resource "azure-common" do
Expand Down Expand Up @@ -204,13 +197,13 @@ class AzureCli < Formula
end

resource "azure-mgmt-cognitiveservices" do
url "https://files.pythonhosted.org/packages/ae/06/4c72a2996870dae1a3ddee84e390d9f3a098e0d784f17bd41914a4e4742e/azure-mgmt-cognitiveservices-13.3.0.zip"
sha256 "bf5a5334f1f4ba3466e1532df79530e9dd3b945f1b80cdd721adcd2486cd2c52"
url "https://files.pythonhosted.org/packages/f7/86/8f31cf3709ad612f5e0f17810d97124193468eb5f1e3b36d37227715a2df/azure-mgmt-cognitiveservices-13.5.0.zip"
sha256 "44af0b19b1f827e9cdea09c6054c1e66092a51c32bc1ef5a56dbd9b40bc57815"
end

resource "azure-mgmt-compute" do
url "https://files.pythonhosted.org/packages/cd/f2/69cdd710bd8171fb2a0b30749811eeb311f703e9af40d21fc91b13ec3d2a/azure-mgmt-compute-29.1.0.zip"
sha256 "2d5a1bae7f5d307ca1e850d7e83fed9c839d4f635b10a4b8d3f8bc6098ac2888"
url "https://files.pythonhosted.org/packages/d8/3f/651b3ddfe3849bbdc247ea4a75a506137d1ecdfb460b70dfff81c42e5bb0/azure-mgmt-compute-30.0.0.zip"
sha256 "7320fbafc392770b03ed02b68760185e6094552ed98d7fd5ea77210a5a513c78"
end

resource "azure-mgmt-consumption" do
Expand All @@ -229,8 +222,8 @@ class AzureCli < Formula
end

resource "azure-mgmt-containerservice" do
url "https://files.pythonhosted.org/packages/e6/2c/e0bd81c6144063d3c6c46b55afd4a245e298739e1c0cf92234c413618c1b/azure-mgmt-containerservice-24.0.0.zip"
sha256 "b14a772c356c7350e655fe0775a5c6483784be6004db07921c74f12ff070464f"
url "https://files.pythonhosted.org/packages/15/c7/a82f85edbe3429f2868397c5a752b35bf967233b8c589f2e8f7df3dbfb74/azure-mgmt-containerservice-25.0.0.zip"
sha256 "8deecef766e496c6c895fb13505d935d4ab3b406719fc7a9e1ecc250778bba11"
end

resource "azure-mgmt-core" do
Expand Down Expand Up @@ -379,8 +372,8 @@ class AzureCli < Formula
end

resource "azure-mgmt-policyinsights" do
url "https://files.pythonhosted.org/packages/15/08/572e5907cececdf3976493f55d1970e0492fdaad85678a8058035a26ed8b/azure-mgmt-policyinsights-1.1.0b2.zip"
sha256 "7be23931d6db5fb5a1c470a3d44af2df3d9652b26da56183d5b84b6ea45e6f9f"
url "https://files.pythonhosted.org/packages/d8/ec/4af9af212e5680831208e12874dd064dfdd5a0876af0edfe15be79c04f0e/azure-mgmt-policyinsights-1.1.0b4.zip"
sha256 "681d7ac72ae13581c97a2b6f742795fa48a4db50762c2fb9fce4834081b04e92"
end

resource "azure-mgmt-privatedns" do
Expand Down Expand Up @@ -429,8 +422,8 @@ class AzureCli < Formula
end

resource "azure-mgmt-security" do
url "https://files.pythonhosted.org/packages/a5/e7/5242104430b1b8337e7c2e91a09981985c4eab6dca663ddaafd6118a0a16/azure-mgmt-security-3.0.0.zip"
sha256 "bcba7cef857f6b02a2d98afeb07f9871b1628fa33d8861ab1387e732e7db3f84"
url "https://files.pythonhosted.org/packages/ee/ba/a3ac088d30e0179df32e0a4981e670e96138b6141d4be821ccfd9ea5951b/azure-mgmt-security-5.0.0.zip"
sha256 "38b03efe82c2344cea203fda95e6d00b7ac22782fa1c0b585cd0ea2c8ff3e702"
end

resource "azure-mgmt-servicebus" do
Expand Down Expand Up @@ -529,13 +522,13 @@ class AzureCli < Formula
end

resource "certifi" do
url "https://files.pythonhosted.org/packages/37/f7/2b1b0ec44fdc30a3d31dfebe52226be9ddc40cd6c0f34ffc8923ba423b69/certifi-2022.12.7.tar.gz"
sha256 "35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3"
url "https://files.pythonhosted.org/packages/98/98/c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa/certifi-2023.7.22.tar.gz"
sha256 "539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"
end

resource "cffi" do
url "https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a/cffi-1.15.0.tar.gz"
sha256 "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954"
url "https://files.pythonhosted.org/packages/2b/a8/050ab4f0c3d4c1b8aaa805f70e26e84d0e27004907c5b8ecc1d31815f92a/cffi-1.15.1.tar.gz"
sha256 "d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9"
end

resource "chardet" do
Expand All @@ -544,8 +537,8 @@ class AzureCli < Formula
end

resource "charset-normalizer" do
url "https://files.pythonhosted.org/packages/ff/d7/8d757f8bd45be079d76309248845a04f09619a7b17d6dfc8c9ff6433cac2/charset-normalizer-3.1.0.tar.gz"
sha256 "34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5"
url "https://files.pythonhosted.org/packages/2a/53/cf0a48de1bdcf6ff6e1c9a023f5f523dfe303e4024f216feac64b6eb7f67/charset-normalizer-3.2.0.tar.gz"
sha256 "3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace"
end

resource "colorama" do
Expand All @@ -554,8 +547,8 @@ class AzureCli < Formula
end

resource "cryptography" do
url "https://files.pythonhosted.org/packages/19/8c/47f061de65d1571210dc46436c14a0a4c260fd0f3eaf61ce9b9d445ce12f/cryptography-41.0.1.tar.gz"
sha256 "d34579085401d3f49762d2f7d6634d6b6c2ae1242202e860f4d26b046e3a1006"
url "https://files.pythonhosted.org/packages/93/b7/b6b3420a2f027c1067f712eb3aea8653f8ca7490f183f9917879c447139b/cryptography-41.0.2.tar.gz"
sha256 "7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c"
end

resource "distro" do
Expand Down Expand Up @@ -604,13 +597,13 @@ class AzureCli < Formula
end

resource "knack" do
url "https://files.pythonhosted.org/packages/2e/9c/b6fc4ca774d3730fd1c2c9fe516afc223562976a4bcf0cec6e9e4dbf38c5/knack-0.10.1.tar.gz"
sha256 "c5728128297e6d269791085cf96c2ffdfcef58cf83c634a5cb92eb03b2929838"
url "https://files.pythonhosted.org/packages/0c/5b/7cc69b2941a11bdace4faffef8f023543feefd14ab0222b6e62a318c53b9/knack-0.11.0.tar.gz"
sha256 "eb6568001e9110b1b320941431c51033d104cc98cda2254a5c2b09ba569fd494"
end

resource "msal" do
url "https://files.pythonhosted.org/packages/10/b1/a648bdd3116d0028685987fb4120a37bb91d268509e09dfbafd6ae8bed87/msal-1.22.0.tar.gz"
sha256 "8a82f5375642c1625c89058018430294c109440dce42ea667d466c2cab520acd"
url "https://files.pythonhosted.org/packages/21/a0/c6004afb301469ce4dc9a7381aada4b8ddeab3f0e9e59437ff96aac3428d/msal-1.24.0b1.tar.gz"
sha256 "cdee42a97fa6f171f83541022f64a0353f445d5e304bfd0380ee573031e8fd4a"
end

resource "msal-extensions" do
Expand Down Expand Up @@ -654,8 +647,8 @@ class AzureCli < Formula
end

resource "psutil" do
url "https://files.pythonhosted.org/packages/47/b6/ea8a7728f096a597f0032564e8013b705aa992a0990becd773dcc4d7b4a7/psutil-5.9.0.tar.gz"
sha256 "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25"
url "https://files.pythonhosted.org/packages/d6/0f/96b7309212a926c1448366e9ce69b081ea79d63265bde33f11cc9cfc2c07/psutil-5.9.5.tar.gz"
sha256 "5410638e4df39c54d957fc51ce03048acd8e6d60abc0f5107af51e5fb566eb3c"
end

resource "pycparser" do
Expand Down Expand Up @@ -729,8 +722,8 @@ class AzureCli < Formula
end

resource "typing-extensions" do
url "https://files.pythonhosted.org/packages/57/e3/b37a6b1ce6c1b2b75d05997ec24f73c794bc05a587e0f30a532d0ab13cb2/typing_extensions-4.7.0.tar.gz"
sha256 "935ccf31549830cda708b42289d44b6f74084d616a00be651601a4f968e77c82"
url "https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad/typing_extensions-4.7.1.tar.gz"
sha256 "b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"
end

resource "urllib3" do
Expand Down Expand Up @@ -791,18 +784,3 @@ def install
assert_equal azure_cloud["endpoints"]["resourceManager"], "https://management.azure.com/"
end
end

__END__
diff --git a/tools/setup.py b/tools/setup.py
index 2ff3976..356f5b8 100644
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -27,7 +27,7 @@ DEPENDENCIES = [
'nose>=1.3.7',
'readme_renderer>=17.2',
'requests',
- 'pyyaml~=5.2',
+ 'pyyaml',
'knack',
'tabulate>=0.7.7',
'colorama>=0.3.7'