Describe the bug
The latest Python SDK generated by autorest.python depends on the helper function contained in azure-mgmt-core>=1.5.0. If the dependency is not updated, it will become an obstacle to updating the Python SDK in the future.
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-mgmt-core/CHANGELOG.md#150-2024-10-31
Related command
N/A
Errors
ImportError cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools'
Issue script & Debug output
ImportError cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools'
Expected behavior
no import error
Environment Summary
azure-cli 2.72.0
core 2.72.0
telemetry 1.1.0
Extensions:
aks-preview Unknown (dev) /Volumes/SN/Users/fuming/azure-cli-extensions/src/aks-preview
Dependencies:
msal 1.32.0
azure-mgmt-resource 23.1.1
Python location '/Volumes/SN/Users/fuming/aenv/bin/python'
Config directory '/Users/zhangfuming/.azure'
Extensions directory '/Users/zhangfuming/.azure/cliextensions'
Development extension sources:
/Volumes/SN/Users/fuming/azure-cli-extensions
Python (Darwin) 3.12.10 (main, Apr 8 2025, 11:35:47) [Clang 16.0.0 (clang-1600.0.26.6)]
Additional context
No response
Describe the bug
The latest Python SDK generated by
autorest.pythondepends on the helper function contained in azure-mgmt-core>=1.5.0. If the dependency is not updated, it will become an obstacle to updating the Python SDK in the future.https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-mgmt-core/CHANGELOG.md#150-2024-10-31
Related command
N/A
Errors
ImportError cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools'
Issue script & Debug output
ImportError cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools'
Expected behavior
no import error
Environment Summary
azure-cli 2.72.0
core 2.72.0
telemetry 1.1.0
Extensions:
aks-preview Unknown (dev) /Volumes/SN/Users/fuming/azure-cli-extensions/src/aks-preview
Dependencies:
msal 1.32.0
azure-mgmt-resource 23.1.1
Python location '/Volumes/SN/Users/fuming/aenv/bin/python'
Config directory '/Users/zhangfuming/.azure'
Extensions directory '/Users/zhangfuming/.azure/cliextensions'
Development extension sources:
/Volumes/SN/Users/fuming/azure-cli-extensions
Python (Darwin) 3.12.10 (main, Apr 8 2025, 11:35:47) [Clang 16.0.0 (clang-1600.0.26.6)]
Additional context
No response