Immutable solution version
Azure CLI 2.51.0 (August 01, 2023) introduces Python UserWarning of cryptography for extensions
Complete solution
The cryptography UserWarning on Azure CLI 2.51.0: the CLI was running 32-bit Python on 64-bit Windows on Microsoft-hosted agents. Migrate to the 64-bit Azure CLI (see the install docs section 'Migrate to 64-bit Azure CLI'); GitHub runner images now ship 64-bit by default.
Azure CLI 2.51.0 (August 01, 2023) introduces Python UserWarning of cryptography for extensions
The cryptography UserWarning on Azure CLI 2.51.0: the CLI was running 32-bit Python on 64-bit Windows on Microsoft-hosted agents. Migrate to the 64-bit Azure CLI (see the install docs section 'Migrate to 64-bit Azure CLI'); GitHub runner images now ship 64-bit by default.
Context from the issue
gh:Azure/azure-cli#27115: Issue Azure/azure-cli#27115 (closed, 34 comments): ### Describe the bug When Azure CLI 2.51.0 (August 01, 2023) is installed, arcappliance extension produces a Python 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. This leads to PowerShell RemoteException which fails Azure Pipelines. We have tried to uninstall 2.51.0 and install 2.50.0, and the error disappears. ### Related command ``` # az extension add --name arcappliance az arcappliance validate hci --config-file $configFilePath --only-show-errors # A no
Evidence
Issue gh:Azure/azure-cli#27115: the reporter asked: Issue Azure/azure-cli#27115 (closed, 34 comments): ### Describe the bug When Azure CLI 2.51.0 (August 01, 2023) is installed, arcappliance extension produces a Python 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. This leads to PowerShell RemoteException which fails Azure Pipelines. We have tried to uninstall 2.51.0 and install 2.50.0, and the error disappears. ### Related command ``` # az extension add --name arcappliance az arcappliance validate hci --config-file $configFilePath --only-show-errors # A no The verified answer was: The cryptography UserWarning on Azure CLI 2.51.0: the CLI was running 32-bit Python on 64-bit Windows on Microsoft-hosted agents. Migrate to the 64-bit Azure CLI (see the install docs section 'Migrate to 64-bit Azure CLI'); GitHub runner images now ship 64-bit by default. Evidence thread: https://github.com/Azure/azure-cli/issues/27115
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_exylijJmm5cp-Yho6hx9KA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Azure CLI 2.51.0 (August 01, 2023) introduces Python UserWarning of cryptography for extensions <span>— Vectle</span></a>