-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure CLI version 2.65.0 has deprecated modules #30147
Comments
Thank you for opening this issue, we will look into it. |
Here are some similar issues that might help you. Please check if they can solve your problem. |
Thank you for the suggestion. However, the proposed solution involves downgrading to version 2.64.0, which isn't ideal for our needs. We're looking for a proper fix rather than reverting to an older CLI version. |
From my perspective, it could be caused by: #30148 |
try to update azure-cli via homebrew: it should fix also this kind of issue. |
I still get this issue even though I have the latest Azure CLI version:
You can replace the ... with your real IDs for a real example but the above still illustrates the issue |
Describe the bug
Hi! After upgrading homebrew packages on my macOS, the Azure-CLI version got updated as well. The new version shows always following errors:
/usr/local/Cellar/azure-cli/2.65.0_1/libexec/lib/python3.12/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, /usr/local/Cellar/azure-cli/2.65.0_1/libexec/lib/python3.12/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES,
My work colleagues have the same issue as well.
Can somebody fix that please?
Related command
All commands are affected! Here is an example:
az staticwebapp hostname delete --name my-static-web-app --hostname example.com --resource-group MY-RESOURCE-GROUP
Errors
/usr/local/Cellar/azure-cli/2.65.0_1/libexec/lib/python3.12/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"cipher": algorithms.TripleDES,
/usr/local/Cellar/azure-cli/2.65.0_1/libexec/lib/python3.12/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"class": algorithms.TripleDES,
Issue script & Debug output
/usr/local/Cellar/azure-cli/2.65.0_1/libexec/lib/python3.12/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"cipher": algorithms.TripleDES,
/usr/local/Cellar/azure-cli/2.65.0_1/libexec/lib/python3.12/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"class": algorithms.TripleDES,
Expected behavior
Should work without logging erros!
Environment Summary
azure-cli 2.65.0
core 2.65.0
telemetry 1.1.0
Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1
Python location '/usr/local/Cellar/azure-cli/2.65.0_1/libexec/bin/python'
Extensions directory '/Users/h44mkk/.azure/cliextensions'
Python (Darwin) 3.12.7 (main, Oct 1 2024, 02:05:46) [Clang 15.0.0 (clang-1500.3.9.4)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
Nothing to add.
The text was updated successfully, but these errors were encountered: