{Packaging} Bump cryptography to 41.0.1 and pyOpenSSL to 23.2.0 on Linux and MacOS#26671
{Packaging} Bump cryptography to 41.0.1 and pyOpenSSL to 23.2.0 on Linux and MacOS#26671
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Discussion: Should we silence the warning raised by I did consider disabling the warning by calling import platform
if platform.system() == 'Windows' and platform.architecture()[0].startswith('32'):
import warnings
warnings.simplefilter("ignore", category=UserWarning)
import cryptography.hazmat.bindings.openssl.bindingbut I think it is good to keep that warning to encourage people to upgrade to 64-bit Azure CLI once #26640 has been released. Additional information |
| pushd %~dp0..\.. | ||
|
|
||
| Rem Upgrade pip to the latest version | ||
| python -m pip install --upgrade pip |
There was a problem hiding this comment.
Upgrading pip makes VerifyWindowsRequirements, VerifyLinuxRequirements and VerifyDarwinRequirements have the same logic as other package building jobs, such as BuildDebPackages.
It can utilize the latest pip's error message to better find dependency resolution failures.
|
We have decided to keep the warning, as it is printed to please set Update: We finally decided to postpone the version bump on Windows until Windows 64-bit MSI has been released (#26640). |
482f3a4
Description
Rework of #26596
As explained in #26596 (comment), only bumping
cryptographyis not enough.pyOpenSSLshould be bumped at the same time.Close #25913