Skip to content

Commit cb131ce

Browse files
azure-cli: fix by pinning azure-mgmt-compute (#398528)
2 parents bfc70ec + 9cbf6f3 commit cb131ce

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ let
154154
};
155155
});
156156

157+
# ModuleNotFoundError: No module named 'azure.mgmt.compute.v2024_07_01'
158+
azure-mgmt-compute =
159+
overrideAzureMgmtPackage super.azure-mgmt-compute "33.0.0" "tar.gz"
160+
"sha256-o8wP5PCcjh01I8G/uSYg3+JjoKiTsKwToz1wV+nd3dI=";
161+
157162
# ImportError: cannot import name 'ResourceSku' from 'azure.mgmt.eventgrid.models'
158163
azure-mgmt-eventgrid =
159164
overrideAzureMgmtPackage super.azure-mgmt-eventgrid "10.2.0b2" "zip"

pkgs/development/python-modules/pgcli/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
setuptools,
1919
sshtunnel,
2020
mock,
21+
tzlocal,
2122
}:
2223

2324
# this is a pythonPackage because of the ipython line magics in pgcli.magic
@@ -47,6 +48,7 @@ buildPythonPackage rec {
4748
keyring
4849
pendulum
4950
sshtunnel
51+
tzlocal
5052
];
5153

5254
nativeCheckInputs = [

0 commit comments

Comments
 (0)