pyca/pyopenssl

deprecated() got an unexpected keyword argument 'name'

Closed this issue · 5 comments

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'
alex commented

What version of cryptography do you have installed?

What version of cryptography do you have installed?

36.0.2

alex commented

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!

aisk commented

@yagodorea You can try to run pip check to see if there were some dependencies versions conflicts.