-
Notifications
You must be signed in to change notification settings - Fork 3.5k
ModuleNotFoundError warnings in az self-test --debug #27793
Copy link
Copy link
Closed
Labels
Auto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Auto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Describe the bug
Lots of
ModuleNotFoundError: No module named 'azure.mgmt.keyvault.v2023_02_01.azure'errors are raised when runningaz self-test. This occurs as early as 2.30.0In
azure-cli/src/azure-cli-core/azure/cli/core/__init__.py
Line 709 in 68990c9
if
doc_string_sourceisazure.mgmt.keyvault.v2023_02_01.models#VaultProperties, when it callsazure-cli/src/azure-cli-core/azure/cli/core/profiles/_shared.py
Lines 646 to 651 in 68990c9
the
full_mod_pathbecomeazure.mgmt.keyvault.v2023_02_01.azure.mgmt.keyvault.v2023_02_01.models, and it fails to import.