Skip to content

AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' exception while deploying Dagster code #26173

Answered by gibsondan
gibsondan asked this question in Q&A
Discussion options

You must be logged in to vote

This is caused by an upstream issue in the snowflake-connector-python package: snowflakedb/snowflake-connector-python#2109 allowing versions of the PyOpenSSL package that aren't actually supported by the package.

To fix it, you can add the following to the Python environment your code is running in, usually by editing your setup.py or requirements.txt or pyproject.toml file:

pyOpenSSL>=22.1.0

A workaround will be included in the next released version of dagster-snowflake, planned for the first week of December 2024.

Replies: 1 comment

Comment options

gibsondan
Nov 27, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by gibsondan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant