-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
When running the az devops service-endpoint azurerm create command. I see the following warning:
.azure\cliextensions\azure-devops\azext_devops\dev\__init__.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools
I just installed the azdo extension.
az extension add --name azure-devops
Related command
az devops service-endpoint azurerm create --name --azure-rm-subscription-id --azure-rm-subscription-name --azure-rm-tenant-id --azure-rm-service-principal-id
Errors
Warning: .azure\cliextensions\azure-devops\azext_devops\dev\__init__.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools
Issue script & Debug output
n/a
Expected behavior
No warning is present.
Environment Summary
azure-cli 2.74.0
core 2.74.0
telemetry 1.1.0
Extensions:
azure-devops 1.0.1
Dependencies:
msal 1.32.3
azure-mgmt-resource 23.3.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users[removed].azure'
Extensions directory 'C:\Users[removed].azure\cliextensions'
Python (Windows) 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response