Skip to content

Commit 760947c

Browse files
authored
azure-cli: 2.65.0 -> 2.66.0 (#355163)
2 parents 2c8cc44 + 9d9f820 commit 760947c

File tree

7 files changed

+136
-53
lines changed

7 files changed

+136
-53
lines changed

pkgs/by-name/az/azure-cli/extensions-generated.json

Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
},
5151
"aks-preview": {
5252
"pname": "aks-preview",
53-
"version": "9.0.0b8",
54-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-9.0.0b8-py2.py3-none-any.whl",
55-
"hash": "sha256-CYRK4Cug1Y+TaK43OPPUMR9cpyHtzBz3CIb8+KgMv7g=",
53+
"version": "13.0.0b1",
54+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-13.0.0b1-py2.py3-none-any.whl",
55+
"hash": "sha256-V9Ll880ec95QKoV6E5P6TQAVpsrJVaKZFkZ749+5Uss=",
5656
"description": "Provides a preview for upcoming AKS features"
5757
},
5858
"akshybrid": {
@@ -78,9 +78,9 @@
7878
},
7979
"amg": {
8080
"pname": "amg",
81-
"version": "2.5.0",
82-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/amg-2.5.0-py3-none-any.whl",
83-
"hash": "sha256-yQAtjGU/VqixCGvzPpGPO6bzJ8yEAGvnWUB4QhiH9B0=",
81+
"version": "2.5.2",
82+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/amg-2.5.2-py3-none-any.whl",
83+
"hash": "sha256-T/8/ziRGiD+1MDdpUzBiHz+q4Q7/i2AG+x/6M64SxU4=",
8484
"description": "Microsoft Azure Command-Line Tools Azure Managed Grafana Extension"
8585
},
8686
"amlfs": {
@@ -141,9 +141,9 @@
141141
},
142142
"azure-firewall": {
143143
"pname": "azure-firewall",
144-
"version": "1.2.0",
145-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/azure_firewall-1.2.0-py2.py3-none-any.whl",
146-
"hash": "sha256-VGjMCbjqeRgXa16Vqjwkx62bfRtoxH0Wv1IqBT/YEeg=",
144+
"version": "1.2.1",
145+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/azure_firewall-1.2.1-py2.py3-none-any.whl",
146+
"hash": "sha256-xvttNUPeleAxiLuGuqCNI6eI+xIxpW7aJ92yVYsl13c=",
147147
"description": "Manage Azure Firewall resources"
148148
},
149149
"azurelargeinstance": {
@@ -202,13 +202,6 @@
202202
"hash": "sha256-nqYWLTf8M5C+Tc5kywXFxYgHAQTz6SpwGrR1RzVlqKk=",
203203
"description": "Translate ARM template to executable Azure CLI scripts"
204204
},
205-
"compute-diagnostic-rp": {
206-
"pname": "compute-diagnostic-rp",
207-
"version": "1.0.0b1",
208-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/compute_diagnostic_rp-1.0.0b1-py3-none-any.whl",
209-
"hash": "sha256-gQ6TzgDH0D322poPr1e5ZvttpYIxH5yudLK34ePEFCM=",
210-
"description": "Microsoft Azure Command-Line Tools ComputeDiagnosticRp Extension"
211-
},
212205
"confidentialledger": {
213206
"pname": "confidentialledger",
214207
"version": "1.0.0",
@@ -309,9 +302,9 @@
309302
},
310303
"dataprotection": {
311304
"pname": "dataprotection",
312-
"version": "1.5.4",
313-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/dataprotection-1.5.4-py3-none-any.whl",
314-
"hash": "sha256-vAyVrv0dte1KioEwriEF8oNqrEwN3WSKDC/hyTudQtg=",
305+
"version": "1.5.5",
306+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/dataprotection-1.5.5-py3-none-any.whl",
307+
"hash": "sha256-DsYp2y2HQd+PVNJVuyJepEHgBuGGc8Cg5GEwZWJVcPk=",
315308
"description": "Microsoft Azure Command-Line Tools DataProtectionClient Extension"
316309
},
317310
"datashare": {
@@ -547,9 +540,9 @@
547540
},
548541
"image-copy-extension": {
549542
"pname": "image-copy-extension",
550-
"version": "0.2.13",
551-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/image_copy_extension-0.2.13-py2.py3-none-any.whl",
552-
"hash": "sha256-sNEr88dFAHkNWNmabDJWJUhxLLhyt5QuitSB4nBSGxk=",
543+
"version": "1.0.0",
544+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/image_copy_extension-1.0.0-py2.py3-none-any.whl",
545+
"hash": "sha256-4RO7FHmyQdJd0GY0OqdF9wxYFq5U4sAXYczPFgOUX9g=",
553546
"description": "Support for copying managed vm images between regions"
554547
},
555548
"image-gallery": {
@@ -722,9 +715,9 @@
722715
},
723716
"multicloud-connector": {
724717
"pname": "multicloud-connector",
725-
"version": "1.0.0",
726-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/multicloud_connector-1.0.0-py3-none-any.whl",
727-
"hash": "sha256-8Gb946+K7DwMm5s5GROUciYRkvYvxgB7rB5Y3MRn5t8=",
718+
"version": "1.0.1",
719+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/multicloud_connector-1.0.1-py3-none-any.whl",
720+
"hash": "sha256-q5tuqnN94FS1opr9oLx2LHFYuFX6PTDaBmuvrByXTsI=",
728721
"description": "Microsoft Azure Command-Line Tools MulticloudConnector Extension"
729722
},
730723
"neon": {
@@ -743,9 +736,9 @@
743736
},
744737
"networkcloud": {
745738
"pname": "networkcloud",
746-
"version": "2.0.0b5",
747-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/networkcloud-2.0.0b5-py3-none-any.whl",
748-
"hash": "sha256-rHLPxU7TWDTKbNXHJ6D91x5JQ7zWbmXND/YH6K5JXHo=",
739+
"version": "2.0.0b6",
740+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/networkcloud-2.0.0b6-py3-none-any.whl",
741+
"hash": "sha256-1T+IepVTU7DLHQ7CfcEltQG+/lryktzUFB7RY9O9hzM=",
749742
"description": "Support for Azure Operator Nexus network cloud commands based on 2024-07-01 API version"
750743
},
751744
"new-relic": {
@@ -1065,16 +1058,16 @@
10651058
},
10661059
"virtual-network-manager": {
10671060
"pname": "virtual-network-manager",
1068-
"version": "1.3.0",
1069-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_network_manager-1.3.0-py3-none-any.whl",
1070-
"hash": "sha256-8W+ZL5j9A8AdzvikD5uE3iNn/56IULSGY6m7HLVbe9Q=",
1061+
"version": "1.3.1",
1062+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_network_manager-1.3.1-py3-none-any.whl",
1063+
"hash": "sha256-y5VTXAV6YZk4S8nlwwqZQtvFic8M6tsqYtJqp/cNTh0=",
10711064
"description": "Microsoft Azure Command-Line Tools NetworkManagementClient Extension"
10721065
},
10731066
"virtual-network-tap": {
10741067
"pname": "virtual-network-tap",
1075-
"version": "1.0.0b1",
1076-
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_network_tap-1.0.0b1-py2.py3-none-any.whl",
1077-
"hash": "sha256-7l9tz8CfwJ4MO704a007xswfij3ejtVQgE9D7Uw8t7o=",
1068+
"version": "1.0.0b2",
1069+
"url": "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_network_tap-1.0.0b2-py2.py3-none-any.whl",
1070+
"hash": "sha256-h5yPHrfrkt4+ZzlH/gvGJuK23y7oF1yW/zYmxDW4Gx4=",
10781071
"description": "Manage virtual network taps (VTAP)"
10791072
},
10801073
"virtual-wan": {

pkgs/by-name/az/azure-cli/extensions-manual.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,6 @@
148148
# Removed extensions
149149
adp = throw "The 'adp' extension for azure-cli was deprecated upstream"; # Added 2024-11-02, https://github.com/Azure/azure-cli-extensions/pull/8038
150150
blockchain = throw "The 'blockchain' extension for azure-cli was deprecated upstream"; # Added 2024-04-26, https://github.com/Azure/azure-cli-extensions/pull/7370
151+
compute-diagnostic-rp = throw "The 'compute-diagnostic-rp' extension for azure-cli was deprecated upstream"; # Added 2024-11-12, https://github.com/Azure/azure-cli-extensions/pull/8240
151152
connection-monitor-preview = throw "The 'connection-monitor-preview' extension for azure-cli was deprecated upstream"; # Added 2024-11-02, https://github.com/Azure/azure-cli-extensions/pull/8194
152153
}

pkgs/by-name/az/azure-cli/package.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
runCommand,
99
installShellFiles,
1010
python3,
11-
writeScriptBin,
11+
writeShellScriptBin,
1212

1313
black,
1414
isort,
@@ -26,14 +26,14 @@
2626
}:
2727

2828
let
29-
version = "2.65.0";
29+
version = "2.66.0";
3030

3131
src = fetchFromGitHub {
3232
name = "azure-cli-${version}-src";
3333
owner = "Azure";
3434
repo = "azure-cli";
3535
rev = "azure-cli-${version}";
36-
hash = "sha256-IeiAB0AI6KNpXwx2Iv55LBARcwemakbblFlbfLheuGE=";
36+
hash = "sha256-iWDKvtEvH6ZwK+5Zp9P2fgXP+4f4kXH+xXfBkYmsPl0=";
3737
};
3838

3939
# put packages that needs to be overridden in the py package scope
@@ -169,8 +169,10 @@ py.pkgs.toPythonApplication (
169169
azure-mgmt-media
170170
azure-mgmt-monitor
171171
azure-mgmt-msi
172+
azure-mgmt-mysqlflexibleservers
172173
azure-mgmt-netapp
173174
azure-mgmt-policyinsights
175+
azure-mgmt-postgresqlflexibleservers
174176
azure-mgmt-privatedns
175177
azure-mgmt-rdbms
176178
azure-mgmt-recoveryservicesbackup
@@ -385,7 +387,7 @@ py.pkgs.toPythonApplication (
385387
inherit (azure-cli) extensions-tool;
386388
};
387389

388-
generate-extensions = writeScriptBin "${pname}-update-extensions" ''
390+
generate-extensions = writeShellScriptBin "${pname}-update-extensions" ''
389391
${lib.getExe azure-cli.extensions-tool} --cli-version ${azure-cli.version} --commit
390392
'';
391393

pkgs/by-name/az/azure-cli/python-packages.nix

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ let
8282
--ignore=azure/cli/core/tests/test_generic_update.py \
8383
--ignore=azure/cli/core/tests/test_cloud.py \
8484
--ignore=azure/cli/core/tests/test_extension.py \
85+
--ignore=azure/cli/core/tests/test_util.py \
8586
-k 'not metadata_url and not test_send_raw_requests and not test_format_styled_text_legacy_powershell'
8687
'';
8788

@@ -136,11 +137,6 @@ let
136137
overrideAzureMgmtPackage super.azure-mgmt-cdn "12.0.0" "zip"
137138
"sha256-t8PuIYkjS0r1Gs4pJJJ8X9cz8950imQtbVBABnyMnd0=";
138139

139-
# ImportError: cannot import name 'SqlDedicatedGatewayServiceResourceCreateUpdateProperties' from 'azure.mgmt.cosmosdb.models'
140-
azure-mgmt-cosmosdb =
141-
overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "9.5.1" "tar.gz"
142-
"sha256-TlXTlz8RzwLPeoBVruhmFSM9fL47siegfBdrrIvH7wI=";
143-
144140
# ValueError: The operation 'azure.mgmt.devtestlabs.operations#VirtualMachinesOperations.delete' is invalid.
145141
azure-mgmt-devtestlabs =
146142
overrideAzureMgmtPackage super.azure-mgmt-devtestlabs "4.0.0" "zip"
@@ -175,18 +171,13 @@ let
175171

176172
# AttributeError: module 'azure.mgmt.rdbms.postgresql_flexibleservers.operations' has no attribute 'BackupsOperations'
177173
azure-mgmt-rdbms =
178-
overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b16" "tar.gz"
179-
"sha256-HDktzv8MOs5VRQArbS3waMhjbwVgZMmvch7PXen5DjE=";
180-
181-
# ModuleNotFoundError: No module named 'azure.mgmt.resource.deploymentstacks'
182-
azure-mgmt-resource =
183-
overrideAzureMgmtPackage super.azure-mgmt-resource "23.1.1" "tar.gz"
184-
"sha256-ILawBrVE/bGWB/P2o4EQViXgu2D78wNvOYhcRkbTND4=";
174+
overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b17" "tar.gz"
175+
"sha256-1nnRkyr4Im79B7DDqGz/FOrPAToFaGhE+a7r5bZMuOQ=";
185176

186-
# ImportError: cannot import name 'Replica' from 'azure.mgmt.signalr.models'
177+
# ImportError: cannot import name 'IPRule' from 'azure.mgmt.signalr.models'
187178
azure-mgmt-signalr =
188-
overrideAzureMgmtPackage super.azure-mgmt-signalr "2.0.0b1" "tar.gz"
189-
"sha256-oK2ceBEoQ7gAeG6mye+x8HPzQU9bUNRPVJtRW2GL4xg=";
179+
overrideAzureMgmtPackage super.azure-mgmt-signalr "2.0.0b2" "tar.gz"
180+
"sha256-05PUV8ouAKq/xhGxVEWIzDop0a7WDTV5mGVSC4sv9P4=";
190181

191182
# ImportError: cannot import name 'AdvancedThreatProtectionName' from 'azure.mgmt.sql.models'
192183
azure-mgmt-sql =
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
setuptools,
6+
wheel,
7+
azure-common,
8+
azure-mgmt-core,
9+
isodate,
10+
typing-extensions,
11+
}:
12+
13+
buildPythonPackage rec {
14+
pname = "azure-mgmt-mysqlflexibleservers";
15+
version = "1.0.0b2";
16+
pyproject = true;
17+
18+
src = fetchPypi {
19+
pname = "azure_mgmt_mysqlflexibleservers";
20+
inherit version;
21+
hash = "sha256-pL3z3s/H7OYaPiGNGdUIzo3ppp6sR/G+6iDB219Mp9A=";
22+
};
23+
24+
build-system = [
25+
setuptools
26+
wheel
27+
];
28+
29+
dependencies = [
30+
azure-common
31+
azure-mgmt-core
32+
isodate
33+
typing-extensions
34+
];
35+
36+
pythonImportsCheck = [
37+
"azure.mgmt.mysqlflexibleservers"
38+
];
39+
40+
meta = {
41+
description = "Microsoft Azure Mysqlflexibleservers Management Client Library for Python";
42+
homepage = "https://pypi.org/project/azure-mgmt-mysqlflexibleservers/";
43+
license = lib.licenses.mit;
44+
maintainers = with lib.maintainers; [ ];
45+
};
46+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
setuptools,
6+
wheel,
7+
azure-common,
8+
azure-mgmt-core,
9+
isodate,
10+
typing-extensions,
11+
}:
12+
13+
buildPythonPackage rec {
14+
pname = "azure-mgmt-postgresqlflexibleservers";
15+
version = "1.0.0";
16+
pyproject = true;
17+
18+
src = fetchPypi {
19+
pname = "azure_mgmt_postgresqlflexibleservers";
20+
inherit version;
21+
hash = "sha256-5aSpnUCTol+L1w7XZp6d2QRN+LxGOpUUztiMQqkD55E=";
22+
};
23+
24+
build-system = [
25+
setuptools
26+
wheel
27+
];
28+
29+
dependencies = [
30+
azure-common
31+
azure-mgmt-core
32+
isodate
33+
typing-extensions
34+
];
35+
36+
pythonImportsCheck = [
37+
"azure.mgmt.postgresqlflexibleservers"
38+
];
39+
40+
meta = {
41+
description = "Microsoft Azure Postgresqlflexibleservers Management Client Library for Python";
42+
homepage = "https://pypi.org/project/azure-mgmt-postgresqlflexibleservers/";
43+
license = lib.licenses.mit;
44+
maintainers = with lib.maintainers; [ ];
45+
};
46+
}

pkgs/top-level/python-packages.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,6 +1279,8 @@ self: super: with self; {
12791279

12801280
azure-mgmt-msi = callPackage ../development/python-modules/azure-mgmt-msi { };
12811281

1282+
azure-mgmt-mysqlflexibleservers = callPackage ../development/python-modules/azure-mgmt-mysqlflexibleservers { };
1283+
12821284
azure-mgmt-netapp = callPackage ../development/python-modules/azure-mgmt-netapp { };
12831285

12841286
azure-mgmt-network = callPackage ../development/python-modules/azure-mgmt-network { };
@@ -1289,6 +1291,8 @@ self: super: with self; {
12891291

12901292
azure-mgmt-policyinsights = callPackage ../development/python-modules/azure-mgmt-policyinsights { };
12911293

1294+
azure-mgmt-postgresqlflexibleservers = callPackage ../development/python-modules/azure-mgmt-postgresqlflexibleservers { };
1295+
12921296
azure-mgmt-powerbiembedded = callPackage ../development/python-modules/azure-mgmt-powerbiembedded { };
12931297

12941298
azure-mgmt-privatedns = callPackage ../development/python-modules/azure-mgmt-privatedns { };

0 commit comments

Comments
 (0)