deprecated() got an unexpected keyword argument 'name'
See original GitHub issueStarted getting this error today after release 22.1.0:
[...]
File "/usr/local/lib/python3.8/site-packages/OpenSSL/SSL.py", line 19, in <module>
from OpenSSL.crypto import (
File "/usr/local/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3224, in <module>
utils.deprecated(
TypeError: deprecated() got an unexpected keyword argument 'name'
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
TypeError: deprecated() got an unexpected keyword argument ...
Describe the bug Installed via brew install awscli, getting: aws Traceback (most recent call last): File "/opt/homebrew/bin/aws", line 19, ...
Read more >pip throws "TypeError: deprecated() " error - Stack Overflow
Something got broken down in OpenSSL and no command was working with pip afterwards. I was even unable uninstall pip .
Read more >#6477 (TypeError: __init__() got an unexpected keyword ...
This was an unexpected API change, as we usually don't use a named argument here (calling it like that WikiPage(env, name) ), but...
Read more >TypeError: uploadFile() got an unexpected keyword argument ...
Error message: TypeError: uploadFile() got an unexpected keyword argument ... module has been deprecated since Python 2.5 import StringIO, multifile, ...
Read more >attrs() got an unexpected keyword argument 'eq' scrapy
If this command gives errors such as TypeError: got 2 unexpected keyword arguments, this means that setuptools was unable to pick up one...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not sure how you installed pyOpenSSL, but 22.1.0 has a minimum requirement of cryptography 38.
My dependency chain is
snowflake-sqlalchemy->snowflake-connector-python->pyopenssl. It updated to 22.1.0 automatically, without changing criptography version… Will try to understand why, thanks!