-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
TypeError: deprecated() got an unexpected keyword argument 'name' #7325
Comments
|
Hi @richstokes thanks for reporting this. It's something that the team will need to look further into. In the meantime uninstalling pyOpenSSL fixes the issue as you mentioned or you could downgrade pyOpenSSL to 22.0.0 as referenced in a comment from the issue you linked. If anyone else is affected by this please 👍 this issue and leave a comment if you had any additional info to share. |
pyca/pyopenssl#1154 (comment) explains why this is happening (to at least the subset of users who are installing awscli via Additionally, as a |
Hi @reaperhulk thanks for checking in here. Brew installation isn't officially supported per the AWS CLI documentation but the team can look into increasing the ceiling for the cryptography package as you suggested. (We also have a tracking issue open for updating the version ranges of several dependencies which I'll link here: #5943.) A more long-term fix would likely require involvement on brew's side and updating how the packaging is done. And the brew team would need to update their pin on cryptography as well once the ceiling is updated for the CLI. Also the CLI/botocore don't use pyOpenSSL but this comment provides more context on the relationship between pyOpenSSL and urllib3: boto/botocore#2744 (comment) |
Update: #7329 was just merged to increase the version range for cryptography. This should unblock the homebrew team once it is released tomorrow to raise their pin as well |
Since uninstalling pyOpenSSL resolves the original issue reported I'm going to close this. |
|
I opened a new issue regarding this problem, I can't solve with the solutions provided here. |
But when I use the command "pip3 uninstall pyOpenSSL",it still throws the error "TypeError: deprecated() got an unexpected keyword argument 'name'".And even I execute "pip -V",it throws the error too.It sounds sadly.I would try to uninstall python3.8 which I am using and install python3.10. |
Just go to this path: |
@richstokes |
For Windows users: who are getting this error with Go to |
thx!!! it works~ |
Describe the bug
Installed via
brew install awscli
, getting:Expected Behavior
Not error
Current Behavior
see above
Reproduction Steps
see above
Possible Solution
No response
Additional Information/Context
CLI version used
2.7.31
Environment details (OS name and version, etc.)
MacOS 12.6, Apple Silicon
The text was updated successfully, but these errors were encountered: