deprecated() got an unexpected keyword argument 'name'

See original GitHub issue

Started 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:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
alexcommented, Sep 25, 2022

I’m not sure how you installed pyOpenSSL, but 22.1.0 has a minimum requirement of cryptography 38.

1reaction
yagodoreacommented, Sep 25, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found