Skip to content
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

deprecated() got an unexpected keyword argument 'name' #1151

Closed
yagodorea opened this issue Sep 25, 2022 · 5 comments
Closed

deprecated() got an unexpected keyword argument 'name' #1151

yagodorea opened this issue Sep 25, 2022 · 5 comments

Comments

@yagodorea
Copy link

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
Copy link
Member

alex commented Sep 25, 2022

What version of cryptography do you have installed?

@yagodorea
Copy link
Author

yagodorea commented Sep 25, 2022

What version of cryptography do you have installed?

36.0.2

@alex
Copy link
Member

alex commented Sep 25, 2022

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

@yagodorea
Copy link
Author

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
Copy link

aisk commented Sep 26, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants