azure-cli v2.69.0 does not work with a stable release of azure-batch #30814
Labels
Customer Usage
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
Milestone
Describe the bug
The latest release of azure-cli v2.69.0 depends on a pre-release version of azure-batch
azure-cli/src/azure-cli/setup.py
Line 55 in cf83ff0
The class signature has changed significantly from
BatchServiceClient
toBatchClient
Related command
Using the python SDK:
from azure.batch import BatchServiceClient
Errors
ImportError: cannot import name 'BatchServiceClient' from 'azure.batch'...
Issue script & Debug output
Expected behavior
No discrepancy between latest stable versions of azure-batch and azure-cli
Environment Summary
azure-cli: 2.69.0
azure-batch: 14.2.0
Python: 3.10.16
OS: Ubuntu-22.04
Additional context
Related issue: Azure/azure-sdk-for-python#39676
The text was updated successfully, but these errors were encountered: