-
Notifications
You must be signed in to change notification settings - Fork 116
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
SNOW-886899: Cannot create Sessions if env uses OpenSSL 3.0.10 or later #992
Comments
oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto
oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto
Hi, I am using Snowpark-Python for my application. Now I am not able to create the session. Would you happen to have any updates on this issue? Any quick fix from our end? |
@pinnaclepwr2 -- The core issue is that OpenSSL upgraded from 3.0.9 to 3.0.10, and the oscrypto module does not correctly parse the double-digit patch number. More info: wbond/oscrypto#75 A plausible workaround would be to explicitly set the OpenSSL version to 3.0.9 on your machine. |
@pinnaclepwr2 -- If you're using conda, you can set the OpenSSL version like this: https://github.com/Snowflake-Labs/snowpark-python-template/blob/main/environment.yml#L9 |
oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto
The fix PR in |
FYI: As of 2023/10/16 the new oscrypto version is not yet released on PyPI. On a side note I don't think you should rely on third-party dependencies that much, especially when they're so small. |
I am disappointed to see snowflake relying on an small OS project and OS developer so heavily without sponsoring that person or project. I wish snowflake supported the open source projects they build on top of. |
Please answer these questions before submitting your issue. Thanks!
3.8.17
What operating system and processor architecture are you using?
On
macOS-10.16-x86_64-i386-64bit
I get a warning:On Github Actions Linux runners I get an error:
What are the component versions in the environment (
pip freeze
)?What did you do?
Source code is in this PR: v1.2.0 update Snowflake-Labs/snowpark-python-template#7
I tried to run PyTest. This suite worked with version 1.4.0 of Snowpark Python
What did you expect to see?
What should have happened and what happened instead?
Can you set logging to DEBUG and collect the logs?
Logs are here: https://github.com/Snowflake-Labs/snowpark-python-template/actions/runs/5766183664/job/15633628936
The text was updated successfully, but these errors were encountered: