Azure / azure-cli

Azure Command-Line Interface
MIT License
3.99k stars 2.97k forks source link

`az webapp deployment slot list` in Edge build warns about cryptography of 32-bit python #25649

Open bb-froggy opened 1 year ago

bb-froggy commented 1 year ago

Related command az webapp deployment slot list

Describe the bug When running az webapp deployment slot list --name appservicename --resource-group resourcegroupname --query '[].name' with the current az Edge build, it prints out the following warning message: D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\OpenSSL/_util.py:6: UserWarning: You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using a 64-bit Python.

To Reproduce Install the latest Edge build of the Azure CLI and then run the command az webapp deployment slot list

Expected behavior Only messages related to the actual command like missing parameters are printed or if the parameters are there, the actual result.

Environment summary Windows 10, az edge build, cmd.exe

Additional context Nothing to add here ...

yonzhan commented 1 year ago

route to CXP team

bb-froggy commented 1 year ago

Still appears in the latest Edge release, while it does not appear in the regular azure cli 2.46 release.

TheOnlyWei commented 1 year ago

I have the same warning with "az account list-locations" command.