okigan/awscurl

cryptography-40.0.2 breaks aws cli

bpauwels opened this issue · 2 comments

Tested on Amazon Linux 2023

Installing awscurl replaces the cryptography package with version 40.0.2 which is not compatible with aws cli

$ aws --version
aws-cli/2.9.19 Python/3.9.16 Linux/6.1.27-43.48.amzn2023.aarch64 source/aarch64.amzn.2023 prompt/off

$ sudo pip3 install awscurl
...
Installing collected packages: cryptography, pyOpenSSL, certifi, configparser, configargparse, awscurl
  Attempting uninstall: cryptography
    Found existing installation: cryptography 36.0.1
    Uninstalling cryptography-36.0.1:
      Successfully uninstalled cryptography-36.0.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
awscli 2.9.19 requires cryptography<=38.0.5,>=3.3.2, but you have cryptography 40.0.2 which is incompatible.
Successfully installed awscurl-0.29 certifi-2023.5.7 configargparse-1.5.3 configparser-5.3.0 cryptography-40.0.2 pyOpenSSL-23.1.1

$ aws --version

No module named 'cryptography'

So I think it is related to the issue already addressed in this PR: #145.

I've been reluctant to merge it before, but I think the ecosystem has changed enough that it makes sense to merge that.

#145 was merged -- closing this issue.